Skip to content

Commit 52d8a92

Browse files
author
Oleksandr Bazarnov
committed
fixed the way the deprecation_warnings are added to log_messages
1 parent b4cdf55 commit 52d8a92

File tree

1 file changed

+3
-2
lines changed
  • airbyte_cdk/connector_builder/test_reader

1 file changed

+3
-2
lines changed

airbyte_cdk/connector_builder/test_reader/reader.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55

66
import logging
7+
from math import log
78
from typing import Any, ClassVar, Dict, Iterator, List, Mapping, Optional, Union
89

910
from airbyte_cdk.connector_builder.models import (
@@ -133,8 +134,8 @@ def run_test_read(
133134
message_group
134135
)
135136

136-
# append deprecation warnings to the log messages
137-
log_messages += deprecation_warnings
137+
# extend log messages with deprecation warnings
138+
log_messages.extend(deprecation_warnings)
138139

139140
schema, log_messages = self._get_infered_schema(
140141
configured_catalog, schema_inferrer, log_messages

0 commit comments

Comments
 (0)