We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f76ece commit 4e03a00Copy full SHA for 4e03a00
src/modacor/dataclasses/process_step.py
@@ -55,6 +55,11 @@ class ProcessStep:
55
# internal variables:
56
__prepared: bool = field(default=False, validator=v.instance_of(bool))
57
58
+ # add hash function. equality can be checked
59
+ def __hash__(self):
60
+ return hash((self.documentation.__repr__(), self.configuration.__repr__(), self.step_id))
61
+
62
63
def prepare_execution(self):
64
"""
65
Prepare the execution of the ProcessStep
0 commit comments