diff --git a/airbyte-cdk/python/airbyte_cdk/entrypoint.py b/airbyte-cdk/python/airbyte_cdk/entrypoint.py index d7dfe736b831..a53369d349ec 100644 --- a/airbyte-cdk/python/airbyte_cdk/entrypoint.py +++ b/airbyte-cdk/python/airbyte_cdk/entrypoint.py @@ -87,6 +87,7 @@ def run(self, parsed_args: argparse.Namespace) -> Iterable[str]: if hasattr(parsed_args, "debug") and parsed_args.debug: self.logger.setLevel(logging.DEBUG) + logger.setLevel(logging.DEBUG) self.logger.debug("Debug logs enabled") else: self.logger.setLevel(logging.INFO) diff --git a/airbyte-cdk/python/airbyte_cdk/utils/is_cloud_environment.py b/airbyte-cdk/python/airbyte_cdk/utils/is_cloud_environment.py index 71fc3d0eb249..25b1eee87fad 100644 --- a/airbyte-cdk/python/airbyte_cdk/utils/is_cloud_environment.py +++ b/airbyte-cdk/python/airbyte_cdk/utils/is_cloud_environment.py @@ -7,7 +7,7 @@ CLOUD_DEPLOYMENT_MODE = "cloud" -def is_cloud_environment(): +def is_cloud_environment() -> bool: """ Returns True if the connector is running in a cloud environment, False otherwise.