Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix connectors build by running gradle format #10746

Merged
merged 1 commit into from
Mar 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion airbyte-cdk/python/airbyte_cdk/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# Copyright (c) 2021 Airbyte, Inc., all rights reserved.
#

from deprecated import deprecated
import logging
import logging.config
import sys
import traceback
from typing import List, Tuple

from airbyte_cdk.models import AirbyteLogMessage, AirbyteMessage
from deprecated import deprecated

TRACE_LEVEL_NUM = 5

Expand Down Expand Up @@ -102,6 +102,7 @@ def log_by_prefix(msg: str, default_level: str) -> Tuple[int, str]:

return log_level, rendered_message


@deprecated(version="0.1.47", reason="Use logging.getLogger('airbyte') instead")
class AirbyteLogger:
def log(self, level, message):
Expand Down