airbyte-cdk 6.48.7.dev3__py3-none-any.whl → 6.48.7.dev5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_cdk/logger.py +3 -3
- airbyte_cdk/test/catalog_builder.py +5 -1
- {airbyte_cdk-6.48.7.dev3.dist-info → airbyte_cdk-6.48.7.dev5.dist-info}/METADATA +1 -1
- {airbyte_cdk-6.48.7.dev3.dist-info → airbyte_cdk-6.48.7.dev5.dist-info}/RECORD +8 -8
- {airbyte_cdk-6.48.7.dev3.dist-info → airbyte_cdk-6.48.7.dev5.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-6.48.7.dev3.dist-info → airbyte_cdk-6.48.7.dev5.dist-info}/LICENSE_SHORT +0 -0
- {airbyte_cdk-6.48.7.dev3.dist-info → airbyte_cdk-6.48.7.dev5.dist-info}/WHEEL +0 -0
- {airbyte_cdk-6.48.7.dev3.dist-info → airbyte_cdk-6.48.7.dev5.dist-info}/entry_points.txt +0 -0
airbyte_cdk/logger.py
CHANGED
@@ -8,14 +8,14 @@ import logging.config
|
|
8
8
|
from typing import Any, Callable, Mapping, Optional, Tuple
|
9
9
|
|
10
10
|
import orjson
|
11
|
-
|
12
|
-
from airbyte_cdk.models import (
|
11
|
+
from airbyte_protocol_dataclasses.models import (
|
13
12
|
AirbyteLogMessage,
|
14
13
|
AirbyteMessage,
|
15
|
-
AirbyteMessageSerializer,
|
16
14
|
Level,
|
17
15
|
Type,
|
18
16
|
)
|
17
|
+
|
18
|
+
from airbyte_cdk.models import AirbyteMessageSerializer
|
19
19
|
from airbyte_cdk.utils import PrintBuffer
|
20
20
|
from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets
|
21
21
|
|
@@ -21,7 +21,7 @@ class ConfiguredAirbyteStreamBuilder:
|
|
21
21
|
"supported_sync_modes": ["full_refresh", "incremental"],
|
22
22
|
"source_defined_primary_key": [["id"]],
|
23
23
|
},
|
24
|
-
"primary_key":
|
24
|
+
"primary_key": None,
|
25
25
|
"sync_mode": "full_refresh",
|
26
26
|
"destination_sync_mode": "overwrite",
|
27
27
|
}
|
@@ -40,6 +40,10 @@ class ConfiguredAirbyteStreamBuilder:
|
|
40
40
|
self._stream["destination_sync_mode"] = sync_mode.name
|
41
41
|
return self
|
42
42
|
|
43
|
+
def with_destination_object_name(self, name: str) -> "ConfiguredAirbyteStreamBuilder":
|
44
|
+
self._stream["destination_object_name"] = name
|
45
|
+
return self
|
46
|
+
|
43
47
|
def with_primary_key(self, pk: List[List[str]]) -> "ConfiguredAirbyteStreamBuilder":
|
44
48
|
self._stream["primary_key"] = pk
|
45
49
|
self._stream["stream"]["source_defined_primary_key"] = pk # type: ignore # we assume that self._stream["stream"] is a Dict[str, Any]
|
@@ -35,7 +35,7 @@ airbyte_cdk/destinations/vector_db_based/utils.py,sha256=FOyEo8Lc-fY8UyhpCivhZtI
|
|
35
35
|
airbyte_cdk/destinations/vector_db_based/writer.py,sha256=nZ00xPiohElJmYktEZZIhr0m5EDETCHGhg0Lb2S7A20,5095
|
36
36
|
airbyte_cdk/entrypoint.py,sha256=NRJv5BNZRSUEVTmNBa9N7ih6fW5sg4DwL0nkB9kI99Y,18570
|
37
37
|
airbyte_cdk/exception_handler.py,sha256=D_doVl3Dt60ASXlJsfviOCswxGyKF2q0RL6rif3fNks,2013
|
38
|
-
airbyte_cdk/logger.py,sha256=
|
38
|
+
airbyte_cdk/logger.py,sha256=yBa-_gOBiV7VXNHjX7jVWXVU8C9bw3tyLoFEgx8-5Tk,3787
|
39
39
|
airbyte_cdk/manifest_migrations/README.md,sha256=PvnbrW1gyzhlkeucd0YAOXcXVxi0xBUUynzs4DMqjDo,2942
|
40
40
|
airbyte_cdk/manifest_migrations/__init__.py,sha256=0eq9ic_6GGXMwzE31eAOSA7PLtBauMfgM9XshjYHF84,61
|
41
41
|
airbyte_cdk/manifest_migrations/exceptions.py,sha256=mmMZaCVEkYSGykVL5jKA0xsDWWkybRdQwnh9pGb7VG0,300
|
@@ -364,7 +364,7 @@ airbyte_cdk/sql/shared/catalog_providers.py,sha256=qiahORhtN6qBUGHhSKmzE00uC4i6W
|
|
364
364
|
airbyte_cdk/sql/shared/sql_processor.py,sha256=1CwfC3fp9dWnHBpKtly7vGduf9ho_MahiwxGFcULG3Y,27687
|
365
365
|
airbyte_cdk/sql/types.py,sha256=XEIhRAo_ASd0kVLBkdLf5bHiRhNple-IJrC9TibcDdY,5880
|
366
366
|
airbyte_cdk/test/__init__.py,sha256=f_XdkOg4_63QT2k3BbKY34209lppwgw-svzfZstQEq4,199
|
367
|
-
airbyte_cdk/test/catalog_builder.py,sha256=
|
367
|
+
airbyte_cdk/test/catalog_builder.py,sha256=bgTtaJSbTgWVNiME1PyC390Un5Ki8ZROk5pfcaRtN04,3459
|
368
368
|
airbyte_cdk/test/entrypoint_wrapper.py,sha256=TyUmVJyIuGelAv6y8Wy_BnwqIRw_drjfZWKlroljCuQ,9951
|
369
369
|
airbyte_cdk/test/mock_http/__init__.py,sha256=jE5kC6CQ0OXkTqKhciDnNVZHesBFVIA2YvkdFGwva7k,322
|
370
370
|
airbyte_cdk/test/mock_http/matcher.py,sha256=4Qj8UnJKZIs-eodshryce3SN1Ayc8GZpBETmP6hTEyc,1446
|
@@ -408,9 +408,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
|
|
408
408
|
airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
|
409
409
|
airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
|
410
410
|
airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
|
411
|
-
airbyte_cdk-6.48.7.
|
412
|
-
airbyte_cdk-6.48.7.
|
413
|
-
airbyte_cdk-6.48.7.
|
414
|
-
airbyte_cdk-6.48.7.
|
415
|
-
airbyte_cdk-6.48.7.
|
416
|
-
airbyte_cdk-6.48.7.
|
411
|
+
airbyte_cdk-6.48.7.dev5.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
412
|
+
airbyte_cdk-6.48.7.dev5.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
|
413
|
+
airbyte_cdk-6.48.7.dev5.dist-info/METADATA,sha256=kQk0YBhoPy0lhkmKqLoa78jV5QTxWa_L54NK_tQux2M,6358
|
414
|
+
airbyte_cdk-6.48.7.dev5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
415
|
+
airbyte_cdk-6.48.7.dev5.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
|
416
|
+
airbyte_cdk-6.48.7.dev5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|