Skip to content

Commit fc10813

Browse files
Freeze base class so it is hashable
1 parent 56c35e8 commit fc10813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causal_testing/testing/base_causal_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from causal_testing.specification.variable import Variable
33

44

5-
@dataclass
5+
@dataclass(frozen=True)
66
class BaseCausalTest:
77
"""
88
A base causal test case represents the relationship of an edge on a causal DAG.

0 commit comments

Comments
 (0)