Skip to content

Commit 6e73627

Browse files
committed
Fix Python 3.8 compatibility
1 parent c928e2b commit 6e73627

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • yamcs-client/src/yamcs/client/timeline

yamcs-client/src/yamcs/client/timeline/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def _to_predecessor(self) -> "Predecessor":
156156
return Predecessor(self.item, start_condition=StartCondition.ON_START)
157157

158158

159-
StartTrigger = Union[OnSuccess | OnFailure | OnCompletion | OnStart]
159+
StartTrigger = Union[OnSuccess, OnFailure, OnCompletion, OnStart]
160160
"""
161161
Expresses a dependency between an item and its predecessor.
162162
"""

0 commit comments

Comments
 (0)