airbyte-cdk 6.54.6__py3-none-any.whl → 6.54.7__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/sources/declarative/validators/dpath_validator.py +4 -0
- {airbyte_cdk-6.54.6.dist-info → airbyte_cdk-6.54.7.dist-info}/METADATA +1 -1
- {airbyte_cdk-6.54.6.dist-info → airbyte_cdk-6.54.7.dist-info}/RECORD +7 -7
- {airbyte_cdk-6.54.6.dist-info → airbyte_cdk-6.54.7.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-6.54.6.dist-info → airbyte_cdk-6.54.7.dist-info}/LICENSE_SHORT +0 -0
- {airbyte_cdk-6.54.6.dist-info → airbyte_cdk-6.54.7.dist-info}/WHEEL +0 -0
- {airbyte_cdk-6.54.6.dist-info → airbyte_cdk-6.54.7.dist-info}/entry_points.txt +0 -0
@@ -47,6 +47,8 @@ class DpathValidator(Validator):
|
|
47
47
|
if "*" in path:
|
48
48
|
try:
|
49
49
|
values = dpath.values(input_data, path)
|
50
|
+
if not values:
|
51
|
+
return
|
50
52
|
for value in values:
|
51
53
|
self.strategy.validate(value)
|
52
54
|
except KeyError as e:
|
@@ -54,6 +56,8 @@ class DpathValidator(Validator):
|
|
54
56
|
else:
|
55
57
|
try:
|
56
58
|
value = dpath.get(input_data, path)
|
59
|
+
if not value:
|
60
|
+
return
|
57
61
|
self.strategy.validate(value)
|
58
62
|
except KeyError as e:
|
59
63
|
raise ValueError(f"Error validating path '{self.field_path}': {e}")
|
@@ -237,7 +237,7 @@ airbyte_cdk/sources/declarative/transformations/remove_fields.py,sha256=EwUP0SZ2
|
|
237
237
|
airbyte_cdk/sources/declarative/transformations/transformation.py,sha256=4sXtx9cNY2EHUPq-xHvDs8GQEBUy3Eo6TkRLKHPXx68,1161
|
238
238
|
airbyte_cdk/sources/declarative/types.py,sha256=yqx0xlZv_76tkC7fqJKefmvl4GJJ8mXbeddwVV8XRJU,778
|
239
239
|
airbyte_cdk/sources/declarative/validators/__init__.py,sha256=_xccLn4QKQqR3CAwmCVOA7l6QuJd_Isoh6NsR8crM2U,663
|
240
|
-
airbyte_cdk/sources/declarative/validators/dpath_validator.py,sha256=
|
240
|
+
airbyte_cdk/sources/declarative/validators/dpath_validator.py,sha256=CQ2Cmnn39yWarfRKevpCQCd3y3Vcap8X8Emnlk_WB-M,2214
|
241
241
|
airbyte_cdk/sources/declarative/validators/predicate_validator.py,sha256=Q4eVnclk1vYPvVF7XROG4MFEVkPYbYKEF8SUKs7P7-k,582
|
242
242
|
airbyte_cdk/sources/declarative/validators/validate_adheres_to_schema.py,sha256=kjcuKxWMJEzpF4GiESITGMxBAXw6YZCAsgOQMgeBo4g,1085
|
243
243
|
airbyte_cdk/sources/declarative/validators/validation_strategy.py,sha256=LwqUX89cFdHTM1-h6c8vebBA9WC38HYoGBvJfCZHr0g,467
|
@@ -420,9 +420,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
|
|
420
420
|
airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
|
421
421
|
airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
|
422
422
|
airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
|
423
|
-
airbyte_cdk-6.54.
|
424
|
-
airbyte_cdk-6.54.
|
425
|
-
airbyte_cdk-6.54.
|
426
|
-
airbyte_cdk-6.54.
|
427
|
-
airbyte_cdk-6.54.
|
428
|
-
airbyte_cdk-6.54.
|
423
|
+
airbyte_cdk-6.54.7.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
424
|
+
airbyte_cdk-6.54.7.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
|
425
|
+
airbyte_cdk-6.54.7.dist-info/METADATA,sha256=nnAi6907Jz-yi24iOf9cjZ342JxuzU0NGAsc22pIPAQ,6343
|
426
|
+
airbyte_cdk-6.54.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
427
|
+
airbyte_cdk-6.54.7.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
|
428
|
+
airbyte_cdk-6.54.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|