airbyte-cdk 0.58.9__tar.gz → 0.59.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/PKG-INFO +1 -1
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/cursor.py +29 -8
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/state_converters/abstract_stream_state_converter.py +6 -12
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/state_converters/datetime_stream_state_converter.py +36 -30
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk.egg-info/PKG-INFO +1 -1
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/setup.py +1 -1
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/scenarios/stream_facade_builder.py +2 -2
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_cursor.py +20 -3
- airbyte-cdk-0.59.0/unit_tests/sources/streams/concurrent/test_datetime_state_converter.py +325 -0
- airbyte-cdk-0.58.9/unit_tests/sources/streams/concurrent/test_datetime_state_converter.py +0 -427
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/LICENSE.txt +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/README.md +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/config_observation.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/connector.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/connector_builder/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/connector_builder/connector_builder_handler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/connector_builder/main.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/connector_builder/message_grouper.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/connector_builder/models.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/destination.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/vector_db_based/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/vector_db_based/config.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/vector_db_based/document_processor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/vector_db_based/embedder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/vector_db_based/indexer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/vector_db_based/test_utils.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/vector_db_based/utils.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/destinations/vector_db_based/writer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/entrypoint.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/exception_handler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/logger.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/models/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/models/airbyte_protocol.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/models/well_known_types.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/py.typed +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/abstract_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/concurrent_source/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/concurrent_source/concurrent_read_processor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/concurrent_source/concurrent_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/concurrent_source/concurrent_source_adapter.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/concurrent_source/partition_generation_completed_sentinel.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/concurrent_source/thread_pool_manager.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/concurrent_source/throttler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/config.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/connector_state_manager.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/auth/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/auth/declarative_authenticator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/auth/oauth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/auth/selective_authenticator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/auth/token.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/auth/token_provider.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/checks/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/checks/check_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/checks/connection_checker.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/create_partial.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/datetime/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/datetime/datetime_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/datetime/min_max_datetime.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/declarative_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/declarative_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/decoders/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/decoders/decoder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/decoders/json_decoder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/exceptions.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/extractors/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/extractors/dpath_extractor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/extractors/http_selector.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/extractors/record_extractor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/extractors/record_filter.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/extractors/record_selector.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/incremental/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/incremental/cursor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/incremental/per_partition_cursor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/filters.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_boolean.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_nested_mapping.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/interpolation.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/jinja.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/interpolation/macros.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/manifest_declarative_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/models/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/models/declarative_component_schema.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/parsers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/parsers/class_types_registry.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/parsers/custom_exceptions.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/parsers/default_implementation_registry.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/parsers/manifest_reference_resolver.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/partition_routers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/partition_routers/list_partition_router.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/partition_routers/single_partition_router.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/partition_routers/substream_partition_router.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/constant_backoff_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/exponential_backoff_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/header_helper.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_until_time_from_header_backoff_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/composite_error_handler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/error_handler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/http_response_filter.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/response_action.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/error_handlers/response_status.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/http_requester.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/default_paginator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/cursor_pagination_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/page_increment.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/pagination_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/stop_condition.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/request_option.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/request_options/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_nested_request_input_provider.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_input_provider.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_options_provider.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/request_options/request_options_provider.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/request_path.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/requesters/requester.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/retrievers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/retrievers/retriever.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/schema/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/schema/default_schema_loader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/schema/inline_schema_loader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/schema/json_file_schema_loader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/schema/schema_loader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/spec/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/spec/spec.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/stream_slicers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/stream_slicers/cartesian_product_stream_slicer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/transformations/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/transformations/add_fields.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/transformations/remove_fields.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/transformations/transformation.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/types.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/declarative/yaml_declarative_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/deprecated/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/deprecated/base_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/deprecated/client.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/embedded/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/embedded/base_integration.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/embedded/catalog.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/embedded/runner.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/embedded/tools.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/availability_strategy/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/availability_strategy/abstract_file_based_availability_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/availability_strategy/default_file_based_availability_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/config/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/config/abstract_file_based_spec.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/config/avro_format.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/config/csv_format.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/config/file_based_stream_config.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/config/jsonl_format.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/config/parquet_format.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/config/unstructured_format.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/discovery_policy/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/discovery_policy/abstract_discovery_policy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/discovery_policy/default_discovery_policy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/exceptions.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_based_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_based_stream_reader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_types/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_types/avro_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_types/csv_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_types/file_type_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_types/jsonl_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_types/parquet_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/file_types/unstructured_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/remote_file.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/schema_helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/schema_validation_policies/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/schema_validation_policies/abstract_schema_validation_policy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/schema_validation_policies/default_schema_validation_policies.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/stream/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/stream/abstract_file_based_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/stream/cursor/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/stream/cursor/abstract_file_based_cursor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/stream/cursor/default_file_based_cursor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/stream/default_file_based_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/file_based/types.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/http_config.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/http_logger.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/message/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/message/repository.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/singer/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/singer/singer_helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/singer/source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/availability_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/call_rate.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/abstract_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/adapters.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/availability_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/default_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/exceptions.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/partition_enqueuer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/partition_reader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/partitions/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/partitions/partition.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/partitions/partition_generator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/partitions/record.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/partitions/throttled_queue.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/partitions/types.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/concurrent/state_converters/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/core.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/auth/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/auth/core.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/auth/oauth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/auth/token.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/availability_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/exceptions.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/http.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/rate_limiting.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_token.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/http/requests_native_auth/token.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/utils/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/streams/utils/stream_helper.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/casing.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/catalog_helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/record_helper.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/schema_helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/schema_models.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/slice_logger.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/transform.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/sources/utils/types.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/catalog_builder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/entrypoint_wrapper.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/mock_http/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/mock_http/matcher.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/mock_http/mocker.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/mock_http/request.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/mock_http/response.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/mock_http/response_builder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/test/state_builder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/airbyte_secrets_utils.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/analytics_message.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/constants.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/datetime_format_inferrer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/event_timing.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/is_cloud_environment.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/mapping_helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/oneof_option_config.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/schema_inferrer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/spec_schema_transformations.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/stream_status_utils.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk/utils/traced_exception.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk.egg-info/SOURCES.txt +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk.egg-info/dependency_links.txt +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk.egg-info/requires.txt +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/airbyte_cdk.egg-info/top_level.txt +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/pyproject.toml +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/setup.cfg +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/source_declarative_manifest/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/source_declarative_manifest/main.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/connector_builder/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/connector_builder/test_connector_builder_handler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/connector_builder/test_message_grouper.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/connector_builder/utils.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/destinations/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/destinations/test_destination.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/singer/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/singer/test_singer_helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/singer/test_singer_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/concurrent_source/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/concurrent_source/test_concurrent_source_adapter.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/auth/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/auth/test_oauth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/auth/test_selective_authenticator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/auth/test_session_token_auth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/auth/test_token_auth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/auth/test_token_provider.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/checks/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/checks/test_check_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/decoders/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/decoders/test_json_decoder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/external_component.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/extractors/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/extractors/test_dpath_extractor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/extractors/test_record_filter.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/extractors/test_record_selector.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/incremental/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/incremental/test_datetime_based_cursor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/incremental/test_per_partition_cursor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/incremental/test_per_partition_cursor_integration.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/interpolation/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/interpolation/test_filters.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/interpolation/test_interpolated_boolean.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/interpolation/test_interpolated_mapping.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/interpolation/test_interpolated_nested_mapping.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/interpolation/test_interpolated_string.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/interpolation/test_jinja.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/interpolation/test_macros.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/parsers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/parsers/test_manifest_component_transformer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/parsers/test_manifest_reference_resolver.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/parsers/test_model_to_component_factory.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/parsers/testing_components.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/partition_routers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/partition_routers/test_list_partition_router.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/partition_routers/test_single_partition_router.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/partition_routers/test_substream_partition_router.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_constant_backoff.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_exponential_backoff.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_header_helper.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_wait_time_from_header.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_wait_until_time_from_header.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/test_composite_error_handler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/test_default_error_handler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/test_http_response_filter.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/error_handlers/test_response_status.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/paginators/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/paginators/test_cursor_pagination_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/paginators/test_default_paginator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/paginators/test_no_paginator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/paginators/test_offset_increment.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/paginators/test_page_increment.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/paginators/test_request_option.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/paginators/test_stop_condition.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/request_options/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/request_options/test_interpolated_request_options_provider.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/test_http_requester.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/requesters/test_interpolated_request_input_provider.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/retrievers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/retrievers/test_simple_retriever.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/schema/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/schema/source_test/SourceTest.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/schema/source_test/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/schema/test_default_schema_loader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/schema/test_inline_schema_loader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/schema/test_json_file_schema_loader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/states/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/stream_slicers/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/stream_slicers/test_cartesian_product_stream_slicer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/test_create_partial.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/test_declarative_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/test_manifest_declarative_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/declarative/test_yaml_declarative_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/availability_strategy/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/availability_strategy/test_default_file_based_availability_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/config/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/config/test_abstract_file_based_spec.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/config/test_csv_format.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/config/test_file_based_stream_config.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/discovery_policy/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/discovery_policy/test_default_discovery_policy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/file_types/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/file_types/test_avro_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/file_types/test_csv_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/file_types/test_jsonl_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/file_types/test_parquet_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/file_types/test_unstructured_parser.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/in_memory_files_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/avro_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/check_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/csv_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/file_based_source_builder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/incremental_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/jsonl_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/parquet_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/scenario_builder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/unstructured_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/user_input_schema_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/scenarios/validation_policy_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/stream/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/stream/test_default_file_based_cursor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/stream/test_default_file_based_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/test_file_based_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/test_file_based_stream_reader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/test_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/file_based/test_schema_helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/fixtures/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/fixtures/source_test_fixture.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/message/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/message/test_repository.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/scenarios/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/scenarios/incremental_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/scenarios/stream_facade_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/scenarios/test_concurrent_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/scenarios/thread_based_concurrent_stream_scenarios.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/scenarios/thread_based_concurrent_stream_source_builder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/scenarios/utils.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_adapters.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_concurrent_partition_generator.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_concurrent_read_processor.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_default_stream.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_partition_reader.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_thread_pool_manager.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_throttled_queue.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_throttler.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/http/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/http/auth/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/http/auth/test_auth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/http/requests_native_auth/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/http/requests_native_auth/test_requests_native_auth.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/http/test_availability_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/http/test_http.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/test_availability_strategy.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/test_call_rate.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/test_stream_read.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/test_streams_core.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/test_abstract_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/test_concurrent_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/test_config.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/test_connector_state_manager.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/test_http_logger.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/test_integration_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/test_source.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/test_source_read.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/test/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/test/mock_http/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/test/mock_http/test_matcher.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/test/mock_http/test_mocker.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/test/mock_http/test_request.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/test/mock_http/test_response_builder.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/test/test_entrypoint_wrapper.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/utils/__init__.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/utils/test_datetime_format_inferrer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/utils/test_mapping_helpers.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/utils/test_rate_limiting.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/utils/test_schema_inferrer.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/utils/test_secret_utils.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/utils/test_stream_status_utils.py +0 -0
- {airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/utils/test_traced_exception.py +0 -0
@@ -3,7 +3,8 @@
|
|
3
3
|
#
|
4
4
|
import functools
|
5
5
|
from abc import ABC, abstractmethod
|
6
|
-
from
|
6
|
+
from datetime import datetime
|
7
|
+
from typing import Any, List, Mapping, MutableMapping, Optional, Protocol, Tuple
|
7
8
|
|
8
9
|
from airbyte_cdk.sources.connector_state_manager import ConnectorStateManager
|
9
10
|
from airbyte_cdk.sources.message import MessageRepository
|
@@ -36,6 +37,11 @@ class CursorField:
|
|
36
37
|
|
37
38
|
|
38
39
|
class Cursor(ABC):
|
40
|
+
@property
|
41
|
+
@abstractmethod
|
42
|
+
def state(self) -> MutableMapping[str, Any]:
|
43
|
+
...
|
44
|
+
|
39
45
|
@abstractmethod
|
40
46
|
def observe(self, record: Record) -> None:
|
41
47
|
"""
|
@@ -52,6 +58,10 @@ class Cursor(ABC):
|
|
52
58
|
|
53
59
|
|
54
60
|
class NoopCursor(Cursor):
|
61
|
+
@property
|
62
|
+
def state(self) -> MutableMapping[str, Any]:
|
63
|
+
return {}
|
64
|
+
|
55
65
|
def observe(self, record: Record) -> None:
|
56
66
|
pass
|
57
67
|
|
@@ -73,6 +83,7 @@ class ConcurrentCursor(Cursor):
|
|
73
83
|
connector_state_converter: AbstractStreamStateConverter,
|
74
84
|
cursor_field: CursorField,
|
75
85
|
slice_boundary_fields: Optional[Tuple[str, str]],
|
86
|
+
start: Optional[Any],
|
76
87
|
) -> None:
|
77
88
|
self._stream_name = stream_name
|
78
89
|
self._stream_namespace = stream_namespace
|
@@ -82,9 +93,19 @@ class ConcurrentCursor(Cursor):
|
|
82
93
|
self._cursor_field = cursor_field
|
83
94
|
# To see some example where the slice boundaries might not be defined, check https://github.com/airbytehq/airbyte/blob/1ce84d6396e446e1ac2377362446e3fb94509461/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py#L363-L379
|
84
95
|
self._slice_boundary_fields = slice_boundary_fields if slice_boundary_fields else tuple()
|
96
|
+
self._start = start
|
85
97
|
self._most_recent_record: Optional[Record] = None
|
86
98
|
self._has_closed_at_least_one_slice = False
|
87
|
-
self.
|
99
|
+
self.start, self._concurrent_state = self._get_concurrent_state(stream_state)
|
100
|
+
|
101
|
+
@property
|
102
|
+
def state(self) -> MutableMapping[str, Any]:
|
103
|
+
return self._concurrent_state
|
104
|
+
|
105
|
+
def _get_concurrent_state(self, state: MutableMapping[str, Any]) -> Tuple[datetime, MutableMapping[str, Any]]:
|
106
|
+
if self._connector_state_converter.is_state_message_compatible(state):
|
107
|
+
return self._start or self._connector_state_converter.zero_value, self._connector_state_converter.deserialize(state)
|
108
|
+
return self._connector_state_converter.convert_from_sequential_state(self._cursor_field, state, self._start)
|
88
109
|
|
89
110
|
def observe(self, record: Record) -> None:
|
90
111
|
if self._slice_boundary_fields:
|
@@ -102,7 +123,7 @@ class ConcurrentCursor(Cursor):
|
|
102
123
|
def close_partition(self, partition: Partition) -> None:
|
103
124
|
slice_count_before = len(self.state.get("slices", []))
|
104
125
|
self._add_slice_to_state(partition)
|
105
|
-
if slice_count_before < len(self.state["slices"]):
|
126
|
+
if slice_count_before < len(self.state["slices"]): # only emit if at least one slice has been processed
|
106
127
|
self._merge_partitions()
|
107
128
|
self._emit_state_message()
|
108
129
|
self._has_closed_at_least_one_slice = True
|
@@ -110,7 +131,9 @@ class ConcurrentCursor(Cursor):
|
|
110
131
|
def _add_slice_to_state(self, partition: Partition) -> None:
|
111
132
|
if self._slice_boundary_fields:
|
112
133
|
if "slices" not in self.state:
|
113
|
-
|
134
|
+
raise RuntimeError(
|
135
|
+
f"The state for stream {self._stream_name} should have at least one slice to delineate the sync start time, but no slices are present. This is unexpected. Please contact Support."
|
136
|
+
)
|
114
137
|
self.state["slices"].append(
|
115
138
|
{
|
116
139
|
"start": self._extract_from_slice(partition, self._slice_boundary_fields[self._START_BOUNDARY]),
|
@@ -126,10 +149,8 @@ class ConcurrentCursor(Cursor):
|
|
126
149
|
|
127
150
|
self.state["slices"].append(
|
128
151
|
{
|
129
|
-
|
130
|
-
|
131
|
-
"start": self._connector_state_converter.zero_value,
|
132
|
-
"end": self._extract_cursor_value(self._most_recent_record),
|
152
|
+
self._connector_state_converter.START_KEY: self.start,
|
153
|
+
self._connector_state_converter.END_KEY: self._extract_cursor_value(self._most_recent_record),
|
133
154
|
}
|
134
155
|
)
|
135
156
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
from abc import ABC, abstractmethod
|
6
6
|
from enum import Enum
|
7
|
-
from typing import TYPE_CHECKING, Any, List, MutableMapping,
|
7
|
+
from typing import TYPE_CHECKING, Any, List, MutableMapping, Tuple
|
8
8
|
|
9
9
|
if TYPE_CHECKING:
|
10
10
|
from airbyte_cdk.sources.streams.concurrent.cursor import CursorField
|
@@ -18,15 +18,6 @@ class AbstractStreamStateConverter(ABC):
|
|
18
18
|
START_KEY = "start"
|
19
19
|
END_KEY = "end"
|
20
20
|
|
21
|
-
def get_concurrent_stream_state(
|
22
|
-
self, cursor_field: Optional["CursorField"], state: MutableMapping[str, Any]
|
23
|
-
) -> Optional[MutableMapping[str, Any]]:
|
24
|
-
if not cursor_field:
|
25
|
-
return None
|
26
|
-
if self.is_state_message_compatible(state):
|
27
|
-
return self.deserialize(state)
|
28
|
-
return self.convert_from_sequential_state(cursor_field, state)
|
29
|
-
|
30
21
|
@abstractmethod
|
31
22
|
def deserialize(self, state: MutableMapping[str, Any]) -> MutableMapping[str, Any]:
|
32
23
|
"""
|
@@ -40,8 +31,11 @@ class AbstractStreamStateConverter(ABC):
|
|
40
31
|
|
41
32
|
@abstractmethod
|
42
33
|
def convert_from_sequential_state(
|
43
|
-
self,
|
44
|
-
|
34
|
+
self,
|
35
|
+
cursor_field: "CursorField",
|
36
|
+
stream_state: MutableMapping[str, Any],
|
37
|
+
start: Any,
|
38
|
+
) -> Tuple[Any, MutableMapping[str, Any]]:
|
45
39
|
"""
|
46
40
|
Convert the state message to the format required by the ConcurrentCursor.
|
47
41
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
from abc import abstractmethod
|
6
6
|
from datetime import datetime, timedelta
|
7
|
-
from typing import Any, List, MutableMapping, Optional
|
7
|
+
from typing import Any, List, MutableMapping, Optional, Tuple
|
8
8
|
|
9
9
|
import pendulum
|
10
10
|
from airbyte_cdk.sources.streams.concurrent.cursor import CursorField
|
@@ -16,9 +16,6 @@ from pendulum.datetime import DateTime
|
|
16
16
|
|
17
17
|
|
18
18
|
class DateTimeStreamStateConverter(AbstractStreamStateConverter):
|
19
|
-
START_KEY = "start"
|
20
|
-
END_KEY = "end"
|
21
|
-
|
22
19
|
@property
|
23
20
|
@abstractmethod
|
24
21
|
def _zero_value(self) -> Any:
|
@@ -62,7 +59,7 @@ class DateTimeStreamStateConverter(AbstractStreamStateConverter):
|
|
62
59
|
for interval in sorted_intervals[1:]:
|
63
60
|
last_end_time = merged_intervals[-1][self.END_KEY]
|
64
61
|
current_start_time = interval[self.START_KEY]
|
65
|
-
if self.
|
62
|
+
if self._compare_intervals(last_end_time, current_start_time):
|
66
63
|
merged_end_time = max(last_end_time, interval[self.END_KEY])
|
67
64
|
merged_intervals[-1][self.END_KEY] = merged_end_time
|
68
65
|
else:
|
@@ -70,10 +67,12 @@ class DateTimeStreamStateConverter(AbstractStreamStateConverter):
|
|
70
67
|
|
71
68
|
return merged_intervals
|
72
69
|
|
73
|
-
def
|
70
|
+
def _compare_intervals(self, end_time: Any, start_time: Any) -> bool:
|
74
71
|
return bool(self.increment(end_time) >= start_time)
|
75
72
|
|
76
|
-
def convert_from_sequential_state(
|
73
|
+
def convert_from_sequential_state(
|
74
|
+
self, cursor_field: CursorField, stream_state: MutableMapping[str, Any], start: datetime
|
75
|
+
) -> Tuple[datetime, MutableMapping[str, Any]]:
|
77
76
|
"""
|
78
77
|
Convert the state message to the format required by the ConcurrentCursor.
|
79
78
|
|
@@ -82,28 +81,35 @@ class DateTimeStreamStateConverter(AbstractStreamStateConverter):
|
|
82
81
|
"state_type": ConcurrencyCompatibleStateType.date_range.value,
|
83
82
|
"metadata": { … },
|
84
83
|
"slices": [
|
85
|
-
{
|
84
|
+
{"start": "2021-01-18T21:18:20.000+00:00", "end": "2021-01-18T21:18:20.000+00:00"},
|
85
|
+
]
|
86
86
|
}
|
87
87
|
"""
|
88
|
+
sync_start = self._get_sync_start(cursor_field, stream_state, start)
|
88
89
|
if self.is_state_message_compatible(stream_state):
|
89
|
-
return stream_state
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
},
|
98
|
-
]
|
99
|
-
else:
|
100
|
-
slices = []
|
101
|
-
return {
|
90
|
+
return sync_start, stream_state
|
91
|
+
|
92
|
+
# Create a slice to represent the records synced during prior syncs.
|
93
|
+
# The start and end are the same to avoid confusion as to whether the records for this slice
|
94
|
+
# were actually synced
|
95
|
+
slices = [{self.START_KEY: sync_start, self.END_KEY: sync_start}]
|
96
|
+
|
97
|
+
return sync_start, {
|
102
98
|
"state_type": ConcurrencyCompatibleStateType.date_range.value,
|
103
99
|
"slices": slices,
|
104
100
|
"legacy": stream_state,
|
105
101
|
}
|
106
102
|
|
103
|
+
def _get_sync_start(self, cursor_field: CursorField, stream_state: MutableMapping[str, Any], start: Optional[Any]) -> datetime:
|
104
|
+
sync_start = self.parse_timestamp(start) if start is not None else self.zero_value
|
105
|
+
prev_sync_low_water_mark = (
|
106
|
+
self.parse_timestamp(stream_state[cursor_field.cursor_field_key]) if cursor_field.cursor_field_key in stream_state else None
|
107
|
+
)
|
108
|
+
if prev_sync_low_water_mark and prev_sync_low_water_mark >= sync_start:
|
109
|
+
return prev_sync_low_water_mark
|
110
|
+
else:
|
111
|
+
return sync_start
|
112
|
+
|
107
113
|
def convert_to_sequential_state(self, cursor_field: CursorField, stream_state: MutableMapping[str, Any]) -> MutableMapping[str, Any]:
|
108
114
|
"""
|
109
115
|
Convert the state message from the concurrency-compatible format to the stream's original format.
|
@@ -113,10 +119,9 @@ class DateTimeStreamStateConverter(AbstractStreamStateConverter):
|
|
113
119
|
"""
|
114
120
|
if self.is_state_message_compatible(stream_state):
|
115
121
|
legacy_state = stream_state.get("legacy", {})
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
legacy_state.update({cursor_field.cursor_field_key: self.output_format(latest_complete_time)})
|
122
|
+
latest_complete_time = self._get_latest_complete_time(stream_state.get("slices", []))
|
123
|
+
if latest_complete_time is not None:
|
124
|
+
legacy_state.update({cursor_field.cursor_field_key: self.output_format(latest_complete_time)})
|
120
125
|
return legacy_state or {}
|
121
126
|
else:
|
122
127
|
return stream_state
|
@@ -125,11 +130,12 @@ class DateTimeStreamStateConverter(AbstractStreamStateConverter):
|
|
125
130
|
"""
|
126
131
|
Get the latest time before which all records have been processed.
|
127
132
|
"""
|
128
|
-
if slices:
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
+
if not slices:
|
134
|
+
raise RuntimeError("Expected at least one slice but there were none. This is unexpected; please contact Support.")
|
135
|
+
|
136
|
+
merged_intervals = self.merge_intervals(slices)
|
137
|
+
first_interval = merged_intervals[0]
|
138
|
+
return first_interval[self.END_KEY]
|
133
139
|
|
134
140
|
|
135
141
|
class EpochValueConcurrentStreamStateConverter(DateTimeStreamStateConverter):
|
@@ -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.
|
39
|
+
version="0.59.0",
|
40
40
|
description="A framework for writing Airbyte Connectors.",
|
41
41
|
long_description=README,
|
42
42
|
long_description_content_type="text/markdown",
|
@@ -52,8 +52,7 @@ class StreamFacadeSource(ConcurrentSourceAdapter):
|
|
52
52
|
def streams(self, config: Mapping[str, Any]) -> List[Stream]:
|
53
53
|
state_manager = ConnectorStateManager(stream_instance_map={s.name: s for s in self._streams}, state=self._state)
|
54
54
|
state_converter = StreamFacadeConcurrentConnectorStateConverter()
|
55
|
-
stream_states = [
|
56
|
-
for stream in self._streams]
|
55
|
+
stream_states = [state_manager.get_stream_state(stream.name, stream.namespace) for stream in self._streams]
|
57
56
|
return [
|
58
57
|
StreamFacade.create_from_stream(
|
59
58
|
stream,
|
@@ -69,6 +68,7 @@ class StreamFacadeSource(ConcurrentSourceAdapter):
|
|
69
68
|
state_converter,
|
70
69
|
self._cursor_field,
|
71
70
|
self._cursor_boundaries,
|
71
|
+
None,
|
72
72
|
)
|
73
73
|
if self._cursor_field
|
74
74
|
else NoopCursor(),
|
{airbyte-cdk-0.58.9 → airbyte-cdk-0.59.0}/unit_tests/sources/streams/concurrent/test_cursor.py
RENAMED
@@ -45,33 +45,50 @@ class ConcurrentCursorTest(TestCase):
|
|
45
45
|
return ConcurrentCursor(
|
46
46
|
_A_STREAM_NAME,
|
47
47
|
_A_STREAM_NAMESPACE,
|
48
|
-
|
48
|
+
{},
|
49
49
|
self._message_repository,
|
50
50
|
self._state_manager,
|
51
51
|
self._state_converter,
|
52
52
|
CursorField(_A_CURSOR_FIELD_KEY),
|
53
53
|
_SLICE_BOUNDARY_FIELDS,
|
54
|
+
None,
|
54
55
|
)
|
55
56
|
|
56
57
|
def _cursor_without_slice_boundary_fields(self) -> ConcurrentCursor:
|
57
58
|
return ConcurrentCursor(
|
58
59
|
_A_STREAM_NAME,
|
59
60
|
_A_STREAM_NAMESPACE,
|
60
|
-
|
61
|
+
{},
|
61
62
|
self._message_repository,
|
62
63
|
self._state_manager,
|
63
64
|
self._state_converter,
|
64
65
|
CursorField(_A_CURSOR_FIELD_KEY),
|
65
66
|
None,
|
67
|
+
None,
|
66
68
|
)
|
67
69
|
|
68
70
|
def test_given_boundary_fields_when_close_partition_then_emit_state(self) -> None:
|
69
|
-
self._cursor_with_slice_boundary_fields()
|
71
|
+
cursor = self._cursor_with_slice_boundary_fields()
|
72
|
+
cursor.close_partition(
|
70
73
|
_partition(
|
71
74
|
{_LOWER_SLICE_BOUNDARY_FIELD: 12, _UPPER_SLICE_BOUNDARY_FIELD: 30},
|
72
75
|
)
|
73
76
|
)
|
74
77
|
|
78
|
+
self._message_repository.emit_message.assert_called_once_with(self._state_manager.create_state_message.return_value)
|
79
|
+
self._state_manager.update_state_for_stream.assert_called_once_with(
|
80
|
+
_A_STREAM_NAME,
|
81
|
+
_A_STREAM_NAMESPACE,
|
82
|
+
{_A_CURSOR_FIELD_KEY: 0}, # State message is updated to the legacy format before being emitted
|
83
|
+
)
|
84
|
+
|
85
|
+
def test_given_boundary_fields_when_close_partition_then_emit_updated_state(self) -> None:
|
86
|
+
self._cursor_with_slice_boundary_fields().close_partition(
|
87
|
+
_partition(
|
88
|
+
{_LOWER_SLICE_BOUNDARY_FIELD: 0, _UPPER_SLICE_BOUNDARY_FIELD: 30},
|
89
|
+
)
|
90
|
+
)
|
91
|
+
|
75
92
|
self._message_repository.emit_message.assert_called_once_with(self._state_manager.create_state_message.return_value)
|
76
93
|
self._state_manager.update_state_for_stream.assert_called_once_with(
|
77
94
|
_A_STREAM_NAME,
|