airbyte-cdk 6.7.1rc4__tar.gz → 6.7.2__tar.gz

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.
Files changed (337) hide show
  1. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/PKG-INFO +9 -2
  2. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/README.md +7 -0
  3. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/cli/source_declarative_manifest/_run.py +2 -1
  4. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/config_observation.py +2 -1
  5. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/connector.py +1 -0
  6. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/connector_builder/connector_builder_handler.py +1 -1
  7. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/connector_builder/main.py +2 -1
  8. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/destination.py +2 -1
  9. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/config.py +2 -1
  10. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/document_processor.py +4 -3
  11. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/embedder.py +5 -4
  12. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/entrypoint.py +3 -2
  13. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/logger.py +2 -1
  14. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/models/__init__.py +2 -0
  15. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/models/airbyte_protocol.py +2 -1
  16. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/concurrent_source/concurrent_read_processor.py +3 -3
  17. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/concurrent_source/concurrent_source.py +1 -1
  18. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/config.py +2 -1
  19. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/auth/jwt.py +1 -0
  20. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/auth/oauth.py +1 -0
  21. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/auth/selective_authenticator.py +1 -0
  22. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/auth/token.py +2 -1
  23. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/auth/token_provider.py +3 -2
  24. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/concurrent_declarative_source.py +6 -4
  25. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +196 -0
  26. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/decoders/json_decoder.py +3 -2
  27. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/decoders/noop_decoder.py +1 -0
  28. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/decoders/pagination_decoder_decorator.py +1 -0
  29. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/decoders/xml_decoder.py +1 -0
  30. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/extractors/dpath_extractor.py +1 -0
  31. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/extractors/http_selector.py +1 -0
  32. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/extractors/record_filter.py +6 -48
  33. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/extractors/record_selector.py +32 -4
  34. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py +7 -2
  35. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py +2 -1
  36. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/incremental/global_substream_cursor.py +5 -2
  37. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/incremental/per_partition_cursor.py +5 -2
  38. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/incremental/per_partition_with_global.py +1 -3
  39. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/jinja.py +5 -4
  40. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/manifest_declarative_source.py +4 -3
  41. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/models/declarative_component_schema.py +144 -0
  42. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +41 -4
  43. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/partition_routers/substream_partition_router.py +1 -0
  44. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/constant_backoff_strategy.py +1 -0
  45. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/exponential_backoff_strategy.py +1 -0
  46. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py +1 -0
  47. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_until_time_from_header_backoff_strategy.py +1 -0
  48. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/composite_error_handler.py +1 -0
  49. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py +1 -0
  50. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/default_http_response_filter.py +1 -0
  51. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/http_response_filter.py +1 -0
  52. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/http_job_repository.py +3 -2
  53. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/http_requester.py +1 -0
  54. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/default_paginator.py +1 -0
  55. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py +1 -0
  56. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py +1 -0
  57. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/cursor_pagination_strategy.py +1 -0
  58. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py +1 -0
  59. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/page_increment.py +1 -0
  60. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/pagination_strategy.py +1 -0
  61. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/stop_condition.py +9 -3
  62. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_options_provider.py +2 -1
  63. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/requester.py +1 -0
  64. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/retrievers/async_retriever.py +2 -1
  65. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py +12 -7
  66. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/stream_slicers/declarative_partition_generator.py +7 -4
  67. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/transformations/add_fields.py +1 -0
  68. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/transformations/remove_fields.py +1 -0
  69. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/yaml_declarative_source.py +1 -0
  70. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/embedded/tools.py +1 -0
  71. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/abstract_file_based_spec.py +2 -1
  72. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/avro_format.py +2 -1
  73. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/csv_format.py +2 -1
  74. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/excel_format.py +2 -1
  75. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/file_based_stream_config.py +2 -1
  76. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/jsonl_format.py +2 -1
  77. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/parquet_format.py +2 -1
  78. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/unstructured_format.py +2 -1
  79. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_based_source.py +2 -1
  80. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_based_stream_reader.py +2 -1
  81. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/avro_parser.py +1 -0
  82. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/csv_parser.py +2 -1
  83. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/excel_parser.py +5 -5
  84. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/jsonl_parser.py +2 -1
  85. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/parquet_parser.py +2 -1
  86. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/unstructured_parser.py +9 -8
  87. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/abstract_file_based_stream.py +2 -1
  88. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/concurrent/adapters.py +5 -4
  89. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/abstract_concurrent_file_based_cursor.py +1 -1
  90. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_concurrent_cursor.py +1 -1
  91. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_final_state_cursor.py +1 -1
  92. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/http_logger.py +1 -0
  93. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/call_rate.py +1 -2
  94. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/abstract_stream.py +2 -1
  95. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/adapters.py +8 -4
  96. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/availability_strategy.py +2 -1
  97. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/cursor.py +30 -6
  98. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/partitions/partition.py +1 -1
  99. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/partitions/types.py +1 -1
  100. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/core.py +2 -1
  101. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/default_error_mapping.py +2 -1
  102. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/http_status_error_handler.py +1 -0
  103. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/json_error_message_parser.py +1 -0
  104. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/response_models.py +2 -1
  105. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/http.py +3 -2
  106. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/http_client.py +58 -11
  107. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py +2 -1
  108. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py +1 -0
  109. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/types.py +14 -1
  110. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/utils/schema_helpers.py +3 -2
  111. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/secrets.py +2 -1
  112. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/shared/sql_processor.py +8 -6
  113. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/entrypoint_wrapper.py +4 -3
  114. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/mock_http/mocker.py +1 -0
  115. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/schema_inferrer.py +2 -1
  116. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/slice_hasher.py +1 -1
  117. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/traced_exception.py +2 -1
  118. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/pyproject.toml +6 -2
  119. airbyte_cdk-6.7.1rc4/airbyte_cdk/sources/streams/concurrent/partitions/record.py +0 -35
  120. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/LICENSE.txt +0 -0
  121. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/__init__.py +0 -0
  122. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/cli/__init__.py +0 -0
  123. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/cli/source_declarative_manifest/__init__.py +0 -0
  124. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/cli/source_declarative_manifest/spec.json +0 -0
  125. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/connector_builder/README.md +0 -0
  126. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/connector_builder/__init__.py +0 -0
  127. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/connector_builder/message_grouper.py +0 -0
  128. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/connector_builder/models.py +0 -0
  129. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/__init__.py +0 -0
  130. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/README.md +0 -0
  131. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/__init__.py +0 -0
  132. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/indexer.py +0 -0
  133. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/test_utils.py +0 -0
  134. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/utils.py +0 -0
  135. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/destinations/vector_db_based/writer.py +0 -0
  136. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/exception_handler.py +0 -0
  137. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/models/airbyte_protocol_serializers.py +0 -0
  138. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/models/file_transfer_record_message.py +0 -0
  139. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/models/well_known_types.py +0 -0
  140. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/py.typed +0 -0
  141. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/__init__.py +0 -0
  142. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/abstract_source.py +0 -0
  143. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/concurrent_source/__init__.py +0 -0
  144. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/concurrent_source/concurrent_source_adapter.py +0 -0
  145. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/concurrent_source/partition_generation_completed_sentinel.py +0 -0
  146. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/concurrent_source/stream_thread_exception.py +0 -0
  147. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/concurrent_source/thread_pool_manager.py +0 -0
  148. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/connector_state_manager.py +0 -0
  149. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/__init__.py +0 -0
  150. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/async_job/__init__.py +0 -0
  151. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/async_job/job.py +0 -0
  152. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/async_job/job_orchestrator.py +0 -0
  153. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/async_job/job_tracker.py +0 -0
  154. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/async_job/repository.py +0 -0
  155. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/async_job/status.py +0 -0
  156. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/async_job/timer.py +0 -0
  157. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/auth/__init__.py +0 -0
  158. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/auth/declarative_authenticator.py +0 -0
  159. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/checks/__init__.py +0 -0
  160. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/checks/check_stream.py +0 -0
  161. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/checks/connection_checker.py +0 -0
  162. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/concurrency_level/__init__.py +0 -0
  163. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/concurrency_level/concurrency_level.py +0 -0
  164. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/datetime/__init__.py +0 -0
  165. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/datetime/datetime_parser.py +0 -0
  166. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/datetime/min_max_datetime.py +0 -0
  167. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/declarative_source.py +0 -0
  168. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/declarative_stream.py +0 -0
  169. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/decoders/__init__.py +0 -0
  170. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/decoders/decoder.py +0 -0
  171. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/exceptions.py +0 -0
  172. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/extractors/__init__.py +0 -0
  173. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/extractors/record_extractor.py +0 -0
  174. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/incremental/__init__.py +0 -0
  175. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/incremental/declarative_cursor.py +0 -0
  176. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/incremental/resumable_full_refresh_cursor.py +0 -0
  177. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/__init__.py +0 -0
  178. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/filters.py +0 -0
  179. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/interpolated_boolean.py +0 -0
  180. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py +0 -0
  181. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/interpolated_nested_mapping.py +0 -0
  182. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py +0 -0
  183. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/interpolation.py +0 -0
  184. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/interpolation/macros.py +0 -0
  185. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/migrations/__init__.py +0 -0
  186. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/migrations/legacy_to_per_partition_state_migration.py +1 -1
  187. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/migrations/state_migration.py +0 -0
  188. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/models/__init__.py +0 -0
  189. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/parsers/__init__.py +0 -0
  190. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/parsers/custom_exceptions.py +0 -0
  191. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py +0 -0
  192. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/parsers/manifest_reference_resolver.py +0 -0
  193. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/partition_routers/__init__.py +0 -0
  194. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/partition_routers/cartesian_product_stream_slicer.py +0 -0
  195. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/partition_routers/list_partition_router.py +0 -0
  196. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/partition_routers/partition_router.py +0 -0
  197. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/partition_routers/single_partition_router.py +0 -0
  198. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/__init__.py +0 -0
  199. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/__init__.py +0 -0
  200. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +0 -0
  201. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/header_helper.py +0 -0
  202. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategy.py +0 -0
  203. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/error_handlers/error_handler.py +0 -0
  204. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py +0 -0
  205. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/__init__.py +0 -0
  206. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_option.py +0 -0
  207. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_options/__init__.py +0 -0
  208. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_options/datetime_based_request_options_provider.py +0 -0
  209. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_options/default_request_options_provider.py +0 -0
  210. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_nested_request_input_provider.py +0 -0
  211. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_input_provider.py +0 -0
  212. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_options/request_options_provider.py +0 -0
  213. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/requesters/request_path.py +0 -0
  214. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/retrievers/__init__.py +0 -0
  215. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/retrievers/retriever.py +0 -0
  216. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/schema/__init__.py +0 -0
  217. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/schema/default_schema_loader.py +0 -0
  218. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/schema/inline_schema_loader.py +0 -0
  219. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/schema/json_file_schema_loader.py +0 -0
  220. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/schema/schema_loader.py +0 -0
  221. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/spec/__init__.py +0 -0
  222. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/spec/spec.py +0 -0
  223. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/stream_slicers/__init__.py +0 -0
  224. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py +0 -0
  225. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/transformations/__init__.py +0 -0
  226. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/transformations/keys_to_lower_transformation.py +0 -0
  227. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/transformations/transformation.py +0 -0
  228. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/declarative/types.py +0 -0
  229. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/embedded/__init__.py +0 -0
  230. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/embedded/base_integration.py +0 -0
  231. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/embedded/catalog.py +0 -0
  232. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/embedded/runner.py +0 -0
  233. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/README.md +0 -0
  234. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/__init__.py +0 -0
  235. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/availability_strategy/__init__.py +0 -0
  236. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/availability_strategy/abstract_file_based_availability_strategy.py +0 -0
  237. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/availability_strategy/default_file_based_availability_strategy.py +0 -0
  238. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/config/__init__.py +0 -0
  239. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/discovery_policy/__init__.py +0 -0
  240. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/discovery_policy/abstract_discovery_policy.py +0 -0
  241. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/discovery_policy/default_discovery_policy.py +0 -0
  242. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/exceptions.py +0 -0
  243. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/__init__.py +0 -0
  244. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/file_transfer.py +0 -0
  245. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/file_types/file_type_parser.py +0 -0
  246. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/remote_file.py +0 -0
  247. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/schema_helpers.py +0 -0
  248. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/schema_validation_policies/__init__.py +0 -0
  249. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/schema_validation_policies/abstract_schema_validation_policy.py +0 -0
  250. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/schema_validation_policies/default_schema_validation_policies.py +0 -0
  251. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/__init__.py +0 -0
  252. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/concurrent/__init__.py +0 -0
  253. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/__init__.py +0 -0
  254. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/cursor/__init__.py +0 -0
  255. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/cursor/abstract_file_based_cursor.py +0 -0
  256. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/cursor/default_file_based_cursor.py +0 -0
  257. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/stream/default_file_based_stream.py +0 -0
  258. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/file_based/types.py +0 -0
  259. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/http_config.py +0 -0
  260. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/message/__init__.py +0 -0
  261. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/message/repository.py +0 -0
  262. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/source.py +0 -0
  263. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/__init__.py +0 -0
  264. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/availability_strategy.py +0 -0
  265. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/checkpoint/__init__.py +0 -0
  266. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/checkpoint/checkpoint_reader.py +0 -0
  267. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/checkpoint/cursor.py +0 -0
  268. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/checkpoint/per_partition_key_serializer.py +0 -0
  269. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/checkpoint/resumable_full_refresh_cursor.py +0 -0
  270. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/checkpoint/substream_resumable_full_refresh_cursor.py +0 -0
  271. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/README.md +0 -0
  272. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/__init__.py +0 -0
  273. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/abstract_stream_facade.py +0 -0
  274. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/default_stream.py +0 -0
  275. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/exceptions.py +0 -0
  276. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/helpers.py +0 -0
  277. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/partition_enqueuer.py +0 -0
  278. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/partition_reader.py +0 -0
  279. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/partitions/__init__.py +0 -0
  280. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/partitions/partition_generator.py +0 -0
  281. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/partitions/stream_slicer.py +0 -0
  282. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/state_converters/__init__.py +0 -0
  283. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/state_converters/abstract_stream_state_converter.py +0 -0
  284. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/concurrent/state_converters/datetime_stream_state_converter.py +1 -1
  285. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/__init__.py +0 -0
  286. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/availability_strategy.py +0 -0
  287. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/__init__.py +0 -0
  288. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/backoff_strategy.py +0 -0
  289. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/default_backoff_strategy.py +0 -0
  290. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/error_handler.py +0 -0
  291. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/error_handlers/error_message_parser.py +0 -0
  292. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/exceptions.py +0 -0
  293. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/rate_limiting.py +0 -0
  294. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py +0 -0
  295. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_token.py +0 -0
  296. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/http/requests_native_auth/token.py +0 -0
  297. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/streams/utils/__init__.py +0 -0
  298. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/utils/__init__.py +0 -0
  299. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/utils/casing.py +0 -0
  300. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/utils/record_helper.py +0 -0
  301. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/utils/slice_logger.py +0 -0
  302. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/utils/transform.py +0 -0
  303. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sources/utils/types.py +0 -0
  304. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/__init__.py +0 -0
  305. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/_util/__init__.py +0 -0
  306. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/_util/hashing.py +0 -0
  307. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/_util/name_normalizers.py +0 -0
  308. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/constants.py +0 -0
  309. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/exceptions.py +0 -0
  310. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/shared/__init__.py +0 -0
  311. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/shared/catalog_providers.py +0 -0
  312. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/sql/types.py +0 -0
  313. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/__init__.py +0 -0
  314. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/catalog_builder.py +0 -0
  315. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/mock_http/__init__.py +0 -0
  316. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/mock_http/matcher.py +0 -0
  317. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/mock_http/request.py +0 -0
  318. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/mock_http/response.py +0 -0
  319. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/mock_http/response_builder.py +0 -0
  320. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/state_builder.py +0 -0
  321. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/utils/__init__.py +0 -0
  322. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/utils/data.py +0 -0
  323. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/utils/http_mocking.py +0 -0
  324. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/test/utils/reading.py +0 -0
  325. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/__init__.py +0 -0
  326. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/airbyte_secrets_utils.py +0 -0
  327. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/analytics_message.py +0 -0
  328. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/constants.py +0 -0
  329. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/datetime_format_inferrer.py +0 -0
  330. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/event_timing.py +0 -0
  331. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/is_cloud_environment.py +0 -0
  332. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/mapping_helpers.py +0 -0
  333. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/message_utils.py +0 -0
  334. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/oneof_option_config.py +0 -0
  335. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/print_buffer.py +0 -0
  336. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/spec_schema_transformations.py +0 -0
  337. {airbyte_cdk-6.7.1rc4 → airbyte_cdk-6.7.2}/airbyte_cdk/utils/stream_status_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.7.1rc4
3
+ Version: 6.7.2
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -25,7 +25,7 @@ Requires-Dist: Deprecated (>=1.2,<1.3)
25
25
  Requires-Dist: Jinja2 (>=3.1.2,<3.2.0)
26
26
  Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
27
27
  Requires-Dist: Sphinx (>=4.2,<4.3) ; extra == "sphinx-docs"
28
- Requires-Dist: airbyte-protocol-models-dataclasses (>=0.13,<0.14)
28
+ Requires-Dist: airbyte-protocol-models-dataclasses (>=0.14,<0.15)
29
29
  Requires-Dist: avro (>=1.11.2,<1.12.0) ; extra == "file-based"
30
30
  Requires-Dist: backoff
31
31
  Requires-Dist: cachetools
@@ -170,6 +170,13 @@ Installing all extras is required to run the full suite of unit tests.
170
170
 
171
171
  To see all available scripts, run `poetry run poe`.
172
172
 
173
+ #### Formatting the code
174
+
175
+ - Iterate on the CDK code locally
176
+ - Run `poetry run ruff format` to format your changes.
177
+
178
+ To see all available `ruff` options, run `poetry run ruff`.
179
+
173
180
  ##### Autogenerated files
174
181
 
175
182
  Low-code CDK models are generated from `sources/declarative/declarative_component_schema.yaml`. If
@@ -93,6 +93,13 @@ Installing all extras is required to run the full suite of unit tests.
93
93
 
94
94
  To see all available scripts, run `poetry run poe`.
95
95
 
96
+ #### Formatting the code
97
+
98
+ - Iterate on the CDK code locally
99
+ - Run `poetry run ruff format` to format your changes.
100
+
101
+ To see all available `ruff` options, run `poetry run ruff`.
102
+
96
103
  ##### Autogenerated files
97
104
 
98
105
  Low-code CDK models are generated from `sources/declarative/declarative_component_schema.yaml`. If
@@ -25,6 +25,8 @@ from datetime import datetime
25
25
  from pathlib import Path
26
26
  from typing import Any, cast
27
27
 
28
+ from orjson import orjson
29
+
28
30
  from airbyte_cdk.entrypoint import AirbyteEntrypoint, launch
29
31
  from airbyte_cdk.models import (
30
32
  AirbyteErrorTraceMessage,
@@ -42,7 +44,6 @@ from airbyte_cdk.sources.declarative.concurrent_declarative_source import (
42
44
  )
43
45
  from airbyte_cdk.sources.declarative.yaml_declarative_source import YamlDeclarativeSource
44
46
  from airbyte_cdk.sources.source import TState
45
- from orjson import orjson
46
47
 
47
48
 
48
49
  class SourceLocalYaml(YamlDeclarativeSource):
@@ -10,6 +10,8 @@ import time
10
10
  from copy import copy
11
11
  from typing import Any, List, MutableMapping
12
12
 
13
+ from orjson import orjson
14
+
13
15
  from airbyte_cdk.models import (
14
16
  AirbyteControlConnectorConfigMessage,
15
17
  AirbyteControlMessage,
@@ -18,7 +20,6 @@ from airbyte_cdk.models import (
18
20
  OrchestratorType,
19
21
  Type,
20
22
  )
21
- from orjson import orjson
22
23
 
23
24
 
24
25
  class ObservedDict(dict): # type: ignore # disallow_any_generics is set to True, and dict is equivalent to dict[Any]
@@ -11,6 +11,7 @@ from abc import ABC, abstractmethod
11
11
  from typing import Any, Generic, Mapping, Optional, Protocol, TypeVar
12
12
 
13
13
  import yaml
14
+
14
15
  from airbyte_cdk.models import (
15
16
  AirbyteConnectionStatus,
16
17
  ConnectorSpecification,
@@ -12,8 +12,8 @@ from airbyte_cdk.models import (
12
12
  AirbyteRecordMessage,
13
13
  AirbyteStateMessage,
14
14
  ConfiguredAirbyteCatalog,
15
+ Type,
15
16
  )
16
- from airbyte_cdk.models import Type
17
17
  from airbyte_cdk.models import Type as MessageType
18
18
  from airbyte_cdk.sources.declarative.declarative_source import DeclarativeSource
19
19
  from airbyte_cdk.sources.declarative.manifest_declarative_source import ManifestDeclarativeSource
@@ -6,6 +6,8 @@
6
6
  import sys
7
7
  from typing import Any, List, Mapping, Optional, Tuple
8
8
 
9
+ from orjson import orjson
10
+
9
11
  from airbyte_cdk.connector import BaseConnector
10
12
  from airbyte_cdk.connector_builder.connector_builder_handler import (
11
13
  TestReadLimits,
@@ -25,7 +27,6 @@ from airbyte_cdk.models import (
25
27
  from airbyte_cdk.sources.declarative.manifest_declarative_source import ManifestDeclarativeSource
26
28
  from airbyte_cdk.sources.source import Source
27
29
  from airbyte_cdk.utils.traced_exception import AirbyteTracedException
28
- from orjson import orjson
29
30
 
30
31
 
31
32
  def get_config_and_catalog_from_args(
@@ -9,6 +9,8 @@ import sys
9
9
  from abc import ABC, abstractmethod
10
10
  from typing import Any, Iterable, List, Mapping
11
11
 
12
+ from orjson import orjson
13
+
12
14
  from airbyte_cdk.connector import Connector
13
15
  from airbyte_cdk.exception_handler import init_uncaught_exception_handler
14
16
  from airbyte_cdk.models import (
@@ -20,7 +22,6 @@ from airbyte_cdk.models import (
20
22
  )
21
23
  from airbyte_cdk.sources.utils.schema_helpers import check_config_against_spec_or_exit
22
24
  from airbyte_cdk.utils.traced_exception import AirbyteTracedException
23
- from orjson import orjson
24
25
 
25
26
  logger = logging.getLogger("airbyte")
26
27
 
@@ -5,9 +5,10 @@
5
5
  from typing import Any, Dict, List, Literal, Optional, Union
6
6
 
7
7
  import dpath
8
+ from pydantic.v1 import BaseModel, Field
9
+
8
10
  from airbyte_cdk.utils.oneof_option_config import OneOfOptionConfig
9
11
  from airbyte_cdk.utils.spec_schema_transformations import resolve_refs
10
- from pydantic.v1 import BaseModel, Field
11
12
 
12
13
 
13
14
  class SeparatorSplitterConfigModel(BaseModel):
@@ -8,6 +8,10 @@ from dataclasses import dataclass
8
8
  from typing import Any, Dict, List, Mapping, Optional, Tuple
9
9
 
10
10
  import dpath
11
+ from langchain.text_splitter import Language, RecursiveCharacterTextSplitter
12
+ from langchain.utils import stringify_dict
13
+ from langchain_core.documents.base import Document
14
+
11
15
  from airbyte_cdk.destinations.vector_db_based.config import (
12
16
  ProcessingConfigModel,
13
17
  SeparatorSplitterConfigModel,
@@ -21,9 +25,6 @@ from airbyte_cdk.models import (
21
25
  DestinationSyncMode,
22
26
  )
23
27
  from airbyte_cdk.utils.traced_exception import AirbyteTracedException, FailureType
24
- from langchain.text_splitter import Language, RecursiveCharacterTextSplitter
25
- from langchain.utils import stringify_dict
26
- from langchain_core.documents.base import Document
27
28
 
28
29
  METADATA_STREAM_FIELD = "_ab_stream"
29
30
  METADATA_RECORD_ID_FIELD = "_ab_record_id"
@@ -7,6 +7,11 @@ from abc import ABC, abstractmethod
7
7
  from dataclasses import dataclass
8
8
  from typing import List, Optional, Union, cast
9
9
 
10
+ from langchain.embeddings.cohere import CohereEmbeddings
11
+ from langchain.embeddings.fake import FakeEmbeddings
12
+ from langchain.embeddings.localai import LocalAIEmbeddings
13
+ from langchain.embeddings.openai import OpenAIEmbeddings
14
+
10
15
  from airbyte_cdk.destinations.vector_db_based.config import (
11
16
  AzureOpenAIEmbeddingConfigModel,
12
17
  CohereEmbeddingConfigModel,
@@ -19,10 +24,6 @@ from airbyte_cdk.destinations.vector_db_based.config import (
19
24
  from airbyte_cdk.destinations.vector_db_based.utils import create_chunks, format_exception
20
25
  from airbyte_cdk.models import AirbyteRecordMessage
21
26
  from airbyte_cdk.utils.traced_exception import AirbyteTracedException, FailureType
22
- from langchain.embeddings.cohere import CohereEmbeddings
23
- from langchain.embeddings.fake import FakeEmbeddings
24
- from langchain.embeddings.localai import LocalAIEmbeddings
25
- from langchain.embeddings.openai import OpenAIEmbeddings
26
27
 
27
28
 
28
29
  @dataclass
@@ -16,6 +16,9 @@ from typing import Any, DefaultDict, Iterable, List, Mapping, Optional
16
16
  from urllib.parse import urlparse
17
17
 
18
18
  import requests
19
+ from orjson import orjson
20
+ from requests import PreparedRequest, Response, Session
21
+
19
22
  from airbyte_cdk.connector import TConfig
20
23
  from airbyte_cdk.exception_handler import init_uncaught_exception_handler
21
24
  from airbyte_cdk.logger import init_logger
@@ -38,8 +41,6 @@ from airbyte_cdk.utils import is_cloud_environment, message_utils
38
41
  from airbyte_cdk.utils.airbyte_secrets_utils import get_secrets, update_secrets
39
42
  from airbyte_cdk.utils.constants import ENV_REQUEST_CACHE_PATH
40
43
  from airbyte_cdk.utils.traced_exception import AirbyteTracedException
41
- from orjson import orjson
42
- from requests import PreparedRequest, Response, Session
43
44
 
44
45
  logger = init_logger("airbyte")
45
46
 
@@ -7,6 +7,8 @@ import logging
7
7
  import logging.config
8
8
  from typing import Any, Callable, Mapping, Optional, Tuple
9
9
 
10
+ from orjson import orjson
11
+
10
12
  from airbyte_cdk.models import (
11
13
  AirbyteLogMessage,
12
14
  AirbyteMessage,
@@ -15,7 +17,6 @@ from airbyte_cdk.models import (
15
17
  Type,
16
18
  )
17
19
  from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets
18
- from orjson import orjson
19
20
 
20
21
  LOGGING_CONFIG = {
21
22
  "version": 1,
@@ -39,7 +39,9 @@ from .airbyte_protocol import (
39
39
  FailureType,
40
40
  Level,
41
41
  OAuthConfigSpecification,
42
+ OauthConnectorInputSpecification,
42
43
  OrchestratorType,
44
+ State,
43
45
  Status,
44
46
  StreamDescriptor,
45
47
  SyncMode,
@@ -5,10 +5,11 @@
5
5
  from dataclasses import InitVar, dataclass
6
6
  from typing import Annotated, Any, Dict, List, Mapping, Optional, Union
7
7
 
8
- from airbyte_cdk.models.file_transfer_record_message import AirbyteFileTransferRecordMessage
9
8
  from airbyte_protocol_dataclasses.models import * # noqa: F403 # Allow '*'
10
9
  from serpyco_rs.metadata import Alias
11
10
 
11
+ from airbyte_cdk.models.file_transfer_record_message import AirbyteFileTransferRecordMessage
12
+
12
13
  # ruff: noqa: F405 # ignore fuzzy import issues with 'import *'
13
14
 
14
15
 
@@ -17,8 +17,8 @@ from airbyte_cdk.sources.streams.concurrent.abstract_stream import AbstractStrea
17
17
  from airbyte_cdk.sources.streams.concurrent.partition_enqueuer import PartitionEnqueuer
18
18
  from airbyte_cdk.sources.streams.concurrent.partition_reader import PartitionReader
19
19
  from airbyte_cdk.sources.streams.concurrent.partitions.partition import Partition
20
- from airbyte_cdk.sources.streams.concurrent.partitions.record import Record
21
20
  from airbyte_cdk.sources.streams.concurrent.partitions.types import PartitionCompleteSentinel
21
+ from airbyte_cdk.sources.types import Record
22
22
  from airbyte_cdk.sources.utils.record_helper import stream_data_to_airbyte_message
23
23
  from airbyte_cdk.sources.utils.slice_logger import SliceLogger
24
24
  from airbyte_cdk.utils import AirbyteTracedException
@@ -147,11 +147,11 @@ class ConcurrentReadProcessor:
147
147
  # AbstractStreams are expected to return data as they are expected.
148
148
  # Any transformation on the data should be done before reaching this point
149
149
  message = stream_data_to_airbyte_message(
150
- stream_name=record.partition.stream_name(),
150
+ stream_name=record.stream_name,
151
151
  data_or_message=record.data,
152
152
  is_file_transfer_message=record.is_file_transfer_message,
153
153
  )
154
- stream = self._stream_name_to_instance[record.partition.stream_name()]
154
+ stream = self._stream_name_to_instance[record.stream_name]
155
155
 
156
156
  if message.type == MessageType.RECORD:
157
157
  if self._record_counter[stream.name] == 0:
@@ -18,11 +18,11 @@ from airbyte_cdk.sources.streams.concurrent.abstract_stream import AbstractStrea
18
18
  from airbyte_cdk.sources.streams.concurrent.partition_enqueuer import PartitionEnqueuer
19
19
  from airbyte_cdk.sources.streams.concurrent.partition_reader import PartitionReader
20
20
  from airbyte_cdk.sources.streams.concurrent.partitions.partition import Partition
21
- from airbyte_cdk.sources.streams.concurrent.partitions.record import Record
22
21
  from airbyte_cdk.sources.streams.concurrent.partitions.types import (
23
22
  PartitionCompleteSentinel,
24
23
  QueueItem,
25
24
  )
25
+ from airbyte_cdk.sources.types import Record
26
26
  from airbyte_cdk.sources.utils.slice_logger import DebugSliceLogger, SliceLogger
27
27
 
28
28
 
@@ -4,9 +4,10 @@
4
4
 
5
5
  from typing import Any, Dict
6
6
 
7
- from airbyte_cdk.sources.utils.schema_helpers import expand_refs, rename_key
8
7
  from pydantic.v1 import BaseModel
9
8
 
9
+ from airbyte_cdk.sources.utils.schema_helpers import expand_refs, rename_key
10
+
10
11
 
11
12
  class BaseConfig(BaseModel):
12
13
  """Base class for connector spec, adds the following behaviour:
@@ -8,6 +8,7 @@ from datetime import datetime
8
8
  from typing import Any, Mapping, Optional, Union
9
9
 
10
10
  import jwt
11
+
11
12
  from airbyte_cdk.sources.declarative.auth.declarative_authenticator import DeclarativeAuthenticator
12
13
  from airbyte_cdk.sources.declarative.interpolation.interpolated_boolean import InterpolatedBoolean
13
14
  from airbyte_cdk.sources.declarative.interpolation.interpolated_mapping import InterpolatedMapping
@@ -6,6 +6,7 @@ from dataclasses import InitVar, dataclass, field
6
6
  from typing import Any, List, Mapping, Optional, Union
7
7
 
8
8
  import pendulum
9
+
9
10
  from airbyte_cdk.sources.declarative.auth.declarative_authenticator import DeclarativeAuthenticator
10
11
  from airbyte_cdk.sources.declarative.interpolation.interpolated_mapping import InterpolatedMapping
11
12
  from airbyte_cdk.sources.declarative.interpolation.interpolated_string import InterpolatedString
@@ -6,6 +6,7 @@ from dataclasses import dataclass
6
6
  from typing import Any, List, Mapping
7
7
 
8
8
  import dpath
9
+
9
10
  from airbyte_cdk.sources.declarative.auth.declarative_authenticator import DeclarativeAuthenticator
10
11
 
11
12
 
@@ -8,6 +8,8 @@ from dataclasses import InitVar, dataclass
8
8
  from typing import Any, Mapping, Union
9
9
 
10
10
  import requests
11
+ from cachetools import TTLCache, cached
12
+
11
13
  from airbyte_cdk.sources.declarative.auth.declarative_authenticator import DeclarativeAuthenticator
12
14
  from airbyte_cdk.sources.declarative.auth.token_provider import TokenProvider
13
15
  from airbyte_cdk.sources.declarative.interpolation.interpolated_string import InterpolatedString
@@ -16,7 +18,6 @@ from airbyte_cdk.sources.declarative.requesters.request_option import (
16
18
  RequestOptionType,
17
19
  )
18
20
  from airbyte_cdk.sources.types import Config
19
- from cachetools import TTLCache, cached
20
21
 
21
22
 
22
23
  @dataclass
@@ -10,6 +10,9 @@ from typing import Any, List, Mapping, Optional, Union
10
10
 
11
11
  import dpath
12
12
  import pendulum
13
+ from isodate import Duration
14
+ from pendulum import DateTime
15
+
13
16
  from airbyte_cdk.sources.declarative.decoders.decoder import Decoder
14
17
  from airbyte_cdk.sources.declarative.decoders.json_decoder import JsonDecoder
15
18
  from airbyte_cdk.sources.declarative.exceptions import ReadException
@@ -18,8 +21,6 @@ from airbyte_cdk.sources.declarative.requesters.requester import Requester
18
21
  from airbyte_cdk.sources.http_logger import format_http_message
19
22
  from airbyte_cdk.sources.message import MessageRepository, NoopMessageRepository
20
23
  from airbyte_cdk.sources.types import Config
21
- from isodate import Duration
22
- from pendulum import DateTime
23
24
 
24
25
 
25
26
  class TokenProvider:
@@ -3,7 +3,7 @@
3
3
  #
4
4
 
5
5
  import logging
6
- from typing import Any, Generic, Iterator, List, Mapping, Optional, Tuple, Union, Callable
6
+ from typing import Any, Callable, Generic, Iterator, List, Mapping, Optional, Tuple, Union
7
7
 
8
8
  from airbyte_cdk.models import (
9
9
  AirbyteCatalog,
@@ -27,14 +27,16 @@ from airbyte_cdk.sources.declarative.models.declarative_component_schema import
27
27
  )
28
28
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
29
29
  DatetimeBasedCursor as DatetimeBasedCursorModel,
30
+ )
31
+ from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
30
32
  DeclarativeStream as DeclarativeStreamModel,
31
33
  )
32
34
  from airbyte_cdk.sources.declarative.parsers.model_to_component_factory import (
33
- ModelToComponentFactory,
34
35
  ComponentDefinition,
36
+ ModelToComponentFactory,
35
37
  )
36
38
  from airbyte_cdk.sources.declarative.requesters import HttpRequester
37
- from airbyte_cdk.sources.declarative.retrievers import SimpleRetriever, Retriever
39
+ from airbyte_cdk.sources.declarative.retrievers import Retriever, SimpleRetriever
38
40
  from airbyte_cdk.sources.declarative.stream_slicers.declarative_partition_generator import (
39
41
  DeclarativePartitionFactory,
40
42
  StreamSlicerPartitionGenerator,
@@ -42,7 +44,6 @@ from airbyte_cdk.sources.declarative.stream_slicers.declarative_partition_genera
42
44
  from airbyte_cdk.sources.declarative.transformations.add_fields import AddFields
43
45
  from airbyte_cdk.sources.declarative.types import ConnectionDefinition
44
46
  from airbyte_cdk.sources.source import TState
45
- from airbyte_cdk.sources.types import Config, StreamState
46
47
  from airbyte_cdk.sources.streams import Stream
47
48
  from airbyte_cdk.sources.streams.concurrent.abstract_stream import AbstractStream
48
49
  from airbyte_cdk.sources.streams.concurrent.availability_strategy import (
@@ -50,6 +51,7 @@ from airbyte_cdk.sources.streams.concurrent.availability_strategy import (
50
51
  )
51
52
  from airbyte_cdk.sources.streams.concurrent.default_stream import DefaultStream
52
53
  from airbyte_cdk.sources.streams.concurrent.helpers import get_primary_key_from_stream
54
+ from airbyte_cdk.sources.types import Config, StreamState
53
55
 
54
56
 
55
57
  class ConcurrentDeclarativeSource(ManifestDeclarativeSource, Generic[TState]):
@@ -1331,6 +1331,19 @@ definitions:
1331
1331
  $parameters:
1332
1332
  type: object
1333
1333
  additionalProperties: true
1334
+ ResponseToFileExtractor:
1335
+ title: CSV To File Extractor
1336
+ description: A record extractor designed for handling large responses that may exceed memory limits (to prevent OOM issues). It downloads a CSV file to disk, reads the data from disk, and deletes the file once it has been fully processed.
1337
+ type: object
1338
+ required:
1339
+ - type
1340
+ properties:
1341
+ type:
1342
+ type: string
1343
+ enum: [ResponseToFileExtractor]
1344
+ $parameters:
1345
+ type: object
1346
+ additionalProperties: true
1334
1347
  ExponentialBackoffStrategy:
1335
1348
  title: Exponential Backoff
1336
1349
  description: Backoff strategy with an exponential backoff interval. The interval is defined as factor * 2^attempt_count.
@@ -1972,6 +1985,173 @@ definitions:
1972
1985
  - app_id:
1973
1986
  type: string
1974
1987
  path_in_connector_config: ["info", "app_id"]
1988
+ oauth_connector_input_specification:
1989
+ title: DeclarativeOAuth Connector Specification
1990
+ description: |-
1991
+ The DeclarativeOAuth specific blob.
1992
+ Pertains to the fields defined by the connector relating to the OAuth flow.
1993
+
1994
+ Interpolation capabilities:
1995
+ - The variables placeholders are declared as `{my_var}`.
1996
+ - The nested resolution variables like `{{my_nested_var}}` is allowed as well.
1997
+
1998
+ - The allowed interpolation context is:
1999
+ + base64Encoder - encode to `base64`, {base64Encoder:{my_var_a}:{my_var_b}}
2000
+ + base64Decorer - decode from `base64` encoded string, {base64Decoder:{my_string_variable_or_string_value}}
2001
+ + urlEncoder - encode the input string to URL-like format, {urlEncoder:https://test.host.com/endpoint}
2002
+ + urlDecorer - decode the input url-encoded string into text format, {urlDecoder:https%3A%2F%2Fairbyte.io}
2003
+ + codeChallengeS256 - get the `codeChallenge` encoded value to provide additional data-provider specific authorisation values, {codeChallengeS256:{state_value}}
2004
+
2005
+ Examples:
2006
+ - The TikTok Marketing DeclarativeOAuth spec:
2007
+ {
2008
+ "oauth_connector_input_specification": {
2009
+ "type": "object",
2010
+ "additionalProperties": false,
2011
+ "properties": {
2012
+ "consent_url": "https://ads.tiktok.com/marketing_api/auth?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{state_key}={{state_key}}",
2013
+ "access_token_url": "https://business-api.tiktok.com/open_api/v1.3/oauth2/access_token/",
2014
+ "access_token_params": {
2015
+ "{auth_code_key}": "{{auth_code_key}}",
2016
+ "{client_id_key}": "{{client_id_key}}",
2017
+ "{client_secret_key}": "{{client_secret_key}}"
2018
+ },
2019
+ "access_token_headers": {
2020
+ "Content-Type": "application/json",
2021
+ "Accept": "application/json"
2022
+ },
2023
+ "extract_output": ["data.access_token"],
2024
+ "client_id_key": "app_id",
2025
+ "client_secret_key": "secret",
2026
+ "auth_code_key": "auth_code"
2027
+ }
2028
+ }
2029
+ }
2030
+ type: object
2031
+ additionalProperties: true
2032
+ required:
2033
+ - consent_url
2034
+ - access_token_url
2035
+ - extract_output
2036
+ properties:
2037
+ consent_url:
2038
+ title: DeclarativeOAuth Consent URL
2039
+ type: string
2040
+ description: |-
2041
+ The DeclarativeOAuth Specific string URL string template to initiate the authentication.
2042
+ The placeholders are replaced during the processing to provide neccessary values.
2043
+ examples:
2044
+ - consent_url: https://domain.host.com/marketing_api/auth?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{state_key}={{state_key}}
2045
+ - consent_url: https://endpoint.host.com/oauth2/authorize?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{scope_key}={urlEncoder:{{scope_key}}}&{state_key}={{state_key}}&subdomain={subdomain}
2046
+ scope:
2047
+ title: (Optional) DeclarativeOAuth Scope
2048
+ type: string
2049
+ description: |-
2050
+ The DeclarativeOAuth Specific string of the scopes needed to be grant for authenticated user.
2051
+ examples:
2052
+ - scope: user:read user:read_orders workspaces:read
2053
+ access_token_url:
2054
+ title: DeclarativeOAuth Access Token URL
2055
+ type: string
2056
+ description: |-
2057
+ The DeclarativeOAuth Specific URL templated string to obtain the `access_token`, `refresh_token` etc.
2058
+ The placeholders are replaced during the processing to provide neccessary values.
2059
+ examples:
2060
+ - access_token_url: https://auth.host.com/oauth2/token?{client_id_key}={{client_id_key}}&{client_secret_key}={{client_secret_key}}&{auth_code_key}={{auth_code_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}
2061
+ access_token_headers:
2062
+ title: (Optional) DeclarativeOAuth Access Token Headers
2063
+ type: object
2064
+ additionalProperties: true
2065
+ description: |-
2066
+ The DeclarativeOAuth Specific optional headers to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.
2067
+ examples:
2068
+ - access_token_headers: {
2069
+ "Authorization": "Basic {base64Encoder:{client_id}:{client_secret}}"
2070
+ }
2071
+ access_token_params:
2072
+ title: (Optional) DeclarativeOAuth Access Token Query Params (Json Encoded)
2073
+ type: object
2074
+ additionalProperties: true
2075
+ description: |-
2076
+ The DeclarativeOAuth Specific optional query parameters to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.
2077
+ When this property is provided, the query params will be encoded as `Json` and included in the outgoing API request.
2078
+ examples:
2079
+ - access_token_params: {
2080
+ "{auth_code_key}": "{{auth_code_key}}",
2081
+ "{client_id_key}": "{{client_id_key}}",
2082
+ "{client_secret_key}": "{{client_secret_key}}"
2083
+ }
2084
+ extract_output:
2085
+ title: DeclarativeOAuth Extract Output
2086
+ type: array
2087
+ items:
2088
+ type: string
2089
+ description: |-
2090
+ The DeclarativeOAuth Specific list of strings to indicate which keys should be extracted and returned back to the input config.
2091
+ examples:
2092
+ - extract_output: ["access_token", "refresh_token", "other_field"]
2093
+ state:
2094
+ title: (Optional) DeclarativeOAuth Configurable State Query Param
2095
+ type: object
2096
+ additionalProperties: true
2097
+ required:
2098
+ - min
2099
+ - max
2100
+ description: |-
2101
+ The DeclarativeOAuth Specific object to provide the criteria of how the `state` query param should be constructed,
2102
+ including length and complexity.
2103
+ properties:
2104
+ min:
2105
+ type: integer
2106
+ max:
2107
+ type: integer
2108
+ examples:
2109
+ - state: {
2110
+ "min": 7,
2111
+ "max": 128,
2112
+ }
2113
+ client_id_key:
2114
+ title: (Optional) DeclarativeOAuth Client ID Key Override
2115
+ type: string
2116
+ description: |-
2117
+ The DeclarativeOAuth Specific optional override to provide the custom `client_id` key name, if required by data-provider.
2118
+ examples:
2119
+ - client_id_key: "my_custom_client_id_key_name"
2120
+ client_secret_key:
2121
+ title: (Optional) DeclarativeOAuth Client Secret Key Override
2122
+ type: string
2123
+ description: |-
2124
+ The DeclarativeOAuth Specific optional override to provide the custom `client_secret` key name, if required by data-provider.
2125
+ examples:
2126
+ - client_secret_key: "my_custom_client_secret_key_name"
2127
+ scope_key:
2128
+ title: (Optional) DeclarativeOAuth Scope Key Override
2129
+ type: string
2130
+ description: |-
2131
+ The DeclarativeOAuth Specific optional override to provide the custom `scope` key name, if required by data-provider.
2132
+ examples:
2133
+ - scope_key: "my_custom_scope_key_key_name"
2134
+ state_key:
2135
+ title: (Optional) DeclarativeOAuth State Key Override
2136
+ type: string
2137
+ description: |-
2138
+ The DeclarativeOAuth Specific optional override to provide the custom `state` key name, if required by data-provider.
2139
+ examples:
2140
+ - state_key: "my_custom_state_key_key_name"
2141
+ auth_code_key:
2142
+ title: (Optional) DeclarativeOAuth Auth Code Key Override
2143
+ type: string
2144
+ description: |-
2145
+ The DeclarativeOAuth Specific optional override to provide the custom `code` key name to something like `auth_code` or `custom_auth_code`, if required by data-provider.
2146
+ examples:
2147
+ - auth_code_key: "my_custom_auth_code_key_name"
2148
+ redirect_uri_key:
2149
+ title: (Optional) DeclarativeOAuth Redirect URI Key Override
2150
+ type: string
2151
+ description: |-
2152
+ The DeclarativeOAuth Specific optional override to provide the custom `redirect_uri` key name to something like `callback_uri`, if required by data-provider.
2153
+ examples:
2154
+ - redirect_uri_key: "my_custom_redirect_uri_key_name"
1975
2155
  complete_oauth_output_specification:
1976
2156
  title: "OAuth output specification"
1977
2157
  description: |-
@@ -2513,6 +2693,12 @@ definitions:
2513
2693
  anyOf:
2514
2694
  - "$ref": "#/definitions/CustomRecordExtractor"
2515
2695
  - "$ref": "#/definitions/DpathExtractor"
2696
+ download_extractor:
2697
+ description: Responsible for fetching the records from provided urls.
2698
+ anyOf:
2699
+ - "$ref": "#/definitions/CustomRecordExtractor"
2700
+ - "$ref": "#/definitions/DpathExtractor"
2701
+ - "$ref": "#/definitions/ResponseToFileExtractor"
2516
2702
  creation_requester:
2517
2703
  description: Requester component that describes how to prepare HTTP requests to send to the source API to create the async server-side job.
2518
2704
  anyOf:
@@ -2567,6 +2753,16 @@ definitions:
2567
2753
  - "$ref": "#/definitions/IterableDecoder"
2568
2754
  - "$ref": "#/definitions/XmlDecoder"
2569
2755
  - "$ref": "#/definitions/GzipJsonDecoder"
2756
+ download_decoder:
2757
+ title: Download Decoder
2758
+ description: Component decoding the download response so records can be extracted.
2759
+ anyOf:
2760
+ - "$ref": "#/definitions/CustomDecoder"
2761
+ - "$ref": "#/definitions/JsonDecoder"
2762
+ - "$ref": "#/definitions/JsonlDecoder"
2763
+ - "$ref": "#/definitions/IterableDecoder"
2764
+ - "$ref": "#/definitions/XmlDecoder"
2765
+ - "$ref": "#/definitions/GzipJsonDecoder"
2570
2766
  $parameters:
2571
2767
  type: object
2572
2768
  additionalProperties: true
@@ -5,11 +5,12 @@ import codecs
5
5
  import logging
6
6
  from dataclasses import InitVar, dataclass
7
7
  from gzip import decompress
8
- from typing import Any, Generator, Mapping, MutableMapping, List, Optional
8
+ from typing import Any, Generator, List, Mapping, MutableMapping, Optional
9
9
 
10
+ import orjson
10
11
  import requests
12
+
11
13
  from airbyte_cdk.sources.declarative.decoders.decoder import Decoder
12
- import orjson
13
14
 
14
15
  logger = logging.getLogger("airbyte")
15
16