airbyte-cdk 6.60.0.post21.dev16487663551__py3-none-any.whl → 6.60.0.post22.dev16503405621__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/models/airbyte_protocol_serializers.py +2 -1
- {airbyte_cdk-6.60.0.post21.dev16487663551.dist-info → airbyte_cdk-6.60.0.post22.dev16503405621.dist-info}/METADATA +2 -1
- {airbyte_cdk-6.60.0.post21.dev16487663551.dist-info → airbyte_cdk-6.60.0.post22.dev16503405621.dist-info}/RECORD +7 -7
- {airbyte_cdk-6.60.0.post21.dev16487663551.dist-info → airbyte_cdk-6.60.0.post22.dev16503405621.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-6.60.0.post21.dev16487663551.dist-info → airbyte_cdk-6.60.0.post22.dev16503405621.dist-info}/LICENSE_SHORT +0 -0
- {airbyte_cdk-6.60.0.post21.dev16487663551.dist-info → airbyte_cdk-6.60.0.post22.dev16503405621.dist-info}/WHEEL +0 -0
- {airbyte_cdk-6.60.0.post21.dev16487663551.dist-info → airbyte_cdk-6.60.0.post22.dev16503405621.dist-info}/entry_points.txt +0 -0
@@ -5,6 +5,7 @@ import sys
|
|
5
5
|
from enum import Enum
|
6
6
|
from typing import Any, Callable, Dict, Type, TypeVar, cast
|
7
7
|
|
8
|
+
import dacite
|
8
9
|
import orjson
|
9
10
|
from pydantic import ValidationError
|
10
11
|
|
@@ -71,7 +72,7 @@ class CustomSerializer:
|
|
71
72
|
def load(self, data: Dict[str, Any]) -> T:
|
72
73
|
"""Convert dictionary to dataclass instance"""
|
73
74
|
# Handle custom types
|
74
|
-
return self.model_class
|
75
|
+
return dacite.from_dict(data_class=self.model_class, data=data)
|
75
76
|
|
76
77
|
def _serialize_nested(self, obj: Any) -> Any:
|
77
78
|
"""Helper to serialize nested objects"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: airbyte-cdk
|
3
|
-
Version: 6.60.0.
|
3
|
+
Version: 6.60.0.post22.dev16503405621
|
4
4
|
Summary: A framework for writing Airbyte Connectors.
|
5
5
|
Home-page: https://airbyte.com
|
6
6
|
License: MIT
|
@@ -32,6 +32,7 @@ Requires-Dist: cachetools
|
|
32
32
|
Requires-Dist: click (>=8.1.8,<9.0.0)
|
33
33
|
Requires-Dist: cohere (==4.21) ; extra == "vector-db-based"
|
34
34
|
Requires-Dist: cryptography (>=44.0.0,<46.0.0)
|
35
|
+
Requires-Dist: dacite (>=1.9.2,<2.0.0)
|
35
36
|
Requires-Dist: dateparser (>=1.2.2,<2.0.0)
|
36
37
|
Requires-Dist: dpath (>=2.1.6,<3.0.0)
|
37
38
|
Requires-Dist: dunamai (>=1.22.0,<2.0.0)
|
@@ -50,7 +50,7 @@ airbyte_cdk/manifest_migrations/migrations/registry.yaml,sha256=F-hdapvl_vZnsI7C
|
|
50
50
|
airbyte_cdk/manifest_migrations/migrations_registry.py,sha256=zly2fwaOxDukqC7eowzrDlvhA2v71FjW74kDzvRXhSY,2619
|
51
51
|
airbyte_cdk/models/__init__.py,sha256=EUxQ9zcq5PZLsnUo30pxoB-pT4UHumtoCqlljjoqd3g,2065
|
52
52
|
airbyte_cdk/models/airbyte_protocol.py,sha256=R1G1lvnBDRCZDa9_9Mgy5OEeyMXbvGWsDOnwQkImRKA,266
|
53
|
-
airbyte_cdk/models/airbyte_protocol_serializers.py,sha256=
|
53
|
+
airbyte_cdk/models/airbyte_protocol_serializers.py,sha256=G4Z5leUolK1qMOmLtyt-xlDfek875TA_RVOcom-vurQ,6144
|
54
54
|
airbyte_cdk/models/connector_metadata.py,sha256=BD6CO8c3mHavxRJAcwP29sHtNNVLVSNFNQLgHOVxrwA,3229
|
55
55
|
airbyte_cdk/models/well_known_types.py,sha256=EquepbisGPuCSrs_D7YVVnMR9-ShhUr21wnFz3COiJs,156
|
56
56
|
airbyte_cdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -424,9 +424,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
|
|
424
424
|
airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
|
425
425
|
airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
|
426
426
|
airbyte_cdk/utils/traced_exception.py,sha256=bc5jMk8Z3AnSL-vqsgPCNgHzWqGTKZODHSg7VHiUyj0,6256
|
427
|
-
airbyte_cdk-6.60.0.
|
428
|
-
airbyte_cdk-6.60.0.
|
429
|
-
airbyte_cdk-6.60.0.
|
430
|
-
airbyte_cdk-6.60.0.
|
431
|
-
airbyte_cdk-6.60.0.
|
432
|
-
airbyte_cdk-6.60.0.
|
427
|
+
airbyte_cdk-6.60.0.post22.dev16503405621.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
428
|
+
airbyte_cdk-6.60.0.post22.dev16503405621.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
|
429
|
+
airbyte_cdk-6.60.0.post22.dev16503405621.dist-info/METADATA,sha256=J8NoRvLWWF47FJ6L79GnmClcUO8M5b5b5Qk3tO0Z0aA,6551
|
430
|
+
airbyte_cdk-6.60.0.post22.dev16503405621.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
431
|
+
airbyte_cdk-6.60.0.post22.dev16503405621.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
|
432
|
+
airbyte_cdk-6.60.0.post22.dev16503405621.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|