avoid python 3.10 syntax for unions

This commit is contained in:
burnettk 2023-03-08 17:07:33 -05:00
parent f79f0d6116
commit ffe15bf9af
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class TaskModel(SpiffworkflowBaseDBModel):
json_data_hash: str = db.Column(db.String(255), nullable=False, index=True)
start_in_seconds: float = db.Column(db.DECIMAL(17, 6))
end_in_seconds: float | None = db.Column(db.DECIMAL(17, 6))
end_in_seconds: Union[float, None] = db.Column(db.DECIMAL(17, 6))
class Task: