some fixes for windows and python 3.9 w/ burnettk

This commit is contained in:
jasquat 2022-11-14 13:55:22 -05:00
parent 5d288361ff
commit df9cc2f094
2 changed files with 4 additions and 3 deletions

View File

@ -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:

View File

@ -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