Skip to content

Commit

Permalink
fix: revert to old-style annotations to support <Py310 (x5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesteria committed Oct 29, 2024
1 parent 7e0a639 commit 04c751c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fate/conf/types/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def scheduling_(self):

@at_depth(0)
@property
def exec_(self) -> tuple[str]:
def exec_(self) -> typing.Tuple[str]:
# check for superfluous/conflicting argumentation
keys = ('exec', 'shell', 'command')
if sum(key in self for key in keys) > 1:
Expand Down

0 comments on commit 04c751c

Please sign in to comment.