Skip to content

Commit

Permalink
fixup! fix: use precise type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-o918 committed Jul 20, 2024
1 parent b8df029 commit 2da0e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gokart/config_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, config_class: Type[luigi.Config], parameter_alias: Optional[D
key: config_class's parameter name. value: decorated task's parameter name.
"""

self._config_class: luigi.Config = config_class
self._config_class: Type[luigi.Config] = config_class
self._parameter_alias: Dict[str, str] = parameter_alias if parameter_alias is not None else {}

def __call__(self, task_class: Type[gokart.TaskOnKart]):
Expand Down

0 comments on commit 2da0e1c

Please sign in to comment.