From 56d4d10ff71228467453437b6ca134380617926d Mon Sep 17 00:00:00 2001 From: Thomas Ubensee <34603111+tomuben@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:45:21 -0300 Subject: [PATCH] Fixed type hint --- .../testing/api_consistency_utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exasol_integration_test_docker_environment/testing/api_consistency_utils.py b/exasol_integration_test_docker_environment/testing/api_consistency_utils.py index 252d71f7..7dbd13ce 100644 --- a/exasol_integration_test_docker_environment/testing/api_consistency_utils.py +++ b/exasol_integration_test_docker_environment/testing/api_consistency_utils.py @@ -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 @@ -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