Fixed #18 : Parsing and evaluating Python
This commit is contained in:
+5
-2
@@ -14,7 +14,7 @@ class ConceptDefaultProps:
|
||||
RET = "#ret#"
|
||||
|
||||
|
||||
DefaultProps = [v for k, v in ConceptDefaultProps.__dict__.items() if not k.startswith("_")]
|
||||
ConceptDefaultPropsAttrs = [v for k, v in ConceptDefaultProps.__dict__.items() if not k.startswith("_")]
|
||||
|
||||
|
||||
class DefinitionType:
|
||||
@@ -49,6 +49,9 @@ class ConceptMetadata:
|
||||
digest: str = None
|
||||
all_attrs: tuple = None
|
||||
|
||||
def get_metadata(self):
|
||||
return self
|
||||
|
||||
|
||||
@dataclass
|
||||
class ConceptRuntimeInfo:
|
||||
@@ -57,7 +60,7 @@ class ConceptRuntimeInfo:
|
||||
They are related to the instance of the concept
|
||||
"""
|
||||
is_evaluated: bool = False # True is the concept is evaluated by sheerka.eval_concept()
|
||||
need_validation: bool = False # True if the properties of the concept need to be validated
|
||||
need_validation: bool = True # True if the properties of the concept need to be validated
|
||||
recognized_by: str = None # RECOGNIZED_BY_ID, RECOGNIZED_BY_NAME, RECOGNIZED_BY_KEY (from Sheerka.py)
|
||||
|
||||
def copy(self):
|
||||
|
||||
Reference in New Issue
Block a user