Skip to content

Commit 464a89c

Browse files
authored
Update the destination template not to use AirbyteLogger (#38199)
1 parent 31c95da commit 464a89c

File tree

1 file changed

+2
-2
lines changed
  • airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}

1 file changed

+2
-2
lines changed

airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/destination.py.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# Copyright (c) {{currentYear}} Airbyte, Inc., all rights reserved.
33
#
44

5+
import logging
56

67
from typing import Any, Iterable, Mapping
78

8-
from airbyte_cdk import AirbyteLogger
99
from airbyte_cdk.destinations import Destination
1010
from airbyte_cdk.models import AirbyteConnectionStatus, AirbyteMessage, ConfiguredAirbyteCatalog, Status
1111

@@ -33,7 +33,7 @@ class Destination{{properCase name}}(Destination):
3333

3434
pass
3535

36-
def check(self, logger: AirbyteLogger, config: Mapping[str, Any]) -> AirbyteConnectionStatus:
36+
def check(self, logger: logging.Logger, config: Mapping[str, Any]) -> AirbyteConnectionStatus:
3737
"""
3838
Tests if the input configuration can be used to successfully connect to the destination with the needed permissions
3939
e.g: if a provided API token or password can be used to connect and write to the destination.

0 commit comments

Comments
 (0)