Skip to content

Commit

Permalink
Text edits
Browse files Browse the repository at this point in the history
  • Loading branch information
JaniceManwiller authored Nov 21, 2024
1 parent 82e1aca commit 10f6c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tonic_textual/classes/pipeline_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, id: str, status: str, end_time: datetime, client: HttpClient)
def get_delta(self, other: "PipelineRun") -> FileParseResultsDiffEnumerator:
if isinstance(other, PipelineRun):
if self.status != "Completed" or other.status != "Completed":
raise Exception("Both runs must be successful to compare files")
raise Exception("To compare files, both runs must be successful")
return FileParseResultsDiffEnumerator(self.id, other.id, self.client)
else:
raise TypeError("Expected `other` to be a PipelineRun object")

0 comments on commit 10f6c34

Please sign in to comment.