Skip to content

Commit

Permalink
style(typing): fix Tuple typing
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Apr 28, 2021
1 parent 209bc95 commit a7f199a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/controllerx/cx_const.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Any, Awaitable, Callable, Dict, List, Tuple, Union

ActionFunction = Callable[..., Awaitable[Any]]
ActionFunctionWithParams = Tuple[ActionFunction, Tuple]
ActionFunctionWithParams = Tuple[ActionFunction, Tuple[Any, ...]]
TypeAction = Union[ActionFunction, ActionFunctionWithParams]
ActionEvent = Union[str, int]
PredefinedActionsMapping = Dict[str, TypeAction]
Expand Down

0 comments on commit a7f199a

Please sign in to comment.