airbyte-cdk 6.12.4__tar.gz → 6.13.0__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 (349) hide show
  1. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/PKG-INFO +2 -2
  2. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/__init__.py +93 -34
  3. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/cli/source_declarative_manifest/__init__.py +0 -1
  4. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/models/__init__.py +10 -11
  5. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/async_job/job_orchestrator.py +1 -1
  6. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/auth/__init__.py +2 -5
  7. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +55 -0
  8. airbyte_cdk-6.13.0/airbyte_cdk/sources/declarative/decoders/__init__.py +29 -0
  9. airbyte_cdk-6.13.0/airbyte_cdk/sources/declarative/decoders/composite_raw_decoder.py +97 -0
  10. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/extractors/__init__.py +10 -2
  11. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/incremental/__init__.py +10 -3
  12. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/models/declarative_component_schema.py +24 -0
  13. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +43 -0
  14. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/partition_routers/__init__.py +16 -6
  15. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/__init__.py +19 -5
  16. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +3 -1
  17. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py +14 -3
  18. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/__init__.py +9 -3
  19. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py +3 -1
  20. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/stop_condition.py +4 -1
  21. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_options/__init__.py +12 -3
  22. airbyte_cdk-6.13.0/airbyte_cdk/sources/declarative/resolvers/__init__.py +41 -0
  23. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/retrievers/__init__.py +5 -2
  24. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/retrievers/async_retriever.py +1 -1
  25. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/schema/__init__.py +14 -2
  26. airbyte_cdk-6.13.0/airbyte_cdk/sources/file_based/availability_strategy/__init__.py +11 -0
  27. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/discovery_policy/__init__.py +6 -2
  28. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/__init__.py +12 -3
  29. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/schema_validation_policies/__init__.py +3 -1
  30. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/__init__.py +5 -1
  31. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/message/__init__.py +7 -1
  32. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/__init__.py +1 -1
  33. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/checkpoint/__init__.py +2 -3
  34. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/__init__.py +2 -2
  35. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/mock_http/mocker.py +3 -1
  36. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/mock_http/response_builder.py +1 -1
  37. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/pyproject.toml +1 -3
  38. airbyte_cdk-6.12.4/airbyte_cdk/sources/declarative/decoders/__init__.py +0 -11
  39. airbyte_cdk-6.12.4/airbyte_cdk/sources/declarative/resolvers/__init__.py +0 -18
  40. airbyte_cdk-6.12.4/airbyte_cdk/sources/file_based/availability_strategy/__init__.py +0 -4
  41. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/LICENSE.txt +0 -0
  42. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/README.md +0 -0
  43. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/cli/__init__.py +0 -0
  44. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/cli/source_declarative_manifest/_run.py +0 -0
  45. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/cli/source_declarative_manifest/spec.json +0 -0
  46. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/config_observation.py +0 -0
  47. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/connector.py +0 -0
  48. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/connector_builder/README.md +0 -0
  49. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/connector_builder/__init__.py +0 -0
  50. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/connector_builder/connector_builder_handler.py +0 -0
  51. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/connector_builder/main.py +0 -0
  52. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/connector_builder/message_grouper.py +0 -0
  53. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/connector_builder/models.py +0 -0
  54. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/__init__.py +0 -0
  55. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/destination.py +0 -0
  56. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/README.md +0 -0
  57. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/__init__.py +0 -0
  58. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/config.py +0 -0
  59. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/document_processor.py +0 -0
  60. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/embedder.py +0 -0
  61. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/indexer.py +0 -0
  62. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/test_utils.py +0 -0
  63. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/utils.py +0 -0
  64. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/destinations/vector_db_based/writer.py +0 -0
  65. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/entrypoint.py +0 -0
  66. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/exception_handler.py +0 -0
  67. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/logger.py +0 -0
  68. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/models/airbyte_protocol.py +0 -0
  69. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/models/airbyte_protocol_serializers.py +0 -0
  70. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/models/file_transfer_record_message.py +0 -0
  71. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/models/well_known_types.py +0 -0
  72. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/py.typed +0 -0
  73. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/__init__.py +0 -0
  74. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/abstract_source.py +0 -0
  75. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/concurrent_source/__init__.py +0 -0
  76. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/concurrent_source/concurrent_read_processor.py +0 -0
  77. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/concurrent_source/concurrent_source.py +0 -0
  78. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/concurrent_source/concurrent_source_adapter.py +0 -0
  79. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/concurrent_source/partition_generation_completed_sentinel.py +0 -0
  80. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/concurrent_source/stream_thread_exception.py +0 -0
  81. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/concurrent_source/thread_pool_manager.py +0 -0
  82. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/config.py +0 -0
  83. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/connector_state_manager.py +0 -0
  84. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/__init__.py +0 -0
  85. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/async_job/__init__.py +0 -0
  86. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/async_job/job.py +0 -0
  87. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/async_job/job_tracker.py +0 -0
  88. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/async_job/repository.py +0 -0
  89. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/async_job/status.py +0 -0
  90. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/async_job/timer.py +0 -0
  91. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/auth/declarative_authenticator.py +0 -0
  92. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/auth/jwt.py +0 -0
  93. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/auth/oauth.py +0 -0
  94. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/auth/selective_authenticator.py +0 -0
  95. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/auth/token.py +0 -0
  96. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/auth/token_provider.py +0 -0
  97. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/checks/__init__.py +0 -0
  98. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/checks/check_stream.py +0 -0
  99. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/checks/connection_checker.py +0 -0
  100. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/concurrency_level/__init__.py +0 -0
  101. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/concurrency_level/concurrency_level.py +0 -0
  102. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/concurrent_declarative_source.py +0 -0
  103. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/datetime/__init__.py +0 -0
  104. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/datetime/datetime_parser.py +0 -0
  105. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/datetime/min_max_datetime.py +0 -0
  106. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/declarative_source.py +0 -0
  107. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/declarative_stream.py +0 -0
  108. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/decoders/decoder.py +0 -0
  109. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/decoders/json_decoder.py +0 -0
  110. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/decoders/noop_decoder.py +0 -0
  111. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/decoders/pagination_decoder_decorator.py +0 -0
  112. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/decoders/xml_decoder.py +0 -0
  113. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/exceptions.py +0 -0
  114. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/extractors/dpath_extractor.py +0 -0
  115. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/extractors/http_selector.py +0 -0
  116. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/extractors/record_extractor.py +0 -0
  117. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/extractors/record_filter.py +0 -0
  118. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/extractors/record_selector.py +0 -0
  119. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py +0 -0
  120. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py +0 -0
  121. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/incremental/declarative_cursor.py +0 -0
  122. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/incremental/global_substream_cursor.py +0 -0
  123. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/incremental/per_partition_cursor.py +0 -0
  124. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/incremental/per_partition_with_global.py +0 -0
  125. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/incremental/resumable_full_refresh_cursor.py +0 -0
  126. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/__init__.py +0 -0
  127. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/filters.py +0 -0
  128. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_boolean.py +0 -0
  129. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py +0 -0
  130. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_nested_mapping.py +0 -0
  131. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py +0 -0
  132. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/interpolation.py +0 -0
  133. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/jinja.py +0 -0
  134. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/interpolation/macros.py +0 -0
  135. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/manifest_declarative_source.py +0 -0
  136. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/migrations/__init__.py +0 -0
  137. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/migrations/legacy_to_per_partition_state_migration.py +0 -0
  138. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/migrations/state_migration.py +0 -0
  139. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/models/__init__.py +0 -0
  140. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/parsers/__init__.py +0 -0
  141. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/parsers/custom_exceptions.py +0 -0
  142. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py +0 -0
  143. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/parsers/manifest_reference_resolver.py +0 -0
  144. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/partition_routers/async_job_partition_router.py +0 -0
  145. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/partition_routers/cartesian_product_stream_slicer.py +0 -0
  146. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/partition_routers/list_partition_router.py +0 -0
  147. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/partition_routers/partition_router.py +0 -0
  148. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/partition_routers/single_partition_router.py +0 -0
  149. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/partition_routers/substream_partition_router.py +0 -0
  150. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/__init__.py +0 -0
  151. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/constant_backoff_strategy.py +0 -0
  152. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/exponential_backoff_strategy.py +0 -0
  153. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/header_helper.py +0 -0
  154. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py +0 -0
  155. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_until_time_from_header_backoff_strategy.py +0 -0
  156. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategy.py +0 -0
  157. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/composite_error_handler.py +0 -0
  158. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py +0 -0
  159. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/default_http_response_filter.py +0 -0
  160. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/error_handler.py +0 -0
  161. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/http_response_filter.py +0 -0
  162. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/http_job_repository.py +0 -0
  163. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/http_requester.py +0 -0
  164. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/default_paginator.py +0 -0
  165. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py +0 -0
  166. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py +0 -0
  167. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/cursor_pagination_strategy.py +0 -0
  168. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/page_increment.py +0 -0
  169. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/pagination_strategy.py +0 -0
  170. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_option.py +0 -0
  171. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_options/datetime_based_request_options_provider.py +0 -0
  172. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_options/default_request_options_provider.py +0 -0
  173. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_nested_request_input_provider.py +0 -0
  174. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_input_provider.py +0 -0
  175. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_options_provider.py +0 -0
  176. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_options/request_options_provider.py +0 -0
  177. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/request_path.py +0 -0
  178. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/requesters/requester.py +0 -0
  179. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/resolvers/components_resolver.py +0 -0
  180. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/resolvers/config_components_resolver.py +0 -0
  181. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/resolvers/http_components_resolver.py +0 -0
  182. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/retrievers/retriever.py +0 -0
  183. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py +0 -0
  184. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/schema/default_schema_loader.py +0 -0
  185. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py +0 -0
  186. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/schema/inline_schema_loader.py +0 -0
  187. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/schema/json_file_schema_loader.py +0 -0
  188. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/schema/schema_loader.py +0 -0
  189. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/spec/__init__.py +0 -0
  190. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/spec/spec.py +0 -0
  191. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/stream_slicers/__init__.py +0 -0
  192. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/stream_slicers/declarative_partition_generator.py +0 -0
  193. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py +0 -0
  194. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/transformations/__init__.py +0 -0
  195. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/transformations/add_fields.py +0 -0
  196. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/transformations/flatten_fields.py +0 -0
  197. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/transformations/keys_to_lower_transformation.py +0 -0
  198. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/transformations/keys_to_snake_transformation.py +0 -0
  199. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/transformations/remove_fields.py +0 -0
  200. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/transformations/transformation.py +0 -0
  201. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/types.py +0 -0
  202. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/declarative/yaml_declarative_source.py +0 -0
  203. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/embedded/__init__.py +0 -0
  204. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/embedded/base_integration.py +0 -0
  205. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/embedded/catalog.py +0 -0
  206. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/embedded/runner.py +0 -0
  207. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/embedded/tools.py +0 -0
  208. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/README.md +0 -0
  209. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/__init__.py +0 -0
  210. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/availability_strategy/abstract_file_based_availability_strategy.py +0 -0
  211. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/availability_strategy/default_file_based_availability_strategy.py +0 -0
  212. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/__init__.py +0 -0
  213. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/abstract_file_based_spec.py +0 -0
  214. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/avro_format.py +0 -0
  215. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/csv_format.py +0 -0
  216. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/excel_format.py +0 -0
  217. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/file_based_stream_config.py +0 -0
  218. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/jsonl_format.py +0 -0
  219. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/parquet_format.py +0 -0
  220. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/config/unstructured_format.py +0 -0
  221. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/discovery_policy/abstract_discovery_policy.py +0 -0
  222. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/discovery_policy/default_discovery_policy.py +0 -0
  223. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/exceptions.py +0 -0
  224. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_based_source.py +0 -0
  225. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_based_stream_reader.py +0 -0
  226. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/avro_parser.py +0 -0
  227. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/csv_parser.py +0 -0
  228. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/excel_parser.py +0 -0
  229. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/file_transfer.py +0 -0
  230. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/file_type_parser.py +0 -0
  231. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/jsonl_parser.py +0 -0
  232. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/parquet_parser.py +0 -0
  233. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/file_types/unstructured_parser.py +0 -0
  234. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/remote_file.py +0 -0
  235. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/schema_helpers.py +0 -0
  236. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/schema_validation_policies/abstract_schema_validation_policy.py +0 -0
  237. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/schema_validation_policies/default_schema_validation_policies.py +0 -0
  238. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/__init__.py +0 -0
  239. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/abstract_file_based_stream.py +0 -0
  240. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/concurrent/__init__.py +0 -0
  241. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/concurrent/adapters.py +0 -0
  242. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/abstract_concurrent_file_based_cursor.py +0 -0
  243. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_concurrent_cursor.py +0 -0
  244. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_final_state_cursor.py +0 -0
  245. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/cursor/__init__.py +0 -0
  246. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/cursor/abstract_file_based_cursor.py +0 -0
  247. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/cursor/default_file_based_cursor.py +0 -0
  248. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/stream/default_file_based_stream.py +0 -0
  249. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/file_based/types.py +0 -0
  250. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/http_config.py +0 -0
  251. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/http_logger.py +0 -0
  252. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/message/repository.py +0 -0
  253. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/source.py +0 -0
  254. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/availability_strategy.py +0 -0
  255. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/call_rate.py +0 -0
  256. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/checkpoint/checkpoint_reader.py +0 -0
  257. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/checkpoint/cursor.py +0 -0
  258. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/checkpoint/per_partition_key_serializer.py +0 -0
  259. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/checkpoint/resumable_full_refresh_cursor.py +0 -0
  260. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/checkpoint/substream_resumable_full_refresh_cursor.py +0 -0
  261. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/README.md +0 -0
  262. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/__init__.py +0 -0
  263. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/abstract_stream.py +0 -0
  264. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/abstract_stream_facade.py +0 -0
  265. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/adapters.py +0 -0
  266. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/availability_strategy.py +0 -0
  267. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/cursor.py +0 -0
  268. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/default_stream.py +0 -0
  269. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/exceptions.py +0 -0
  270. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/helpers.py +0 -0
  271. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/partition_enqueuer.py +0 -0
  272. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/partition_reader.py +0 -0
  273. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/partitions/__init__.py +0 -0
  274. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/partitions/partition.py +0 -0
  275. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/partitions/partition_generator.py +0 -0
  276. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/partitions/stream_slicer.py +0 -0
  277. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/partitions/types.py +0 -0
  278. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/state_converters/__init__.py +0 -0
  279. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/state_converters/abstract_stream_state_converter.py +0 -0
  280. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/concurrent/state_converters/datetime_stream_state_converter.py +0 -0
  281. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/core.py +0 -0
  282. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/__init__.py +2 -2
  283. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/availability_strategy.py +0 -0
  284. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/backoff_strategy.py +0 -0
  285. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/default_backoff_strategy.py +0 -0
  286. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/default_error_mapping.py +0 -0
  287. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/error_handler.py +0 -0
  288. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/error_message_parser.py +0 -0
  289. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/http_status_error_handler.py +0 -0
  290. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/json_error_message_parser.py +0 -0
  291. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/error_handlers/response_models.py +0 -0
  292. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/exceptions.py +0 -0
  293. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/http.py +0 -0
  294. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/http_client.py +0 -0
  295. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/rate_limiting.py +0 -0
  296. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py +0 -0
  297. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py +0 -0
  298. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_token.py +0 -0
  299. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py +0 -0
  300. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/http/requests_native_auth/token.py +0 -0
  301. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/streams/utils/__init__.py +0 -0
  302. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/types.py +0 -0
  303. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/utils/__init__.py +0 -0
  304. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/utils/casing.py +0 -0
  305. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/utils/record_helper.py +0 -0
  306. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/utils/schema_helpers.py +0 -0
  307. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/utils/slice_logger.py +0 -0
  308. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/utils/transform.py +0 -0
  309. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sources/utils/types.py +0 -0
  310. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/__init__.py +0 -0
  311. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/_util/__init__.py +0 -0
  312. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/_util/hashing.py +0 -0
  313. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/_util/name_normalizers.py +0 -0
  314. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/constants.py +0 -0
  315. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/exceptions.py +0 -0
  316. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/secrets.py +0 -0
  317. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/shared/__init__.py +0 -0
  318. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/shared/catalog_providers.py +0 -0
  319. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/shared/sql_processor.py +0 -0
  320. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/sql/types.py +0 -0
  321. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/__init__.py +0 -0
  322. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/catalog_builder.py +0 -0
  323. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/entrypoint_wrapper.py +0 -0
  324. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/mock_http/__init__.py +1 -1
  325. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/mock_http/matcher.py +0 -0
  326. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/mock_http/request.py +0 -0
  327. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/mock_http/response.py +0 -0
  328. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/state_builder.py +0 -0
  329. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/utils/__init__.py +0 -0
  330. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/utils/data.py +0 -0
  331. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/utils/http_mocking.py +0 -0
  332. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/utils/manifest_only_fixtures.py +0 -0
  333. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/test/utils/reading.py +0 -0
  334. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/__init__.py +1 -1
  335. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/airbyte_secrets_utils.py +0 -0
  336. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/analytics_message.py +0 -0
  337. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/constants.py +0 -0
  338. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/datetime_format_inferrer.py +0 -0
  339. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/event_timing.py +0 -0
  340. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/is_cloud_environment.py +0 -0
  341. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/mapping_helpers.py +0 -0
  342. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/message_utils.py +0 -0
  343. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/oneof_option_config.py +0 -0
  344. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/print_buffer.py +0 -0
  345. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/schema_inferrer.py +0 -0
  346. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/slice_hasher.py +0 -0
  347. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/spec_schema_transformations.py +0 -0
  348. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/stream_status_utils.py +0 -0
  349. {airbyte_cdk-6.12.4 → airbyte_cdk-6.13.0}/airbyte_cdk/utils/traced_exception.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: airbyte-cdk
3
- Version: 6.12.4
3
+ Version: 6.13.0
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -48,27 +48,46 @@ API Reference
48
48
  # Once those issues are resolved, the below can be sorted with isort.
49
49
  import dunamai as _dunamai
50
50
 
51
- from .destinations import Destination
52
- from .models import AirbyteConnectionStatus, AirbyteMessage, ConfiguredAirbyteCatalog, Status, Type, FailureType, AirbyteStream, AdvancedAuth, DestinationSyncMode, ConnectorSpecification, OAuthConfigSpecification, OrchestratorType, ConfiguredAirbyteStream, SyncMode, AirbyteLogMessage, Level, AirbyteRecordMessage
53
-
54
- from .sources import Source
55
- from .config_observation import create_connector_config_control_message, emit_configuration_as_airbyte_control_message
51
+ from .config_observation import (
52
+ create_connector_config_control_message,
53
+ emit_configuration_as_airbyte_control_message,
54
+ )
56
55
  from .connector import BaseConnector, Connector
57
-
58
- from .entrypoint import launch, AirbyteEntrypoint
59
-
56
+ from .destinations import Destination
57
+ from .entrypoint import AirbyteEntrypoint, launch
60
58
  from .logger import AirbyteLogFormatter, init_logger
61
- from .sources import AbstractSource
59
+ from .models import (
60
+ AdvancedAuth,
61
+ AirbyteConnectionStatus,
62
+ AirbyteLogMessage,
63
+ AirbyteMessage,
64
+ AirbyteRecordMessage,
65
+ AirbyteStream,
66
+ ConfiguredAirbyteCatalog,
67
+ ConfiguredAirbyteStream,
68
+ ConnectorSpecification,
69
+ DestinationSyncMode,
70
+ FailureType,
71
+ Level,
72
+ OAuthConfigSpecification,
73
+ OrchestratorType,
74
+ Status,
75
+ SyncMode,
76
+ Type,
77
+ )
78
+ from .sources import AbstractSource, Source
62
79
  from .sources.concurrent_source.concurrent_source import ConcurrentSource
63
80
  from .sources.concurrent_source.concurrent_source_adapter import ConcurrentSourceAdapter
64
81
  from .sources.config import BaseConfig
65
- from .sources.types import Config, Record, StreamSlice
66
82
  from .sources.connector_state_manager import ConnectorStateManager
67
83
  from .sources.declarative.auth import DeclarativeOauth2Authenticator
68
- from .sources.declarative.auth.declarative_authenticator import DeclarativeAuthenticator
69
- from .sources.declarative.auth.declarative_authenticator import NoAuth
84
+ from .sources.declarative.auth.declarative_authenticator import DeclarativeAuthenticator, NoAuth
70
85
  from .sources.declarative.auth.oauth import DeclarativeSingleUseRefreshTokenOauth2Authenticator
71
- from .sources.declarative.auth.token import BasicHttpAuthenticator, BearerAuthenticator, ApiKeyAuthenticator
86
+ from .sources.declarative.auth.token import (
87
+ ApiKeyAuthenticator,
88
+ BasicHttpAuthenticator,
89
+ BearerAuthenticator,
90
+ )
72
91
  from .sources.declarative.datetime.min_max_datetime import MinMaxDatetime
73
92
  from .sources.declarative.declarative_stream import DeclarativeStream
74
93
  from .sources.declarative.decoders import Decoder, JsonDecoder
@@ -77,48 +96,89 @@ from .sources.declarative.extractors import DpathExtractor, RecordSelector
77
96
  from .sources.declarative.extractors.record_extractor import RecordExtractor
78
97
  from .sources.declarative.extractors.record_filter import RecordFilter
79
98
  from .sources.declarative.incremental import DatetimeBasedCursor
80
- from .sources.declarative.interpolation import InterpolatedString, InterpolatedBoolean
99
+ from .sources.declarative.interpolation import InterpolatedBoolean, InterpolatedString
81
100
  from .sources.declarative.manifest_declarative_source import ManifestDeclarativeSource
82
- from .sources.declarative.migrations.legacy_to_per_partition_state_migration import LegacyToPerPartitionStateMigration
83
-
84
- from .sources.declarative.partition_routers import CartesianProductStreamSlicer, SinglePartitionRouter, SubstreamPartitionRouter
101
+ from .sources.declarative.migrations.legacy_to_per_partition_state_migration import (
102
+ LegacyToPerPartitionStateMigration,
103
+ )
104
+ from .sources.declarative.partition_routers import (
105
+ CartesianProductStreamSlicer,
106
+ SinglePartitionRouter,
107
+ SubstreamPartitionRouter,
108
+ )
85
109
  from .sources.declarative.partition_routers.substream_partition_router import ParentStreamConfig
86
- from .sources.declarative.requesters import Requester, HttpRequester
87
-
110
+ from .sources.declarative.requesters import HttpRequester, Requester
88
111
  from .sources.declarative.requesters.error_handlers import BackoffStrategy
89
112
  from .sources.declarative.requesters.paginators import DefaultPaginator, PaginationStrategy
90
- from .sources.declarative.requesters.paginators.strategies import OffsetIncrement, CursorPaginationStrategy, PageIncrement, StopConditionPaginationStrategyDecorator
91
-
113
+ from .sources.declarative.requesters.paginators.strategies import (
114
+ CursorPaginationStrategy,
115
+ OffsetIncrement,
116
+ PageIncrement,
117
+ StopConditionPaginationStrategyDecorator,
118
+ )
92
119
  from .sources.declarative.requesters.request_option import RequestOption, RequestOptionType
93
-
94
- from .sources.declarative.requesters.request_options.default_request_options_provider import DefaultRequestOptionsProvider
95
- from .sources.declarative.requesters.request_options.interpolated_request_input_provider import InterpolatedRequestInputProvider
120
+ from .sources.declarative.requesters.request_options.default_request_options_provider import (
121
+ DefaultRequestOptionsProvider,
122
+ )
123
+ from .sources.declarative.requesters.request_options.interpolated_request_input_provider import (
124
+ InterpolatedRequestInputProvider,
125
+ )
96
126
  from .sources.declarative.requesters.requester import HttpMethod
97
127
  from .sources.declarative.retrievers import SimpleRetriever
98
128
  from .sources.declarative.schema import JsonFileSchemaLoader
99
- from .sources.declarative.transformations.add_fields import AddFields, AddedFieldDefinition
129
+ from .sources.declarative.transformations.add_fields import AddedFieldDefinition, AddFields
100
130
  from .sources.declarative.transformations.transformation import RecordTransformation
101
131
  from .sources.declarative.types import FieldPointer
102
132
  from .sources.declarative.yaml_declarative_source import YamlDeclarativeSource
103
133
  from .sources.message import InMemoryMessageRepository, MessageRepository
104
134
  from .sources.source import TState
105
135
  from .sources.streams.availability_strategy import AvailabilityStrategy
106
- from .sources.streams.call_rate import AbstractAPIBudget, HttpAPIBudget, HttpRequestMatcher, MovingWindowCallRatePolicy, Rate, CachedLimiterSession, LimiterSession
136
+ from .sources.streams.call_rate import (
137
+ AbstractAPIBudget,
138
+ CachedLimiterSession,
139
+ HttpAPIBudget,
140
+ HttpRequestMatcher,
141
+ LimiterSession,
142
+ MovingWindowCallRatePolicy,
143
+ Rate,
144
+ )
107
145
  from .sources.streams.checkpoint import Cursor as LegacyCursor
108
146
  from .sources.streams.checkpoint import ResumableFullRefreshCursor
109
147
  from .sources.streams.concurrent.adapters import StreamFacade
110
- from .sources.streams.concurrent.cursor import ConcurrentCursor, CursorField, FinalStateCursor
111
- from .sources.streams.concurrent.cursor import Cursor
112
- from .sources.streams.concurrent.state_converters.datetime_stream_state_converter import EpochValueConcurrentStreamStateConverter, IsoMillisConcurrentStreamStateConverter
113
- from .sources.streams.core import Stream, IncrementalMixin, package_name_from_class
148
+ from .sources.streams.concurrent.cursor import (
149
+ ConcurrentCursor,
150
+ Cursor,
151
+ CursorField,
152
+ FinalStateCursor,
153
+ )
154
+ from .sources.streams.concurrent.state_converters.datetime_stream_state_converter import (
155
+ EpochValueConcurrentStreamStateConverter,
156
+ IsoMillisConcurrentStreamStateConverter,
157
+ )
158
+ from .sources.streams.core import IncrementalMixin, Stream, package_name_from_class
114
159
  from .sources.streams.http import HttpStream, HttpSubStream
115
160
  from .sources.streams.http.availability_strategy import HttpAvailabilityStrategy
116
- from .sources.streams.http.exceptions import BaseBackoffException, DefaultBackoffException, UserDefinedBackoffException
161
+ from .sources.streams.http.exceptions import (
162
+ BaseBackoffException,
163
+ DefaultBackoffException,
164
+ UserDefinedBackoffException,
165
+ )
117
166
  from .sources.streams.http.rate_limiting import default_backoff_handler
118
- from .sources.streams.http.requests_native_auth import Oauth2Authenticator, TokenAuthenticator, SingleUseRefreshTokenOauth2Authenticator
167
+ from .sources.streams.http.requests_native_auth import (
168
+ Oauth2Authenticator,
169
+ SingleUseRefreshTokenOauth2Authenticator,
170
+ TokenAuthenticator,
171
+ )
119
172
  from .sources.streams.http.requests_native_auth.abstract_token import AbstractHeaderAuthenticator
173
+ from .sources.types import Config, Record, StreamSlice
120
174
  from .sources.utils import casing
121
- from .sources.utils.schema_helpers import InternalConfig, ResourceSchemaLoader, check_config_against_spec_or_exit, split_config, expand_refs
175
+ from .sources.utils.schema_helpers import (
176
+ InternalConfig,
177
+ ResourceSchemaLoader,
178
+ check_config_against_spec_or_exit,
179
+ expand_refs,
180
+ split_config,
181
+ )
122
182
  from .sources.utils.transform import TransformConfig, TypeTransformer
123
183
  from .utils import AirbyteTracedException, is_cloud_environment
124
184
  from .utils.constants import ENV_REQUEST_CACHE_PATH
@@ -127,7 +187,6 @@ from .utils.oneof_option_config import OneOfOptionConfig
127
187
  from .utils.spec_schema_transformations import resolve_refs
128
188
  from .utils.stream_status_utils import as_airbyte_message
129
189
 
130
-
131
190
  __all__ = [
132
191
  # Availability strategy
133
192
  "AvailabilityStrategy",
@@ -1,6 +1,5 @@
1
1
  from airbyte_cdk.cli.source_declarative_manifest._run import run
2
2
 
3
-
4
3
  __all__ = [
5
4
  "run",
6
5
  ]
@@ -7,7 +7,6 @@
7
7
  # of airbyte-cdk rather than a standalone package.
8
8
  from .airbyte_protocol import (
9
9
  AdvancedAuth,
10
- AirbyteStateStats,
11
10
  AirbyteAnalyticsTraceMessage,
12
11
  AirbyteCatalog,
13
12
  AirbyteConnectionStatus,
@@ -22,13 +21,14 @@ from .airbyte_protocol import (
22
21
  AirbyteRecordMessage,
23
22
  AirbyteStateBlob,
24
23
  AirbyteStateMessage,
24
+ AirbyteStateStats,
25
25
  AirbyteStateType,
26
26
  AirbyteStream,
27
27
  AirbyteStreamState,
28
28
  AirbyteStreamStatus,
29
- AirbyteStreamStatusTraceMessage,
30
29
  AirbyteStreamStatusReason,
31
30
  AirbyteStreamStatusReasonType,
31
+ AirbyteStreamStatusTraceMessage,
32
32
  AirbyteTraceMessage,
33
33
  AuthFlowType,
34
34
  ConfiguredAirbyteCatalog,
@@ -48,6 +48,14 @@ from .airbyte_protocol import (
48
48
  TraceType,
49
49
  Type,
50
50
  )
51
+ from .airbyte_protocol_serializers import (
52
+ AirbyteMessageSerializer,
53
+ AirbyteStateMessageSerializer,
54
+ AirbyteStreamStateSerializer,
55
+ ConfiguredAirbyteCatalogSerializer,
56
+ ConfiguredAirbyteStreamSerializer,
57
+ ConnectorSpecificationSerializer,
58
+ )
51
59
  from .well_known_types import (
52
60
  BinaryData,
53
61
  Boolean,
@@ -61,12 +69,3 @@ from .well_known_types import (
61
69
  TimeWithoutTimezone,
62
70
  TimeWithTimezone,
63
71
  )
64
-
65
- from .airbyte_protocol_serializers import (
66
- AirbyteStreamStateSerializer,
67
- AirbyteStateMessageSerializer,
68
- AirbyteMessageSerializer,
69
- ConfiguredAirbyteCatalogSerializer,
70
- ConfiguredAirbyteStreamSerializer,
71
- ConnectorSpecificationSerializer,
72
- )
@@ -20,7 +20,6 @@ from typing import (
20
20
  TypeVar,
21
21
  )
22
22
 
23
- from airbyte_cdk import StreamSlice
24
23
  from airbyte_cdk.logger import lazy_log
25
24
  from airbyte_cdk.models import FailureType
26
25
  from airbyte_cdk.sources.declarative.async_job.job import AsyncJob
@@ -31,6 +30,7 @@ from airbyte_cdk.sources.declarative.async_job.job_tracker import (
31
30
  from airbyte_cdk.sources.declarative.async_job.repository import AsyncJobRepository
32
31
  from airbyte_cdk.sources.declarative.async_job.status import AsyncJobStatus
33
32
  from airbyte_cdk.sources.message import MessageRepository
33
+ from airbyte_cdk.sources.types import StreamSlice
34
34
  from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets
35
35
  from airbyte_cdk.utils.traced_exception import AirbyteTracedException
36
36
 
@@ -2,10 +2,7 @@
2
2
  # Copyright (c) 2023 Airbyte, Inc., all rights reserved.
3
3
  #
4
4
 
5
- from airbyte_cdk.sources.declarative.auth.oauth import DeclarativeOauth2Authenticator
6
5
  from airbyte_cdk.sources.declarative.auth.jwt import JwtAuthenticator
6
+ from airbyte_cdk.sources.declarative.auth.oauth import DeclarativeOauth2Authenticator
7
7
 
8
- __all__ = [
9
- "DeclarativeOauth2Authenticator",
10
- "JwtAuthenticator"
11
- ]
8
+ __all__ = ["DeclarativeOauth2Authenticator", "JwtAuthenticator"]
@@ -2766,9 +2766,64 @@ definitions:
2766
2766
  - "$ref": "#/definitions/IterableDecoder"
2767
2767
  - "$ref": "#/definitions/XmlDecoder"
2768
2768
  - "$ref": "#/definitions/GzipJsonDecoder"
2769
+ - "$ref": "#/definitions/CompositeRawDecoder"
2769
2770
  $parameters:
2770
2771
  type: object
2771
2772
  additionalProperties: true
2773
+ CompositeRawDecoder:
2774
+ description: "(This is experimental, use at your own risk)"
2775
+ type: object
2776
+ required:
2777
+ - type
2778
+ - parser
2779
+ properties:
2780
+ type:
2781
+ type: string
2782
+ enum: [CompositeRawDecoder]
2783
+ parser:
2784
+ anyOf:
2785
+ - "$ref": "#/definitions/GzipParser"
2786
+ - "$ref": "#/definitions/JsonLineParser"
2787
+ - "$ref": "#/definitions/CsvParser"
2788
+ # PARSERS
2789
+ GzipParser:
2790
+ type: object
2791
+ required:
2792
+ - type
2793
+ - inner_parser
2794
+ properties:
2795
+ type:
2796
+ type: string
2797
+ enum: [GzipParser]
2798
+ inner_parser:
2799
+ anyOf:
2800
+ - "$ref": "#/definitions/JsonLineParser"
2801
+ - "$ref": "#/definitions/CsvParser"
2802
+ JsonLineParser:
2803
+ type: object
2804
+ required:
2805
+ - type
2806
+ properties:
2807
+ type:
2808
+ type: string
2809
+ enum: [JsonLineParser]
2810
+ encoding:
2811
+ type: string
2812
+ default: utf-8
2813
+ CsvParser:
2814
+ type: object
2815
+ required:
2816
+ - type
2817
+ properties:
2818
+ type:
2819
+ type: string
2820
+ enum: [CsvParser]
2821
+ encoding:
2822
+ type: string
2823
+ default: utf-8
2824
+ delimiter:
2825
+ type: string
2826
+ default: ","
2772
2827
  AsyncJobStatusMap:
2773
2828
  description: Matches the api job status to Async Job Status.
2774
2829
  type: object
@@ -0,0 +1,29 @@
1
+ #
2
+ # Copyright (c) 2023 Airbyte, Inc., all rights reserved.
3
+ #
4
+
5
+ from airbyte_cdk.sources.declarative.decoders.composite_raw_decoder import CompositeRawDecoder
6
+ from airbyte_cdk.sources.declarative.decoders.decoder import Decoder
7
+ from airbyte_cdk.sources.declarative.decoders.json_decoder import (
8
+ GzipJsonDecoder,
9
+ IterableDecoder,
10
+ JsonDecoder,
11
+ JsonlDecoder,
12
+ )
13
+ from airbyte_cdk.sources.declarative.decoders.noop_decoder import NoopDecoder
14
+ from airbyte_cdk.sources.declarative.decoders.pagination_decoder_decorator import (
15
+ PaginationDecoderDecorator,
16
+ )
17
+ from airbyte_cdk.sources.declarative.decoders.xml_decoder import XmlDecoder
18
+
19
+ __all__ = [
20
+ "Decoder",
21
+ "CompositeRawDecoder",
22
+ "JsonDecoder",
23
+ "JsonlDecoder",
24
+ "IterableDecoder",
25
+ "GzipJsonDecoder",
26
+ "NoopDecoder",
27
+ "PaginationDecoderDecorator",
28
+ "XmlDecoder",
29
+ ]
@@ -0,0 +1,97 @@
1
+ import csv
2
+ import gzip
3
+ import json
4
+ import logging
5
+ from abc import ABC, abstractmethod
6
+ from dataclasses import dataclass
7
+ from io import BufferedIOBase, TextIOWrapper
8
+ from typing import Any, Generator, MutableMapping, Optional
9
+
10
+ import requests
11
+
12
+ from airbyte_cdk.sources.declarative.decoders.decoder import Decoder
13
+
14
+ logger = logging.getLogger("airbyte")
15
+
16
+
17
+ @dataclass
18
+ class Parser(ABC):
19
+ @abstractmethod
20
+ def parse(
21
+ self,
22
+ data: BufferedIOBase,
23
+ ) -> Generator[MutableMapping[str, Any], None, None]:
24
+ """
25
+ Parse data and yield dictionaries.
26
+ """
27
+ pass
28
+
29
+
30
+ @dataclass
31
+ class GzipParser(Parser):
32
+ inner_parser: Parser
33
+
34
+ def parse(
35
+ self,
36
+ data: BufferedIOBase,
37
+ ) -> Generator[MutableMapping[str, Any], None, None]:
38
+ """
39
+ Decompress gzipped bytes and pass decompressed data to the inner parser.
40
+ """
41
+ with gzip.GzipFile(fileobj=data, mode="rb") as gzipobj:
42
+ yield from self.inner_parser.parse(gzipobj)
43
+
44
+
45
+ @dataclass
46
+ class JsonLineParser(Parser):
47
+ encoding: Optional[str] = "utf-8"
48
+
49
+ def parse(
50
+ self,
51
+ data: BufferedIOBase,
52
+ ) -> Generator[MutableMapping[str, Any], None, None]:
53
+ for line in data:
54
+ try:
55
+ yield json.loads(line.decode(encoding=self.encoding or "utf-8"))
56
+ except json.JSONDecodeError as e:
57
+ logger.warning(f"Cannot decode/parse line {line!r} as JSON, error: {e}")
58
+
59
+
60
+ @dataclass
61
+ class CsvParser(Parser):
62
+ # TODO: migrate implementation to re-use file-base classes
63
+ encoding: Optional[str] = "utf-8"
64
+ delimiter: Optional[str] = ","
65
+
66
+ def parse(
67
+ self,
68
+ data: BufferedIOBase,
69
+ ) -> Generator[MutableMapping[str, Any], None, None]:
70
+ """
71
+ Parse CSV data from decompressed bytes.
72
+ """
73
+ text_data = TextIOWrapper(data, encoding=self.encoding) # type: ignore
74
+ reader = csv.DictReader(text_data, delimiter=self.delimiter or ",")
75
+ yield from reader
76
+
77
+
78
+ @dataclass
79
+ class CompositeRawDecoder(Decoder):
80
+ """
81
+ Decoder strategy to transform a requests.Response into a Generator[MutableMapping[str, Any], None, None]
82
+ passed response.raw to parser(s).
83
+ Note: response.raw is not decoded/decompressed by default.
84
+ parsers should be instantiated recursively.
85
+ Example:
86
+ composite_raw_decoder = CompositeRawDecoder(parser=GzipParser(inner_parser=JsonLineParser(encoding="iso-8859-1")))
87
+ """
88
+
89
+ parser: Parser
90
+
91
+ def is_stream_response(self) -> bool:
92
+ return True
93
+
94
+ def decode(
95
+ self, response: requests.Response
96
+ ) -> Generator[MutableMapping[str, Any], None, None]:
97
+ yield from self.parser.parse(data=response.raw) # type: ignore[arg-type]
@@ -6,6 +6,14 @@ from airbyte_cdk.sources.declarative.extractors.dpath_extractor import DpathExtr
6
6
  from airbyte_cdk.sources.declarative.extractors.http_selector import HttpSelector
7
7
  from airbyte_cdk.sources.declarative.extractors.record_filter import RecordFilter
8
8
  from airbyte_cdk.sources.declarative.extractors.record_selector import RecordSelector
9
- from airbyte_cdk.sources.declarative.extractors.response_to_file_extractor import ResponseToFileExtractor
9
+ from airbyte_cdk.sources.declarative.extractors.response_to_file_extractor import (
10
+ ResponseToFileExtractor,
11
+ )
10
12
 
11
- __all__ = ["HttpSelector", "DpathExtractor", "RecordFilter", "RecordSelector", "ResponseToFileExtractor"]
13
+ __all__ = [
14
+ "HttpSelector",
15
+ "DpathExtractor",
16
+ "RecordFilter",
17
+ "RecordSelector",
18
+ "ResponseToFileExtractor",
19
+ ]
@@ -4,9 +4,16 @@
4
4
 
5
5
  from airbyte_cdk.sources.declarative.incremental.datetime_based_cursor import DatetimeBasedCursor
6
6
  from airbyte_cdk.sources.declarative.incremental.declarative_cursor import DeclarativeCursor
7
- from airbyte_cdk.sources.declarative.incremental.global_substream_cursor import GlobalSubstreamCursor
8
- from airbyte_cdk.sources.declarative.incremental.per_partition_cursor import CursorFactory, PerPartitionCursor
9
- from airbyte_cdk.sources.declarative.incremental.per_partition_with_global import PerPartitionWithGlobalCursor
7
+ from airbyte_cdk.sources.declarative.incremental.global_substream_cursor import (
8
+ GlobalSubstreamCursor,
9
+ )
10
+ from airbyte_cdk.sources.declarative.incremental.per_partition_cursor import (
11
+ CursorFactory,
12
+ PerPartitionCursor,
13
+ )
14
+ from airbyte_cdk.sources.declarative.incremental.per_partition_with_global import (
15
+ PerPartitionWithGlobalCursor,
16
+ )
10
17
  from airbyte_cdk.sources.declarative.incremental.resumable_full_refresh_cursor import (
11
18
  ChildPartitionResumableFullRefreshCursor,
12
19
  ResumableFullRefreshCursor,
@@ -1125,6 +1125,17 @@ class LegacySessionTokenAuthenticator(BaseModel):
1125
1125
  parameters: Optional[Dict[str, Any]] = Field(None, alias="$parameters")
1126
1126
 
1127
1127
 
1128
+ class JsonLineParser(BaseModel):
1129
+ type: Literal["JsonLineParser"]
1130
+ encoding: Optional[str] = "utf-8"
1131
+
1132
+
1133
+ class CsvParser(BaseModel):
1134
+ type: Literal["CsvParser"]
1135
+ encoding: Optional[str] = "utf-8"
1136
+ delimiter: Optional[str] = ","
1137
+
1138
+
1128
1139
  class AsyncJobStatusMap(BaseModel):
1129
1140
  type: Optional[Literal["AsyncJobStatusMap"]] = None
1130
1141
  running: List[str]
@@ -1208,6 +1219,8 @@ class ComponentMappingDefinition(BaseModel):
1208
1219
  "{{ components_values['updates'] }}",
1209
1220
  "{{ components_values['MetaData']['LastUpdatedTime'] }}",
1210
1221
  "{{ config['segment_id'] }}",
1222
+ "{{ stream_slice['parent_id'] }}",
1223
+ "{{ stream_slice['extra_fields']['name'] }}",
1211
1224
  ],
1212
1225
  title="Value",
1213
1226
  )
@@ -1504,6 +1517,11 @@ class RecordSelector(BaseModel):
1504
1517
  parameters: Optional[Dict[str, Any]] = Field(None, alias="$parameters")
1505
1518
 
1506
1519
 
1520
+ class GzipParser(BaseModel):
1521
+ type: Literal["GzipParser"]
1522
+ inner_parser: Union[JsonLineParser, CsvParser]
1523
+
1524
+
1507
1525
  class Spec(BaseModel):
1508
1526
  type: Literal["Spec"]
1509
1527
  connection_specification: Dict[str, Any] = Field(
@@ -1534,6 +1552,11 @@ class CompositeErrorHandler(BaseModel):
1534
1552
  parameters: Optional[Dict[str, Any]] = Field(None, alias="$parameters")
1535
1553
 
1536
1554
 
1555
+ class CompositeRawDecoder(BaseModel):
1556
+ type: Literal["CompositeRawDecoder"]
1557
+ parser: Union[GzipParser, JsonLineParser, CsvParser]
1558
+
1559
+
1537
1560
  class DeclarativeSource1(BaseModel):
1538
1561
  class Config:
1539
1562
  extra = Extra.forbid
@@ -1936,6 +1959,7 @@ class SimpleRetriever(BaseModel):
1936
1959
  IterableDecoder,
1937
1960
  XmlDecoder,
1938
1961
  GzipJsonDecoder,
1962
+ CompositeRawDecoder,
1939
1963
  ]
1940
1964
  ] = Field(
1941
1965
  None,
@@ -67,6 +67,12 @@ from airbyte_cdk.sources.declarative.decoders import (
67
67
  PaginationDecoderDecorator,
68
68
  XmlDecoder,
69
69
  )
70
+ from airbyte_cdk.sources.declarative.decoders.composite_raw_decoder import (
71
+ CompositeRawDecoder,
72
+ CsvParser,
73
+ GzipParser,
74
+ JsonLineParser,
75
+ )
70
76
  from airbyte_cdk.sources.declarative.extractors import (
71
77
  DpathExtractor,
72
78
  RecordFilter,
@@ -125,6 +131,9 @@ from airbyte_cdk.sources.declarative.models.declarative_component_schema import
125
131
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
126
132
  CompositeErrorHandler as CompositeErrorHandlerModel,
127
133
  )
134
+ from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
135
+ CompositeRawDecoder as CompositeRawDecoderModel,
136
+ )
128
137
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
129
138
  ConcurrencyLevel as ConcurrencyLevelModel,
130
139
  )
@@ -134,6 +143,9 @@ from airbyte_cdk.sources.declarative.models.declarative_component_schema import
134
143
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
135
144
  ConstantBackoffStrategy as ConstantBackoffStrategyModel,
136
145
  )
146
+ from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
147
+ CsvParser as CsvParserModel,
148
+ )
137
149
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
138
150
  CursorPagination as CursorPaginationModel,
139
151
  )
@@ -203,6 +215,9 @@ from airbyte_cdk.sources.declarative.models.declarative_component_schema import
203
215
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
204
216
  GzipJsonDecoder as GzipJsonDecoderModel,
205
217
  )
218
+ from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
219
+ GzipParser as GzipParserModel,
220
+ )
206
221
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
207
222
  HttpComponentsResolver as HttpComponentsResolverModel,
208
223
  )
@@ -227,6 +242,9 @@ from airbyte_cdk.sources.declarative.models.declarative_component_schema import
227
242
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
228
243
  JsonlDecoder as JsonlDecoderModel,
229
244
  )
245
+ from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
246
+ JsonLineParser as JsonLineParserModel,
247
+ )
230
248
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import (
231
249
  JwtAuthenticator as JwtAuthenticatorModel,
232
250
  )
@@ -455,6 +473,7 @@ class ModelToComponentFactory:
455
473
  BearerAuthenticatorModel: self.create_bearer_authenticator,
456
474
  CheckStreamModel: self.create_check_stream,
457
475
  CompositeErrorHandlerModel: self.create_composite_error_handler,
476
+ CompositeRawDecoderModel: self.create_composite_raw_decoder,
458
477
  ConcurrencyLevelModel: self.create_concurrency_level,
459
478
  ConstantBackoffStrategyModel: self.create_constant_backoff_strategy,
460
479
  CursorPaginationModel: self.create_cursor_pagination,
@@ -485,7 +504,9 @@ class ModelToComponentFactory:
485
504
  InlineSchemaLoaderModel: self.create_inline_schema_loader,
486
505
  JsonDecoderModel: self.create_json_decoder,
487
506
  JsonlDecoderModel: self.create_jsonl_decoder,
507
+ JsonLineParserModel: self.create_json_line_parser,
488
508
  GzipJsonDecoderModel: self.create_gzipjson_decoder,
509
+ GzipParserModel: self.create_gzip_parser,
489
510
  KeysToLowerModel: self.create_keys_to_lower_transformation,
490
511
  KeysToSnakeCaseModel: self.create_keys_to_snake_transformation,
491
512
  FlattenFieldsModel: self.create_flatten_fields,
@@ -1701,6 +1722,12 @@ class ModelToComponentFactory:
1701
1722
  ) -> JsonlDecoder:
1702
1723
  return JsonlDecoder(parameters={})
1703
1724
 
1725
+ @staticmethod
1726
+ def create_json_line_parser(
1727
+ model: JsonLineParserModel, config: Config, **kwargs: Any
1728
+ ) -> JsonLineParser:
1729
+ return JsonLineParser(encoding=model.encoding)
1730
+
1704
1731
  @staticmethod
1705
1732
  def create_iterable_decoder(
1706
1733
  model: IterableDecoderModel, config: Config, **kwargs: Any
@@ -1717,6 +1744,22 @@ class ModelToComponentFactory:
1717
1744
  ) -> GzipJsonDecoder:
1718
1745
  return GzipJsonDecoder(parameters={}, encoding=model.encoding)
1719
1746
 
1747
+ def create_gzip_parser(
1748
+ self, model: GzipParserModel, config: Config, **kwargs: Any
1749
+ ) -> GzipParser:
1750
+ inner_parser = self._create_component_from_model(model=model.inner_parser, config=config)
1751
+ return GzipParser(inner_parser=inner_parser)
1752
+
1753
+ @staticmethod
1754
+ def create_csv_parser(model: CsvParserModel, config: Config, **kwargs: Any) -> CsvParser:
1755
+ return CsvParser(encoding=model.encoding, delimiter=model.delimiter)
1756
+
1757
+ def create_composite_raw_decoder(
1758
+ self, model: CompositeRawDecoderModel, config: Config, **kwargs: Any
1759
+ ) -> CompositeRawDecoder:
1760
+ parser = self._create_component_from_model(model=model.parser, config=config)
1761
+ return CompositeRawDecoder(parser=parser)
1762
+
1720
1763
  @staticmethod
1721
1764
  def create_json_file_schema_loader(
1722
1765
  model: JsonFileSchemaLoaderModel, config: Config, **kwargs: Any