airbyte-cdk 6.60.0.post22.dev16503405621__py3-none-any.whl → 6.60.0.post27.dev16508849855__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.
@@ -96,13 +96,23 @@ def handle_request(args: List[str]) -> str:
96
96
  handle_connector_builder_request(source, command, config, catalog, state, limits)
97
97
  )
98
98
 
99
+ def run(args: list[str] | None) -> None:
100
+ """Run the connector builder handler."""
101
+ if args is None:
102
+ args = sys.argv[1:]
99
103
 
100
- if __name__ == "__main__":
101
104
  try:
102
- print(handle_request(sys.argv[1:]))
105
+ result = handle_request(args)
106
+ print(result)
103
107
  except Exception as exc:
104
108
  error = AirbyteTracedException.from_exception(
105
109
  exc, message=f"Error handling request: {str(exc)}"
106
110
  )
107
111
  m = error.as_airbyte_message()
108
112
  print(ab_message_to_string(m))
113
+ sys.exit(1)
114
+
115
+
116
+ if __name__ == "__main__":
117
+ run(sys.argv[1:])
118
+ sys.exit(1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.60.0.post22.dev16503405621
3
+ Version: 6.60.0.post27.dev16508849855
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -16,7 +16,7 @@ airbyte_cdk/connector.py,sha256=N6TUlrZOMjLAI85JrNAKkfyTqnO5xfBCw4oEfgjJd9o,4254
16
16
  airbyte_cdk/connector_builder/README.md,sha256=Hw3wvVewuHG9-QgsAq1jDiKuLlStDxKBz52ftyNRnBw,1665
17
17
  airbyte_cdk/connector_builder/__init__.py,sha256=4Hw-PX1-VgESLF16cDdvuYCzGJtHntThLF4qIiULWeo,61
18
18
  airbyte_cdk/connector_builder/connector_builder_handler.py,sha256=OFTzxyfAevI3Um8fXTOLTgoCc4Sx9NzF0boqYkAATfM,6590
19
- airbyte_cdk/connector_builder/main.py,sha256=gzIdZXNCvciwxCqSSpvmMOqIfBwlOAWAs2rqW7c4Xas,3668
19
+ airbyte_cdk/connector_builder/main.py,sha256=jEV8i14SKaxdXTdaB3b2OiYVAma-GkjLLz3LDJT-YuU,3879
20
20
  airbyte_cdk/connector_builder/models.py,sha256=9pIZ98LW_d6fRS39VdnUOf3cxGt4TkC5MJ0_OrzcCRk,1578
21
21
  airbyte_cdk/connector_builder/test_reader/__init__.py,sha256=iTwBMoI9vaJotEgpqZbFjlxRcbxXYypSVJ9YxeHk7wc,120
22
22
  airbyte_cdk/connector_builder/test_reader/helpers.py,sha256=Iczn-_iczS2CaIAunWwyFcX0uLTra8Wh9JVfzm1Gfxo,26765
@@ -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.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,,
427
+ airbyte_cdk-6.60.0.post27.dev16508849855.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
428
+ airbyte_cdk-6.60.0.post27.dev16508849855.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
429
+ airbyte_cdk-6.60.0.post27.dev16508849855.dist-info/METADATA,sha256=VFQN1lXg5LrATjTl6I_vr1c9IsrbvwdvHMbd9BplKAE,6551
430
+ airbyte_cdk-6.60.0.post27.dev16508849855.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
431
+ airbyte_cdk-6.60.0.post27.dev16508849855.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
432
+ airbyte_cdk-6.60.0.post27.dev16508849855.dist-info/RECORD,,