Operation
symconstraints.operation
Operations module.
Operation
dataclass
Generic operation.
Attributes:
Name | Type | Description |
---|---|---|
keys |
frozenset[Symbol]
|
Set of keys that this operation needs to check if its not missing before executing. |
inferred_by |
frozenset[Boolean]
|
Set of constraints which generated this operation. |
Source code in src/symconstraints/operation.py
Validation
dataclass
Bases: Operation
Validation operation.
Attributes:
Name | Type | Description |
---|---|---|
operations |
frozenset[Boolean]
|
A set of SymPy Boolean expressions that are used to validate the keys. |
Source code in src/symconstraints/operation.py
Imputation
dataclass
Bases: Operation
Imputation operation.
Attributes:
Name | Type | Description |
---|---|---|
target_key |
Symbol
|
Key that will be imputed by this operation |
operation |
Expr
|
SymPy expression used to impute the target key |