Skip to content

Commit

Permalink
MetricResult.error -> MetricResult.success
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-stauffer committed Feb 13, 2025
1 parent 7dccb06 commit b47e842
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions great_expectations/metrics/metric_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
class _MetricResult(BaseModel):
id: MetricConfigurationID
value: Any
error: bool
success: bool


class _SuccessfulMetricResult(_MetricResult):
error: Literal[False] = False
success: Literal[True] = True


class InvalidMetricError(TypeError):
Expand Down Expand Up @@ -75,4 +75,4 @@ def validate_id(cls, v):

class ErrorMetricResult(_MetricResult):
value: dict[str, Union[int, dict, str]]
error: Literal[True] = True
success: Literal[False] = False

0 comments on commit b47e842

Please sign in to comment.