avoid python 3.10 syntax for unions

This commit is contained in:
burnettk 2023-03-08 17:07:33 -05:00
parent 8fb62ba123
commit e1a0d5f9e5
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) json_data_hash: str = db.Column(db.String(255), nullable=False, index=True)
start_in_seconds: float = db.Column(db.DECIMAL(17, 6)) 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: class Task: