avoid python 3.10 syntax for unions
This commit is contained in:
parent
f79f0d6116
commit
ffe15bf9af
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue