Fixed #3: Added sheerka.resolve_rule()
Fixed #5: Refactored SheerkaComparisonManager Fixed #6: Sya parser no longer works after restart
This commit is contained in:
+2
-2
@@ -5,17 +5,17 @@ import core.utils
|
||||
|
||||
ACTION_TYPE_PRINT = "print"
|
||||
ACTION_TYPE_EXEC = "exec"
|
||||
ACTION_TYPE_DEFERRED = "deferred" # KSI 2021-04-01 What is it for ? I definitely need some proper documentation
|
||||
|
||||
|
||||
@dataclass
|
||||
class RuleMetadata:
|
||||
action_type: str # print, exec, deferred
|
||||
action_type: str # print, exec
|
||||
name: Union[str, None]
|
||||
predicate: str
|
||||
action: str
|
||||
|
||||
id: str = None
|
||||
id_is_unresolved = False
|
||||
is_compiled: bool = False
|
||||
is_enabled: bool = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user