Skip to content

Commit c8b7792

Browse files
[BUGFIX] remove unused domain key (#10951)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 009f5da commit c8b7792

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

great_expectations/expectations/expectation.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,10 +1577,7 @@ class BatchExpectation(Expectation, ABC):
15771577

15781578
batch_id: Union[str, None] = None
15791579

1580-
domain_keys: ClassVar[Tuple[str, ...]] = (
1581-
"batch_id",
1582-
"table",
1583-
)
1580+
domain_keys: ClassVar[Tuple[str, ...]] = ("batch_id",)
15841581
metric_dependencies: ClassVar[Tuple[str, ...]] = ()
15851582
domain_type: ClassVar[MetricDomainTypes] = MetricDomainTypes.TABLE
15861583
args_keys: ClassVar[Tuple[str, ...]] = ()
@@ -1867,7 +1864,6 @@ class ColumnMapExpectation(BatchExpectation, ABC):
18671864
map_metric: ClassVar[Optional[str]] = None
18681865
domain_keys: ClassVar[Tuple[str, ...]] = (
18691866
"batch_id",
1870-
"table",
18711867
"column",
18721868
"row_condition",
18731869
"condition_parser",

0 commit comments

Comments
 (0)