airbyte-cdk 0.70.2__tar.gz → 0.72.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/PKG-INFO +1 -1
  2. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +22 -0
  3. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/incremental/cursor.py +15 -5
  4. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py +51 -11
  5. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/incremental/per_partition_cursor.py +5 -0
  6. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/models/declarative_component_schema.py +17 -1
  7. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +2 -0
  8. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py +11 -5
  9. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk.egg-info/PKG-INFO +1 -1
  10. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/setup.py +1 -1
  11. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/incremental/test_datetime_based_cursor.py +81 -35
  12. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/incremental/test_per_partition_cursor_integration.py +10 -6
  13. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/parsers/test_model_to_component_factory.py +19 -0
  14. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/retrievers/test_simple_retriever.py +1 -0
  15. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/LICENSE.txt +0 -0
  16. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/README.md +0 -0
  17. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/__init__.py +0 -0
  18. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/config_observation.py +0 -0
  19. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/connector.py +0 -0
  20. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/connector_builder/__init__.py +0 -0
  21. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/connector_builder/connector_builder_handler.py +0 -0
  22. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/connector_builder/main.py +0 -0
  23. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/connector_builder/message_grouper.py +0 -0
  24. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/connector_builder/models.py +0 -0
  25. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/__init__.py +0 -0
  26. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/destination.py +0 -0
  27. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/vector_db_based/__init__.py +0 -0
  28. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/vector_db_based/config.py +0 -0
  29. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/vector_db_based/document_processor.py +0 -0
  30. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/vector_db_based/embedder.py +0 -0
  31. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/vector_db_based/indexer.py +0 -0
  32. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/vector_db_based/test_utils.py +0 -0
  33. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/vector_db_based/utils.py +0 -0
  34. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/destinations/vector_db_based/writer.py +0 -0
  35. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/entrypoint.py +0 -0
  36. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/exception_handler.py +0 -0
  37. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/logger.py +0 -0
  38. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/models/__init__.py +0 -0
  39. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/models/airbyte_protocol.py +0 -0
  40. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/models/well_known_types.py +0 -0
  41. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/py.typed +0 -0
  42. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/__init__.py +0 -0
  43. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/abstract_source.py +0 -0
  44. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/concurrent_source/__init__.py +0 -0
  45. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/concurrent_source/concurrent_read_processor.py +0 -0
  46. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/concurrent_source/concurrent_source.py +0 -0
  47. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/concurrent_source/concurrent_source_adapter.py +0 -0
  48. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/concurrent_source/partition_generation_completed_sentinel.py +0 -0
  49. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/concurrent_source/thread_pool_manager.py +0 -0
  50. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/config.py +0 -0
  51. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/connector_state_manager.py +0 -0
  52. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/__init__.py +0 -0
  53. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/auth/__init__.py +0 -0
  54. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/auth/declarative_authenticator.py +0 -0
  55. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/auth/oauth.py +0 -0
  56. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/auth/selective_authenticator.py +0 -0
  57. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/auth/token.py +0 -0
  58. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/auth/token_provider.py +0 -0
  59. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/checks/__init__.py +0 -0
  60. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/checks/check_stream.py +0 -0
  61. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/checks/connection_checker.py +0 -0
  62. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/create_partial.py +0 -0
  63. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/datetime/__init__.py +0 -0
  64. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/datetime/datetime_parser.py +0 -0
  65. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/datetime/min_max_datetime.py +0 -0
  66. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/declarative_source.py +0 -0
  67. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/declarative_stream.py +0 -0
  68. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/decoders/__init__.py +0 -0
  69. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/decoders/decoder.py +0 -0
  70. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/decoders/json_decoder.py +0 -0
  71. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/exceptions.py +0 -0
  72. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/extractors/__init__.py +0 -0
  73. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/extractors/dpath_extractor.py +0 -0
  74. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/extractors/http_selector.py +0 -0
  75. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/extractors/record_extractor.py +0 -0
  76. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/extractors/record_filter.py +0 -0
  77. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/extractors/record_selector.py +0 -0
  78. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/incremental/__init__.py +0 -0
  79. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/__init__.py +0 -0
  80. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/filters.py +0 -0
  81. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_boolean.py +0 -0
  82. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py +0 -0
  83. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_nested_mapping.py +0 -0
  84. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py +0 -0
  85. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/interpolation.py +0 -0
  86. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/jinja.py +0 -0
  87. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/interpolation/macros.py +0 -0
  88. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/manifest_declarative_source.py +0 -0
  89. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/models/__init__.py +0 -0
  90. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/parsers/__init__.py +0 -0
  91. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/parsers/class_types_registry.py +0 -0
  92. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/parsers/custom_exceptions.py +0 -0
  93. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/parsers/default_implementation_registry.py +0 -0
  94. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py +0 -0
  95. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/parsers/manifest_reference_resolver.py +0 -0
  96. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/partition_routers/__init__.py +0 -0
  97. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/partition_routers/list_partition_router.py +0 -0
  98. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/partition_routers/single_partition_router.py +0 -0
  99. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/partition_routers/substream_partition_router.py +0 -0
  100. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/__init__.py +0 -0
  101. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/__init__.py +0 -0
  102. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +0 -0
  103. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/constant_backoff_strategy.py +0 -0
  104. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/exponential_backoff_strategy.py +0 -0
  105. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/header_helper.py +0 -0
  106. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py +0 -0
  107. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_until_time_from_header_backoff_strategy.py +0 -0
  108. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategy.py +0 -0
  109. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/composite_error_handler.py +0 -0
  110. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py +0 -0
  111. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/error_handler.py +0 -0
  112. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/http_response_filter.py +0 -0
  113. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/response_action.py +0 -0
  114. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/response_status.py +0 -0
  115. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/http_requester.py +0 -0
  116. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py +0 -0
  117. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/default_paginator.py +0 -0
  118. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py +0 -0
  119. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py +0 -0
  120. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/__init__.py +0 -0
  121. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/cursor_pagination_strategy.py +0 -0
  122. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py +0 -0
  123. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/page_increment.py +0 -0
  124. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/pagination_strategy.py +0 -0
  125. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/stop_condition.py +0 -0
  126. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/request_option.py +0 -0
  127. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/request_options/__init__.py +0 -0
  128. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_nested_request_input_provider.py +0 -0
  129. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_input_provider.py +0 -0
  130. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_options_provider.py +0 -0
  131. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/request_options/request_options_provider.py +0 -0
  132. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/request_path.py +0 -0
  133. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/requesters/requester.py +0 -0
  134. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/retrievers/__init__.py +0 -0
  135. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/retrievers/retriever.py +0 -0
  136. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/schema/__init__.py +0 -0
  137. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/schema/default_schema_loader.py +0 -0
  138. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/schema/inline_schema_loader.py +0 -0
  139. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/schema/json_file_schema_loader.py +0 -0
  140. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/schema/schema_loader.py +0 -0
  141. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/spec/__init__.py +0 -0
  142. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/spec/spec.py +0 -0
  143. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/stream_slicers/__init__.py +0 -0
  144. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/stream_slicers/cartesian_product_stream_slicer.py +0 -0
  145. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py +0 -0
  146. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/transformations/__init__.py +0 -0
  147. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/transformations/add_fields.py +0 -0
  148. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/transformations/remove_fields.py +0 -0
  149. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/transformations/transformation.py +0 -0
  150. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/types.py +0 -0
  151. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/declarative/yaml_declarative_source.py +0 -0
  152. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/deprecated/__init__.py +0 -0
  153. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/deprecated/base_source.py +0 -0
  154. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/deprecated/client.py +0 -0
  155. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/embedded/__init__.py +0 -0
  156. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/embedded/base_integration.py +0 -0
  157. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/embedded/catalog.py +0 -0
  158. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/embedded/runner.py +0 -0
  159. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/embedded/tools.py +0 -0
  160. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/__init__.py +0 -0
  161. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/availability_strategy/__init__.py +0 -0
  162. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/availability_strategy/abstract_file_based_availability_strategy.py +0 -0
  163. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/availability_strategy/default_file_based_availability_strategy.py +0 -0
  164. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/config/__init__.py +0 -0
  165. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/config/abstract_file_based_spec.py +0 -0
  166. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/config/avro_format.py +0 -0
  167. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/config/csv_format.py +0 -0
  168. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/config/file_based_stream_config.py +0 -0
  169. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/config/jsonl_format.py +0 -0
  170. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/config/parquet_format.py +0 -0
  171. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/config/unstructured_format.py +0 -0
  172. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/discovery_policy/__init__.py +0 -0
  173. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/discovery_policy/abstract_discovery_policy.py +0 -0
  174. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/discovery_policy/default_discovery_policy.py +0 -0
  175. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/exceptions.py +0 -0
  176. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_based_source.py +0 -0
  177. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_based_stream_reader.py +0 -0
  178. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_types/__init__.py +0 -0
  179. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_types/avro_parser.py +0 -0
  180. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_types/csv_parser.py +0 -0
  181. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_types/file_type_parser.py +0 -0
  182. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_types/jsonl_parser.py +0 -0
  183. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_types/parquet_parser.py +0 -0
  184. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/file_types/unstructured_parser.py +0 -0
  185. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/remote_file.py +0 -0
  186. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/schema_helpers.py +0 -0
  187. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/schema_validation_policies/__init__.py +0 -0
  188. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/schema_validation_policies/abstract_schema_validation_policy.py +0 -0
  189. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/schema_validation_policies/default_schema_validation_policies.py +0 -0
  190. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/__init__.py +0 -0
  191. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/abstract_file_based_stream.py +0 -0
  192. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/concurrent/__init__.py +0 -0
  193. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/concurrent/adapters.py +0 -0
  194. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/__init__.py +0 -0
  195. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/abstract_concurrent_file_based_cursor.py +0 -0
  196. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_concurrent_cursor.py +0 -0
  197. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_final_state_cursor.py +0 -0
  198. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/cursor/__init__.py +0 -0
  199. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/cursor/abstract_file_based_cursor.py +0 -0
  200. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/cursor/default_file_based_cursor.py +0 -0
  201. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/stream/default_file_based_stream.py +0 -0
  202. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/file_based/types.py +0 -0
  203. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/http_config.py +0 -0
  204. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/http_logger.py +0 -0
  205. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/message/__init__.py +0 -0
  206. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/message/repository.py +0 -0
  207. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/singer/__init__.py +0 -0
  208. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/singer/singer_helpers.py +0 -0
  209. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/singer/source.py +0 -0
  210. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/source.py +0 -0
  211. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/__init__.py +0 -0
  212. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/availability_strategy.py +0 -0
  213. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/call_rate.py +0 -0
  214. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/__init__.py +0 -0
  215. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/abstract_stream.py +0 -0
  216. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/abstract_stream_facade.py +0 -0
  217. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/adapters.py +0 -0
  218. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/availability_strategy.py +0 -0
  219. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/cursor.py +0 -0
  220. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/default_stream.py +0 -0
  221. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/exceptions.py +0 -0
  222. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/helpers.py +0 -0
  223. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/partition_enqueuer.py +0 -0
  224. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/partition_reader.py +0 -0
  225. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/partitions/__init__.py +0 -0
  226. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/partitions/partition.py +0 -0
  227. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/partitions/partition_generator.py +0 -0
  228. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/partitions/record.py +0 -0
  229. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/partitions/types.py +0 -0
  230. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/state_converters/__init__.py +0 -0
  231. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/state_converters/abstract_stream_state_converter.py +0 -0
  232. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/concurrent/state_converters/datetime_stream_state_converter.py +0 -0
  233. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/core.py +0 -0
  234. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/__init__.py +0 -0
  235. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/auth/__init__.py +0 -0
  236. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/auth/core.py +0 -0
  237. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/auth/oauth.py +0 -0
  238. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/auth/token.py +0 -0
  239. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/availability_strategy.py +0 -0
  240. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/exceptions.py +0 -0
  241. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/http.py +0 -0
  242. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/rate_limiting.py +0 -0
  243. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py +0 -0
  244. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py +0 -0
  245. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_token.py +0 -0
  246. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py +0 -0
  247. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/http/requests_native_auth/token.py +0 -0
  248. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/utils/__init__.py +0 -0
  249. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/streams/utils/stream_helper.py +0 -0
  250. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/__init__.py +0 -0
  251. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/casing.py +0 -0
  252. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/catalog_helpers.py +0 -0
  253. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/record_helper.py +0 -0
  254. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/schema_helpers.py +0 -0
  255. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/schema_models.py +0 -0
  256. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/slice_logger.py +0 -0
  257. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/transform.py +0 -0
  258. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/sources/utils/types.py +0 -0
  259. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/__init__.py +0 -0
  260. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/catalog_builder.py +0 -0
  261. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/entrypoint_wrapper.py +0 -0
  262. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/mock_http/__init__.py +0 -0
  263. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/mock_http/matcher.py +0 -0
  264. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/mock_http/mocker.py +0 -0
  265. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/mock_http/request.py +0 -0
  266. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/mock_http/response.py +0 -0
  267. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/mock_http/response_builder.py +0 -0
  268. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/test/state_builder.py +0 -0
  269. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/__init__.py +0 -0
  270. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/airbyte_secrets_utils.py +0 -0
  271. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/analytics_message.py +0 -0
  272. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/constants.py +0 -0
  273. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/datetime_format_inferrer.py +0 -0
  274. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/event_timing.py +0 -0
  275. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/is_cloud_environment.py +0 -0
  276. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/mapping_helpers.py +0 -0
  277. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/message_utils.py +0 -0
  278. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/oneof_option_config.py +0 -0
  279. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/schema_inferrer.py +0 -0
  280. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/spec_schema_transformations.py +0 -0
  281. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/stream_status_utils.py +0 -0
  282. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk/utils/traced_exception.py +0 -0
  283. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk.egg-info/SOURCES.txt +0 -0
  284. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk.egg-info/dependency_links.txt +0 -0
  285. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk.egg-info/requires.txt +0 -0
  286. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/airbyte_cdk.egg-info/top_level.txt +0 -0
  287. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/pyproject.toml +0 -0
  288. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/setup.cfg +0 -0
  289. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/source_declarative_manifest/__init__.py +0 -0
  290. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/source_declarative_manifest/main.py +0 -0
  291. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/connector_builder/__init__.py +0 -0
  292. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/connector_builder/test_connector_builder_handler.py +0 -0
  293. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/connector_builder/test_message_grouper.py +0 -0
  294. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/connector_builder/utils.py +0 -0
  295. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/destinations/__init__.py +0 -0
  296. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/destinations/test_destination.py +0 -0
  297. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/singer/__init__.py +0 -0
  298. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/singer/test_singer_helpers.py +0 -0
  299. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/singer/test_singer_source.py +0 -0
  300. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/__init__.py +0 -0
  301. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/concurrent_source/__init__.py +0 -0
  302. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/concurrent_source/test_concurrent_source_adapter.py +0 -0
  303. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/__init__.py +0 -0
  304. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/auth/__init__.py +0 -0
  305. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/auth/test_oauth.py +0 -0
  306. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/auth/test_selective_authenticator.py +0 -0
  307. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/auth/test_session_token_auth.py +0 -0
  308. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/auth/test_token_auth.py +0 -0
  309. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/auth/test_token_provider.py +0 -0
  310. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/checks/__init__.py +0 -0
  311. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/checks/test_check_stream.py +0 -0
  312. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/decoders/__init__.py +0 -0
  313. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/decoders/test_json_decoder.py +0 -0
  314. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/external_component.py +0 -0
  315. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/extractors/__init__.py +0 -0
  316. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/extractors/test_dpath_extractor.py +0 -0
  317. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/extractors/test_record_filter.py +0 -0
  318. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/extractors/test_record_selector.py +0 -0
  319. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/incremental/__init__.py +0 -0
  320. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/incremental/test_per_partition_cursor.py +0 -0
  321. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/interpolation/__init__.py +0 -0
  322. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/interpolation/test_filters.py +0 -0
  323. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/interpolation/test_interpolated_boolean.py +0 -0
  324. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/interpolation/test_interpolated_mapping.py +0 -0
  325. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/interpolation/test_interpolated_nested_mapping.py +0 -0
  326. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/interpolation/test_interpolated_string.py +0 -0
  327. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/interpolation/test_jinja.py +0 -0
  328. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/interpolation/test_macros.py +0 -0
  329. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/parsers/__init__.py +0 -0
  330. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/parsers/test_manifest_component_transformer.py +0 -0
  331. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/parsers/test_manifest_reference_resolver.py +0 -0
  332. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/parsers/testing_components.py +0 -0
  333. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/partition_routers/__init__.py +0 -0
  334. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/partition_routers/test_list_partition_router.py +0 -0
  335. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/partition_routers/test_single_partition_router.py +0 -0
  336. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/partition_routers/test_substream_partition_router.py +0 -0
  337. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/__init__.py +0 -0
  338. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/__init__.py +0 -0
  339. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +0 -0
  340. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_constant_backoff.py +0 -0
  341. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_exponential_backoff.py +0 -0
  342. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_header_helper.py +0 -0
  343. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_wait_time_from_header.py +0 -0
  344. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_wait_until_time_from_header.py +0 -0
  345. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/test_composite_error_handler.py +0 -0
  346. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/test_default_error_handler.py +0 -0
  347. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/test_http_response_filter.py +0 -0
  348. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/error_handlers/test_response_status.py +0 -0
  349. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/paginators/__init__.py +0 -0
  350. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/paginators/test_cursor_pagination_strategy.py +0 -0
  351. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/paginators/test_default_paginator.py +0 -0
  352. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/paginators/test_no_paginator.py +0 -0
  353. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/paginators/test_offset_increment.py +0 -0
  354. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/paginators/test_page_increment.py +0 -0
  355. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/paginators/test_request_option.py +0 -0
  356. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/paginators/test_stop_condition.py +0 -0
  357. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/request_options/__init__.py +0 -0
  358. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/request_options/test_interpolated_request_options_provider.py +0 -0
  359. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/test_http_requester.py +0 -0
  360. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/requesters/test_interpolated_request_input_provider.py +0 -0
  361. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/retrievers/__init__.py +0 -0
  362. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/schema/__init__.py +0 -0
  363. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/schema/source_test/SourceTest.py +0 -0
  364. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/schema/source_test/__init__.py +0 -0
  365. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/schema/test_default_schema_loader.py +0 -0
  366. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/schema/test_inline_schema_loader.py +0 -0
  367. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/schema/test_json_file_schema_loader.py +0 -0
  368. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/states/__init__.py +0 -0
  369. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/stream_slicers/__init__.py +0 -0
  370. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/stream_slicers/test_cartesian_product_stream_slicer.py +0 -0
  371. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/test_create_partial.py +0 -0
  372. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/test_declarative_stream.py +0 -0
  373. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/test_manifest_declarative_source.py +0 -0
  374. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/test_types.py +0 -0
  375. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/declarative/test_yaml_declarative_source.py +0 -0
  376. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/__init__.py +0 -0
  377. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/availability_strategy/__init__.py +0 -0
  378. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/availability_strategy/test_default_file_based_availability_strategy.py +0 -0
  379. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/config/__init__.py +0 -0
  380. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/config/test_abstract_file_based_spec.py +0 -0
  381. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/config/test_csv_format.py +0 -0
  382. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/config/test_file_based_stream_config.py +0 -0
  383. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/discovery_policy/__init__.py +0 -0
  384. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/discovery_policy/test_default_discovery_policy.py +0 -0
  385. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/file_types/__init__.py +0 -0
  386. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/file_types/test_avro_parser.py +0 -0
  387. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/file_types/test_csv_parser.py +0 -0
  388. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/file_types/test_jsonl_parser.py +0 -0
  389. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/file_types/test_parquet_parser.py +0 -0
  390. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/file_types/test_unstructured_parser.py +0 -0
  391. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/helpers.py +0 -0
  392. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/in_memory_files_source.py +0 -0
  393. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/__init__.py +0 -0
  394. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/avro_scenarios.py +0 -0
  395. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/check_scenarios.py +0 -0
  396. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/concurrent_incremental_scenarios.py +0 -0
  397. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/csv_scenarios.py +0 -0
  398. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/file_based_source_builder.py +0 -0
  399. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/incremental_scenarios.py +0 -0
  400. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/jsonl_scenarios.py +0 -0
  401. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/parquet_scenarios.py +0 -0
  402. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/scenario_builder.py +0 -0
  403. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/unstructured_scenarios.py +0 -0
  404. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/user_input_schema_scenarios.py +0 -0
  405. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/scenarios/validation_policy_scenarios.py +0 -0
  406. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/stream/__init__.py +0 -0
  407. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/stream/concurrent/__init__.py +0 -0
  408. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/stream/concurrent/test_adapters.py +0 -0
  409. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/stream/concurrent/test_file_based_concurrent_cursor.py +0 -0
  410. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/stream/test_default_file_based_cursor.py +0 -0
  411. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/stream/test_default_file_based_stream.py +0 -0
  412. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/test_file_based_scenarios.py +0 -0
  413. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/test_file_based_stream_reader.py +0 -0
  414. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/test_scenarios.py +0 -0
  415. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/file_based/test_schema_helpers.py +0 -0
  416. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/fixtures/__init__.py +0 -0
  417. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/fixtures/source_test_fixture.py +0 -0
  418. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/message/__init__.py +0 -0
  419. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/message/test_repository.py +0 -0
  420. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/__init__.py +0 -0
  421. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/__init__.py +0 -0
  422. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/scenarios/__init__.py +0 -0
  423. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/scenarios/incremental_scenarios.py +0 -0
  424. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/scenarios/stream_facade_builder.py +0 -0
  425. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/scenarios/stream_facade_scenarios.py +0 -0
  426. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/scenarios/test_concurrent_scenarios.py +0 -0
  427. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/scenarios/thread_based_concurrent_stream_scenarios.py +0 -0
  428. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/scenarios/thread_based_concurrent_stream_source_builder.py +0 -0
  429. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/scenarios/utils.py +0 -0
  430. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/test_adapters.py +0 -0
  431. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/test_concurrent_read_processor.py +0 -0
  432. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/test_cursor.py +0 -0
  433. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/test_datetime_state_converter.py +0 -0
  434. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/test_default_stream.py +0 -0
  435. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/test_partition_enqueuer.py +0 -0
  436. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/test_partition_reader.py +0 -0
  437. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/concurrent/test_thread_pool_manager.py +0 -0
  438. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/http/__init__.py +0 -0
  439. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/http/auth/__init__.py +0 -0
  440. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/http/auth/test_auth.py +0 -0
  441. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/http/requests_native_auth/__init__.py +0 -0
  442. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/http/requests_native_auth/test_requests_native_auth.py +0 -0
  443. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/http/test_availability_strategy.py +0 -0
  444. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/http/test_http.py +0 -0
  445. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/test_availability_strategy.py +0 -0
  446. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/test_call_rate.py +0 -0
  447. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/test_stream_read.py +0 -0
  448. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/streams/test_streams_core.py +0 -0
  449. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/test_abstract_source.py +0 -0
  450. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/test_concurrent_source.py +0 -0
  451. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/test_config.py +0 -0
  452. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/test_connector_state_manager.py +0 -0
  453. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/test_http_logger.py +0 -0
  454. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/test_integration_source.py +0 -0
  455. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/test_source.py +0 -0
  456. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/sources/test_source_read.py +0 -0
  457. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/test/__init__.py +0 -0
  458. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/test/mock_http/__init__.py +0 -0
  459. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/test/mock_http/test_matcher.py +0 -0
  460. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/test/mock_http/test_mocker.py +0 -0
  461. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/test/mock_http/test_request.py +0 -0
  462. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/test/mock_http/test_response_builder.py +0 -0
  463. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/test/test_entrypoint_wrapper.py +0 -0
  464. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/__init__.py +0 -0
  465. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/test_datetime_format_inferrer.py +0 -0
  466. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/test_mapping_helpers.py +0 -0
  467. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/test_message_utils.py +0 -0
  468. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/test_rate_limiting.py +0 -0
  469. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/test_schema_inferrer.py +0 -0
  470. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/test_secret_utils.py +0 -0
  471. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/test_stream_status_utils.py +0 -0
  472. {airbyte-cdk-0.70.2 → airbyte-cdk-0.72.0}/unit_tests/utils/test_traced_exception.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 0.70.2
3
+ Version: 0.72.0
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://github.com/airbytehq/airbyte
6
6
  Author: Airbyte
@@ -602,6 +602,27 @@ definitions:
602
602
  $parameters:
603
603
  type: object
604
604
  additionalProperties: true
605
+ CustomSchemaLoader:
606
+ title: Custom Schema Loader
607
+ description: Schema Loader component whose behavior is derived from a custom code implementation of the connector.
608
+ type: object
609
+ additionalProperties: true
610
+ required:
611
+ - type
612
+ - class_name
613
+ properties:
614
+ type:
615
+ type: string
616
+ enum: [CustomSchemaLoader]
617
+ class_name:
618
+ title: Class Name
619
+ description: Fully-qualified name of the class that will be implementing the custom schema loader. The format is `source_<name>.<package>.<class_name>`.
620
+ type: string
621
+ examples:
622
+ - "source_railz.components.MyCustomSchemaLoader"
623
+ $parameters:
624
+ type: object
625
+ additionalProperties: true
605
626
  CustomTransformation:
606
627
  title: Custom Transformation
607
628
  description: Transformation component whose behavior is derived from a custom code implementation of the connector.
@@ -948,6 +969,7 @@ definitions:
948
969
  anyOf:
949
970
  - "$ref": "#/definitions/InlineSchemaLoader"
950
971
  - "$ref": "#/definitions/JsonFileSchemaLoader"
972
+ - "$ref": "#/definitions/CustomSchemaLoader"
951
973
  # TODO we have move the transformation to the RecordSelector level in the code but kept this here for
952
974
  # compatibility reason. We should eventually move this to align with the code.
953
975
  transformations:
@@ -24,18 +24,28 @@ class Cursor(ABC, StreamSlicer):
24
24
  :param stream_state: The state of the stream as returned by get_stream_state
25
25
  """
26
26
 
27
+ def observe(self, stream_slice: StreamSlice, record: Record) -> None:
28
+ """
29
+ Register a record with the cursor; the cursor instance can then use it to manage the state of the in-progress stream read.
30
+
31
+ :param stream_slice: The current slice, which may or may not contain the most recently observed record
32
+ :param record: the most recently-read record, which the cursor can use to update the stream state. Outwardly-visible changes to the
33
+ stream state may need to be deferred depending on whether the source reliably orders records by the cursor field.
34
+ """
35
+ pass
36
+
27
37
  @abstractmethod
28
38
  def close_slice(self, stream_slice: StreamSlice, most_recent_record: Optional[Record]) -> None:
29
39
  """
30
40
  Update state based on the stream slice and the latest record. Note that `stream_slice.cursor_slice` and
31
- `last_record.associated_slice` are expected to be the same but we make it explicit here that `stream_slice` should be leveraged to
41
+ `most_recent_record.associated_slice` are expected to be the same but we make it explicit here that `stream_slice` should be leveraged to
32
42
  update the state.
33
43
 
34
44
  :param stream_slice: slice to close
35
- :param last_record: the latest record we have received for the slice. This is important to consider because even if the cursor emits
36
- a slice, some APIs are not able to enforce the upper boundary. The outcome is that the last_record might have a higher cursor
37
- value than the slice upper boundary and if we want to reduce the duplication as much as possible, we need to consider the highest
38
- value between the internal cursor, the stream slice upper boundary and the record cursor value.
45
+ :param most_recent_record: the latest record we have received for the slice. This is important to consider because even if the
46
+ cursor emits a slice, some APIs are not able to enforce the upper boundary. The outcome is that the last_record might have a
47
+ higher cursor value than the slice upper boundary and if we want to reduce the duplication as much as possible, we need to
48
+ consider the highest value between the internal cursor, the stream slice upper boundary and the record cursor value.
39
49
  """
40
50
 
41
51
  @abstractmethod
@@ -52,7 +52,12 @@ class DatetimeBasedCursor(Cursor):
52
52
  datetime_format: str
53
53
  config: Config
54
54
  parameters: InitVar[Mapping[str, Any]]
55
- _cursor: Optional[str] = field(repr=False, default=None) # tracks current datetime
55
+ _highest_observed_cursor_field_value: Optional[str] = field(
56
+ repr=False, default=None
57
+ ) # tracks the latest observed datetime, which may not be safe to emit in the case of out-of-order records
58
+ _cursor: Optional[str] = field(
59
+ repr=False, default=None
60
+ ) # tracks the latest observed datetime that is appropriate to emit as stream state
56
61
  end_datetime: Optional[Union[MinMaxDatetime, str]] = None
57
62
  step: Optional[Union[InterpolatedString, str]] = None
58
63
  cursor_granularity: Optional[str] = None
@@ -109,20 +114,39 @@ class DatetimeBasedCursor(Cursor):
109
114
  """
110
115
  self._cursor = stream_state.get(self._cursor_field.eval(self.config)) if stream_state else None
111
116
 
112
- def close_slice(self, stream_slice: StreamSlice, most_recent_record: Optional[Record]) -> None:
117
+ def observe(self, stream_slice: StreamSlice, record: Record) -> None:
118
+ """
119
+ Register a record with the cursor; the cursor instance can then use it to manage the state of the in-progress stream read.
120
+
121
+ :param stream_slice: The current slice, which may or may not contain the most recently observed record
122
+ :param record: the most recently-read record, which the cursor can use to update the stream state. Outwardly-visible changes to the
123
+ stream state may need to be deferred depending on whether the source reliably orders records by the cursor field.
124
+ """
125
+ record_cursor_value = record.get(self._cursor_field.eval(self.config))
126
+ # if the current record has no cursor value, we cannot meaningfully update the state based on it, so there is nothing more to do
127
+ if not record_cursor_value:
128
+ return
129
+
130
+ start_field = self._partition_field_start.eval(self.config)
131
+ end_field = self._partition_field_end.eval(self.config)
132
+ is_highest_observed_cursor_value = not self._highest_observed_cursor_field_value or self.parse_date(
133
+ record_cursor_value
134
+ ) > self.parse_date(self._highest_observed_cursor_field_value)
135
+ if (
136
+ self._is_within_daterange_boundaries(record, stream_slice.get(start_field), stream_slice.get(end_field)) # type: ignore # we know that stream_slices for these cursors will use a string representing an unparsed date
137
+ and is_highest_observed_cursor_value
138
+ ):
139
+ self._highest_observed_cursor_field_value = record_cursor_value
140
+
141
+ def close_slice(self, stream_slice: StreamSlice, _most_recent_record: Optional[Record]) -> None:
113
142
  if stream_slice.partition:
114
143
  raise ValueError(f"Stream slice {stream_slice} should not have a partition. Got {stream_slice.partition}.")
115
- last_record_cursor_value = most_recent_record.get(self._cursor_field.eval(self.config)) if most_recent_record else None
116
- stream_slice_value_end = stream_slice.get(self._partition_field_end.eval(self.config))
117
- potential_cursor_values = [
118
- cursor_value for cursor_value in [self._cursor, last_record_cursor_value, stream_slice_value_end] if cursor_value
119
- ]
120
144
  cursor_value_str_by_cursor_value_datetime = dict(
121
145
  map(
122
146
  # we need to ensure the cursor value is preserved as is in the state else the CATs might complain of something like
123
147
  # 2023-01-04T17:30:19.000Z' <= '2023-01-04T17:30:19.000000Z'
124
- lambda datetime_str: (self.parse_date(datetime_str), datetime_str),
125
- potential_cursor_values,
148
+ lambda datetime_str: (self.parse_date(datetime_str), datetime_str), # type: ignore # because of the filter on the next line, this will only be called with a str
149
+ filter(lambda item: item, [self._cursor, self._highest_observed_cursor_field_value]),
126
150
  )
127
151
  )
128
152
  self._cursor = (
@@ -279,10 +303,26 @@ class DatetimeBasedCursor(Cursor):
279
303
  f"Could not find cursor field `{cursor_field}` in record. The incremental sync will assume it needs to be synced",
280
304
  )
281
305
  return True
282
-
283
306
  latest_possible_cursor_value = self._select_best_end_datetime()
284
307
  earliest_possible_cursor_value = self._calculate_earliest_possible_value(latest_possible_cursor_value)
285
- return earliest_possible_cursor_value <= self.parse_date(record_cursor_value) <= latest_possible_cursor_value
308
+ return self._is_within_daterange_boundaries(record, earliest_possible_cursor_value, latest_possible_cursor_value)
309
+
310
+ def _is_within_daterange_boundaries(
311
+ self, record: Record, start_datetime_boundary: Union[datetime.datetime, str], end_datetime_boundary: Union[datetime.datetime, str]
312
+ ) -> bool:
313
+ cursor_field = self._cursor_field.eval(self.config)
314
+ record_cursor_value = record.get(cursor_field)
315
+ if not record_cursor_value:
316
+ self._send_log(
317
+ Level.WARN,
318
+ f"Could not find cursor field `{cursor_field}` in record. The record will not be considered when emitting sync state",
319
+ )
320
+ return False
321
+ if isinstance(start_datetime_boundary, str):
322
+ start_datetime_boundary = self.parse_date(start_datetime_boundary)
323
+ if isinstance(end_datetime_boundary, str):
324
+ end_datetime_boundary = self.parse_date(end_datetime_boundary)
325
+ return start_datetime_boundary <= self.parse_date(record_cursor_value) <= end_datetime_boundary
286
326
 
287
327
  def _send_log(self, level: Level, message: str) -> None:
288
328
  if self.message_repository:
@@ -86,6 +86,11 @@ class PerPartitionCursor(Cursor):
86
86
  for state in stream_state["states"]:
87
87
  self._cursor_per_partition[self._to_partition_key(state["partition"])] = self._create_cursor(state["cursor"])
88
88
 
89
+ def observe(self, stream_slice: StreamSlice, record: Record) -> None:
90
+ self._cursor_per_partition[self._to_partition_key(stream_slice.partition)].observe(
91
+ StreamSlice(partition={}, cursor_slice=stream_slice.cursor_slice), record
92
+ )
93
+
89
94
  def close_slice(self, stream_slice: StreamSlice, most_recent_record: Optional[Record]) -> None:
90
95
  try:
91
96
  cursor_most_recent_record = (
@@ -208,6 +208,20 @@ class CustomPartitionRouter(BaseModel):
208
208
  parameters: Optional[Dict[str, Any]] = Field(None, alias='$parameters')
209
209
 
210
210
 
211
+ class CustomSchemaLoader(BaseModel):
212
+ class Config:
213
+ extra = Extra.allow
214
+
215
+ type: Literal['CustomSchemaLoader']
216
+ class_name: str = Field(
217
+ ...,
218
+ description='Fully-qualified name of the class that will be implementing the custom schema loader. The format is `source_<name>.<package>.<class_name>`.',
219
+ examples=['source_railz.components.MyCustomSchemaLoader'],
220
+ title='Class Name',
221
+ )
222
+ parameters: Optional[Dict[str, Any]] = Field(None, alias='$parameters')
223
+
224
+
211
225
  class CustomTransformation(BaseModel):
212
226
  class Config:
213
227
  extra = Extra.allow
@@ -1161,7 +1175,9 @@ class DeclarativeStream(BaseModel):
1161
1175
  primary_key: Optional[PrimaryKey] = Field(
1162
1176
  '', description='The primary key of the stream.', title='Primary Key'
1163
1177
  )
1164
- schema_loader: Optional[Union[InlineSchemaLoader, JsonFileSchemaLoader]] = Field(
1178
+ schema_loader: Optional[
1179
+ Union[InlineSchemaLoader, JsonFileSchemaLoader, CustomSchemaLoader]
1180
+ ] = Field(
1165
1181
  None,
1166
1182
  description='Component used to retrieve the schema for the current stream.',
1167
1183
  title='Schema Loader',
@@ -49,6 +49,7 @@ from airbyte_cdk.sources.declarative.models.declarative_component_schema import
49
49
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import CustomRecordFilter as CustomRecordFilterModel
50
50
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import CustomRequester as CustomRequesterModel
51
51
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import CustomRetriever as CustomRetrieverModel
52
+ from airbyte_cdk.sources.declarative.models.declarative_component_schema import CustomSchemaLoader as CustomSchemaLoader
52
53
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import CustomTransformation as CustomTransformationModel
53
54
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import DatetimeBasedCursor as DatetimeBasedCursorModel
54
55
  from airbyte_cdk.sources.declarative.models.declarative_component_schema import DeclarativeStream as DeclarativeStreamModel
@@ -165,6 +166,7 @@ class ModelToComponentFactory:
165
166
  CustomRecordFilterModel: self.create_custom_component,
166
167
  CustomRequesterModel: self.create_custom_component,
167
168
  CustomRetrieverModel: self.create_custom_component,
169
+ CustomSchemaLoader: self.create_custom_component,
168
170
  CustomPaginationStrategyModel: self.create_custom_component,
169
171
  CustomPartitionRouterModel: self.create_custom_component,
170
172
  CustomTransformationModel: self.create_custom_component,
@@ -322,7 +322,13 @@ class SimpleRetriever(Retriever):
322
322
  records_schema=records_schema,
323
323
  )
324
324
  for stream_data in self._read_pages(record_generator, self.state, _slice):
325
- most_recent_record_from_slice = self._get_most_recent_record(most_recent_record_from_slice, stream_data, _slice)
325
+ current_record = self._extract_record(stream_data, _slice)
326
+ if self.cursor and current_record:
327
+ self.cursor.observe(_slice, current_record)
328
+
329
+ # TODO this is just the most recent record *read*, not necessarily the most recent record *within slice boundaries*; once all
330
+ # cursors implement a meaningful `observe` method, it can be removed, both from here and the `Cursor.close_slice` method args
331
+ most_recent_record_from_slice = self._get_most_recent_record(most_recent_record_from_slice, current_record, _slice)
326
332
  yield stream_data
327
333
 
328
334
  if self.cursor:
@@ -330,13 +336,13 @@ class SimpleRetriever(Retriever):
330
336
  return
331
337
 
332
338
  def _get_most_recent_record(
333
- self, current_most_recent: Optional[Record], stream_data: StreamData, stream_slice: StreamSlice
339
+ self, current_most_recent: Optional[Record], current_record: Optional[Record], stream_slice: StreamSlice
334
340
  ) -> Optional[Record]:
335
- if self.cursor and (record := self._extract_record(stream_data, stream_slice)):
341
+ if self.cursor and current_record:
336
342
  if not current_most_recent:
337
- return record
343
+ return current_record
338
344
  else:
339
- return current_most_recent if self.cursor.is_greater_than_or_equal(current_most_recent, record) else record
345
+ return current_most_recent if self.cursor.is_greater_than_or_equal(current_most_recent, current_record) else current_record
340
346
  else:
341
347
  return None
342
348
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 0.70.2
3
+ Version: 0.72.0
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://github.com/airbytehq/airbyte
6
6
  Author: Airbyte
@@ -36,7 +36,7 @@ setup(
36
36
  name="airbyte-cdk",
37
37
  # The version of the airbyte-cdk package is used at runtime to validate manifests. That validation must be
38
38
  # updated if our semver format changes such as using release candidate versions.
39
- version="0.70.2",
39
+ version="0.72.0",
40
40
  description="A framework for writing Airbyte Connectors.",
41
41
  long_description=README,
42
42
  long_description_content_type="text/markdown",
@@ -338,55 +338,96 @@ def test_stream_slices(
338
338
 
339
339
 
340
340
  @pytest.mark.parametrize(
341
- "test_name, previous_cursor, stream_slice, latest_record_data, expected_state",
341
+ "test_name, previous_cursor, stream_slice, observed_records, expected_state",
342
342
  [
343
343
  (
344
344
  "test_close_slice_previous_cursor_is_highest",
345
345
  "2023-01-01",
346
- StreamSlice(partition={}, cursor_slice={"end_time": "2022-01-01"}),
347
- {cursor_field: "2021-01-01"},
346
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2022-01-01"}),
347
+ [{cursor_field: "2021-01-01"}],
348
348
  {cursor_field: "2023-01-01"},
349
349
  ),
350
350
  (
351
351
  "test_close_slice_stream_slice_partition_end_is_highest",
352
- "2021-01-01",
353
- StreamSlice(partition={}, cursor_slice={"end_time": "2023-01-01"}),
352
+ "2020-01-01",
353
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2023-01-01"}),
354
+ [{cursor_field: "2021-01-01"}],
354
355
  {cursor_field: "2021-01-01"},
355
- {cursor_field: "2023-01-01"},
356
356
  ),
357
357
  (
358
- "test_close_slice_latest_record_cursor_value_is_highest",
358
+ "test_close_slice_latest_record_cursor_value_is_higher_than_slice_end",
359
359
  "2021-01-01",
360
- StreamSlice(partition={}, cursor_slice={"end_time": "2022-01-01"}),
361
- {cursor_field: "2023-01-01"},
362
- {cursor_field: "2023-01-01"},
360
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2022-01-01"}),
361
+ [{cursor_field: "2023-01-01"}],
362
+ {cursor_field: "2021-01-01"},
363
363
  ),
364
364
  (
365
- "test_close_slice_without_latest_record",
365
+ "test_close_slice_with_no_records_observed",
366
366
  "2021-01-01",
367
- StreamSlice(partition={}, cursor_slice={"end_time": "2022-01-01"}),
367
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2022-01-01"}),
368
+ [],
369
+ {cursor_field: "2021-01-01"},
370
+ ),
371
+ (
372
+ "test_close_slice_with_no_records_observed_and_no_previous_state",
368
373
  None,
374
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2022-01-01"}),
375
+ [],
376
+ {},
377
+ ),
378
+ (
379
+ "test_close_slice_without_previous_cursor",
380
+ None,
381
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2023-01-01"}),
382
+ [{cursor_field: "2022-01-01"}],
369
383
  {cursor_field: "2022-01-01"},
370
384
  ),
371
385
  (
372
- "test_close_slice_without_cursor",
386
+ "test_close_slice_with_out_of_order_records",
387
+ "2021-01-01",
388
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2022-01-01"}),
389
+ [{cursor_field: "2021-04-01"}, {cursor_field: "2021-02-01"}, {cursor_field: "2021-03-01"}],
390
+ {cursor_field: "2021-04-01"},
391
+ ),
392
+ (
393
+ "test_close_slice_with_some_records_out_of_slice_boundaries",
394
+ "2021-01-01",
395
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2022-01-01"}),
396
+ [{cursor_field: "2021-02-01"}, {cursor_field: "2021-03-01"}, {cursor_field: "2023-01-01"}],
397
+ {cursor_field: "2021-03-01"},
398
+ ),
399
+ (
400
+ "test_close_slice_with_all_records_out_of_slice_boundaries",
401
+ "2021-01-01",
402
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2022-01-01"}),
403
+ [{cursor_field: "2023-01-01"}],
404
+ {cursor_field: "2021-01-01"},
405
+ ),
406
+ (
407
+ "test_close_slice_with_all_records_out_of_slice_and_no_previous_cursor",
373
408
  None,
374
- StreamSlice(partition={}, cursor_slice={"end_time": "2022-01-01"}),
375
- {cursor_field: "2023-01-01"},
376
- {cursor_field: "2023-01-01"},
409
+ StreamSlice(partition={}, cursor_slice={"start_time": "2021-01-01", "end_time": "2022-01-01"}),
410
+ [{cursor_field: "2023-01-01"}],
411
+ {},
377
412
  ),
378
413
  ],
379
414
  )
380
- def test_close_slice(test_name, previous_cursor, stream_slice, latest_record_data, expected_state):
415
+ def test_close_slice(test_name, previous_cursor, stream_slice, observed_records, expected_state):
381
416
  cursor = DatetimeBasedCursor(
382
417
  start_datetime=MinMaxDatetime(datetime="2021-01-01T00:00:00.000000+0000", parameters={}),
383
418
  cursor_field=InterpolatedString(string=cursor_field, parameters={}),
384
419
  datetime_format="%Y-%m-%d",
385
420
  config=config,
386
421
  parameters={},
422
+ partition_field_start="start_time",
423
+ partition_field_end="end_time",
387
424
  )
388
- cursor._cursor = previous_cursor
389
- cursor.close_slice(stream_slice, Record(latest_record_data, stream_slice) if latest_record_data else None)
425
+ cursor.set_initial_state({cursor_field: previous_cursor})
426
+ for record_data in observed_records:
427
+ record = Record(record_data, stream_slice)
428
+ cursor.observe(stream_slice, record)
429
+ last_record = observed_records[-1] if observed_records else None
430
+ cursor.close_slice(stream_slice, Record(last_record, stream_slice) if last_record else None)
390
431
  updated_state = cursor.get_stream_state()
391
432
  assert updated_state == expected_state
392
433
 
@@ -404,37 +445,42 @@ def test_close_slice_fails_if_slice_has_a_partition():
404
445
  cursor.close_slice(stream_slice, Record({"id": 1}, stream_slice))
405
446
 
406
447
 
407
- def test_given_different_format_and_slice_is_highest_when_close_slice_then_slice_datetime_format():
448
+ def test_compares_cursor_values_by_chronological_order():
408
449
  cursor = DatetimeBasedCursor(
409
450
  start_datetime=MinMaxDatetime(datetime="2021-01-01T00:00:00.000000+0000", parameters={}),
410
451
  cursor_field=cursor_field,
411
- datetime_format="%Y-%m-%dT%H:%M:%S.%fZ",
412
- cursor_datetime_formats=["%Y-%m-%d"],
452
+ datetime_format="%d-%m-%Y",
413
453
  config=config,
414
454
  parameters={},
415
455
  )
416
456
 
417
- _slice = StreamSlice(partition={}, cursor_slice={"end_time": "2023-01-04T17:30:19.000Z"})
418
- record_cursor_value = "2023-01-03"
419
- cursor.close_slice(_slice, Record({cursor_field: record_cursor_value}, _slice))
457
+ _slice = StreamSlice(partition={}, cursor_slice={"start_time": "01-01-2023", "end_time": "01-04-2023"})
458
+ first_record = Record({cursor_field: "21-02-2023"}, _slice)
459
+ cursor.observe(_slice, first_record)
460
+ second_record = Record({cursor_field: "01-03-2023"}, _slice)
461
+ cursor.observe(_slice, second_record)
462
+ cursor.close_slice(_slice, second_record)
420
463
 
421
- assert cursor.get_stream_state()[cursor_field] == "2023-01-04T17:30:19.000Z"
464
+ assert cursor.get_stream_state()[cursor_field] == "01-03-2023"
422
465
 
423
466
 
424
- def test_given_partition_end_is_specified_and_greater_than_record_when_close_slice_then_use_partition_end():
425
- partition_field_end = "partition_field_end"
467
+ def test_given_different_format_and_slice_is_highest_when_close_slice_then_state_uses_record_format():
426
468
  cursor = DatetimeBasedCursor(
427
469
  start_datetime=MinMaxDatetime(datetime="2021-01-01T00:00:00.000000+0000", parameters={}),
428
- cursor_field=InterpolatedString(string=cursor_field, parameters={}),
429
- datetime_format="%Y-%m-%d",
430
- partition_field_end=partition_field_end,
470
+ cursor_field=cursor_field,
471
+ datetime_format="%Y-%m-%dT%H:%M:%S.%fZ",
472
+ cursor_datetime_formats=["%Y-%m-%d"],
431
473
  config=config,
432
474
  parameters={},
433
475
  )
434
- stream_slice = StreamSlice(partition={}, cursor_slice={partition_field_end: "2025-01-01"})
435
- cursor.close_slice(stream_slice, Record({cursor_field: "2020-01-01"}, stream_slice))
436
- updated_state = cursor.get_stream_state()
437
- assert {cursor_field: "2025-01-01"} == updated_state
476
+
477
+ _slice = StreamSlice(partition={}, cursor_slice={"start_time": "2023-01-01T17:30:19.000Z", "end_time": "2023-01-04T17:30:19.000Z"})
478
+ record_cursor_value = "2023-01-03"
479
+ record = Record({cursor_field: record_cursor_value}, _slice)
480
+ cursor.observe(_slice, record)
481
+ cursor.close_slice(_slice, record)
482
+
483
+ assert cursor.get_stream_state()[cursor_field] == "2023-01-03"
438
484
 
439
485
 
440
486
  @pytest.mark.parametrize(
@@ -200,14 +200,14 @@ def test_given_record_for_partition_when_read_then_update_state():
200
200
  "states": [
201
201
  {
202
202
  "partition": {"partition_field": "1"},
203
- "cursor": {CURSOR_FIELD: "2022-01-31"},
203
+ "cursor": {CURSOR_FIELD: "2022-01-15"},
204
204
  }
205
205
  ]
206
206
  }
207
207
 
208
208
 
209
209
  def test_substream_without_input_state():
210
- source = ManifestDeclarativeSource(
210
+ test_source = ManifestDeclarativeSource(
211
211
  source_config=ManifestBuilder()
212
212
  .with_substream_partition_router("AnotherStream")
213
213
  .with_incremental_sync(
@@ -231,14 +231,14 @@ def test_substream_without_input_state():
231
231
  .build()
232
232
  )
233
233
 
234
- stream_instance = source.streams({})[1]
234
+ stream_instance = test_source.streams({})[1]
235
235
 
236
236
  stream_slice = StreamSlice(partition={"parent_id": "1"},
237
237
  cursor_slice={"start_time": "2022-01-01", "end_time": "2022-01-31"})
238
238
 
239
239
  with patch.object(
240
240
  SimpleRetriever, "_read_pages", side_effect=[[Record({"id": "1", CURSOR_FIELD: "2022-01-15"}, stream_slice)],
241
- Record({"id": "2", CURSOR_FIELD: "2022-01-15"}, stream_slice)]
241
+ [Record({"id": "2", CURSOR_FIELD: "2022-01-15"}, stream_slice)]]
242
242
  ):
243
243
  slices = list(stream_instance.stream_slices(sync_mode=SYNC_MODE))
244
244
  assert list(slices) == [
@@ -246,6 +246,10 @@ def test_substream_without_input_state():
246
246
  cursor_slice={"start_time": "2022-01-01", "end_time": "2022-01-31"}),
247
247
  StreamSlice(partition={"parent_id": "1", "parent_slice": {}, },
248
248
  cursor_slice={"start_time": "2022-02-01", "end_time": "2022-02-28"}),
249
+ StreamSlice(partition={"parent_id": "2", "parent_slice": {}, },
250
+ cursor_slice={"start_time": "2022-01-01", "end_time": "2022-01-31"}),
251
+ StreamSlice(partition={"parent_id": "2", "parent_slice": {}, },
252
+ cursor_slice={"start_time": "2022-02-01", "end_time": "2022-02-28"}),
249
253
  ]
250
254
 
251
255
 
@@ -307,7 +311,7 @@ def test_substream_with_legacy_input_state():
307
311
  with patch.object(
308
312
  SimpleRetriever, "_read_pages", side_effect=[
309
313
  [Record({"id": "1", CURSOR_FIELD: "2022-01-15"}, stream_slice)],
310
- [Record({"parent_id": "1"}, stream_slice)],
314
+ [Record({"parent_id": "1", CURSOR_FIELD: "2022-01-15"}, stream_slice)],
311
315
  [Record({"id": "2", CURSOR_FIELD: "2022-01-15"}, stream_slice)],
312
316
  [Record({"parent_id": "2", CURSOR_FIELD: "2022-01-15"}, stream_slice)]
313
317
  ]
@@ -319,7 +323,7 @@ def test_substream_with_legacy_input_state():
319
323
  expected_state = {"states": [
320
324
  {
321
325
  "cursor": {
322
- "cursor_field": "2022-01-31"
326
+ CURSOR_FIELD: "2022-01-15"
323
327
  },
324
328
  "partition": {"parent_id": "1", "parent_slice": {}}
325
329
  }
@@ -5,6 +5,7 @@
5
5
  # mypy: ignore-errors
6
6
 
7
7
  import datetime
8
+ from typing import Any, Mapping
8
9
 
9
10
  import pytest
10
11
  from airbyte_cdk.models import Level
@@ -27,6 +28,7 @@ from airbyte_cdk.sources.declarative.models import CheckStream as CheckStreamMod
27
28
  from airbyte_cdk.sources.declarative.models import CompositeErrorHandler as CompositeErrorHandlerModel
28
29
  from airbyte_cdk.sources.declarative.models import CustomErrorHandler as CustomErrorHandlerModel
29
30
  from airbyte_cdk.sources.declarative.models import CustomPartitionRouter as CustomPartitionRouterModel
31
+ from airbyte_cdk.sources.declarative.models import CustomSchemaLoader as CustomSchemaLoaderModel
30
32
  from airbyte_cdk.sources.declarative.models import DatetimeBasedCursor as DatetimeBasedCursorModel
31
33
  from airbyte_cdk.sources.declarative.models import DeclarativeStream as DeclarativeStreamModel
32
34
  from airbyte_cdk.sources.declarative.models import DefaultPaginator as DefaultPaginatorModel
@@ -66,6 +68,7 @@ from airbyte_cdk.sources.declarative.requesters.request_path import RequestPath
66
68
  from airbyte_cdk.sources.declarative.requesters.requester import HttpMethod
67
69
  from airbyte_cdk.sources.declarative.retrievers import SimpleRetriever, SimpleRetrieverTestReadDecorator
68
70
  from airbyte_cdk.sources.declarative.schema import JsonFileSchemaLoader
71
+ from airbyte_cdk.sources.declarative.schema.schema_loader import SchemaLoader
69
72
  from airbyte_cdk.sources.declarative.spec import Spec
70
73
  from airbyte_cdk.sources.declarative.stream_slicers import CartesianProductStreamSlicer
71
74
  from airbyte_cdk.sources.declarative.transformations import AddFields, RemoveFields
@@ -1820,3 +1823,19 @@ def test_create_offset_increment():
1820
1823
  assert strategy.page_size == expected_strategy.page_size
1821
1824
  assert strategy.inject_on_first_request == expected_strategy.inject_on_first_request
1822
1825
  assert strategy.config == input_config
1826
+
1827
+
1828
+ class MyCustomSchemaLoader(SchemaLoader):
1829
+ def get_json_schema(self) -> Mapping[str, Any]:
1830
+ """Returns a mapping describing the stream's schema"""
1831
+ return {}
1832
+
1833
+
1834
+ def test_create_custom_schema_loader():
1835
+
1836
+ definition = {
1837
+ "type": "CustomSchemaLoader",
1838
+ "class_name": "unit_tests.sources.declarative.parsers.test_model_to_component_factory.MyCustomSchemaLoader"
1839
+ }
1840
+ component = factory.create_component(CustomSchemaLoaderModel, definition, {})
1841
+ assert isinstance(component, MyCustomSchemaLoader)
@@ -477,6 +477,7 @@ def test_given_stream_data_is_not_record_when_read_records_then_update_slice_wit
477
477
  side_effect=retriever_read_pages,
478
478
  ):
479
479
  list(retriever.read_records(stream_slice=stream_slice, records_schema={}))
480
+ cursor.observe.assert_not_called()
480
481
  cursor.close_slice.assert_called_once_with(stream_slice, None)
481
482
 
482
483
 
File without changes
File without changes