mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-28 17:10:42 +00:00
some fixes for windows and python 3.9 w/ burnettk
This commit is contained in:
parent
eeaa38fbd0
commit
71a277e37b
@ -59,7 +59,7 @@ class MessageInstanceModel(SpiffworkflowBaseDBModel):
|
|||||||
updated_at_in_seconds: int = db.Column(db.Integer)
|
updated_at_in_seconds: int = db.Column(db.Integer)
|
||||||
created_at_in_seconds: int = db.Column(db.Integer)
|
created_at_in_seconds: int = db.Column(db.Integer)
|
||||||
|
|
||||||
message_correlations: dict | None = None
|
message_correlations: Optional[dict] = None
|
||||||
|
|
||||||
@validates("message_type")
|
@validates("message_type")
|
||||||
def validate_message_type(self, key: str, value: Any) -> Any:
|
def validate_message_type(self, key: str, value: Any) -> Any:
|
||||||
|
@ -60,8 +60,9 @@ class FileSystemService:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def workflow_path(spec: ProcessModelInfo) -> str:
|
def workflow_path(spec: ProcessModelInfo) -> str:
|
||||||
"""Workflow_path."""
|
"""Workflow_path."""
|
||||||
process_model_path = os.path.join(FileSystemService.root_path(), spec.id)
|
process_model_path = os.path.join(
|
||||||
# process_group_path = FileSystemService.process_group_path_for_spec(spec)
|
FileSystemService.root_path(), spec.id_for_file_path()
|
||||||
|
)
|
||||||
return process_model_path
|
return process_model_path
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user