Skip to content

Commit

Permalink
🩹
Browse files Browse the repository at this point in the history
  • Loading branch information
lord-haffi committed Nov 14, 2023
1 parent 492497d commit cb04977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pvframework/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def get_csv_formatted_validator_infos(
csv_writer = csv.writer(output)
if headings is not None:
csv_writer.writerow(headings)
for mapped_validator in self.validators:
for mapped_validator, execution_info in self.validators.items():
formatted_doc_string = mapped_validator.validator.func.__doc__
if formatted_doc_string:
# Regex to escape newlines and remove unnecessary whitespace. https://regex101.com/r/N6wkYx/1
Expand All @@ -183,7 +183,7 @@ def get_csv_formatted_validator_infos(
f"{mapped_validator.name}{mapped_validator.validator.signature}",
str(mapped_validator.provision_indicator()),
formatted_doc_string,
self.validators[mapped_validator].mode.value,
execution_info.mode.value,
)
)
return output.getvalue()
Expand Down

0 comments on commit cb04977

Please sign in to comment.