Skip to content

Commit

Permalink
Fixed type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Nov 25, 2024
1 parent 66f51e8 commit 56d4d10
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def get_click_and_api_functions(
api_functions = [
f[1]
for f in inspect.getmembers(api_module, inspect.isfunction)
if f[1].__cli_function__
] # type: ignore
if f[1].__cli_function__ # type: ignore
]
return click_commands, api_functions


Expand All @@ -79,6 +79,6 @@ def get_click_and_api_function_names(
api_function_names = [
f[0]
for f in inspect.getmembers(api_module, inspect.isfunction)
if f[1].__cli_function__
] # type: ignore
if f[1].__cli_function__ # type: ignore
]
return click_command_names, api_function_names

0 comments on commit 56d4d10

Please sign in to comment.