airbyte-cdk 0.36.0__tar.gz → 0.36.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/PKG-INFO +1 -1
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/declarative_stream.py +18 -8
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/core.py +3 -5
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk.egg-info/PKG-INFO +1 -1
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/setup.py +1 -1
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/test_declarative_stream.py +18 -7
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/LICENSE.txt +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/README.md +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/config_observation.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/connector.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/connector_builder/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/connector_builder/connector_builder_handler.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/connector_builder/main.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/connector_builder/message_grouper.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/connector_builder/models.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/destinations/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/destinations/destination.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/entrypoint.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/exception_handler.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/logger.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/models/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/models/airbyte_protocol.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/models/well_known_types.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/py.typed +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/abstract_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/config.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/connector_state_manager.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/auth/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/auth/declarative_authenticator.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/auth/oauth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/auth/token.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/checks/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/checks/check_stream.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/checks/connection_checker.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/create_partial.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/datetime/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/datetime/datetime_parser.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/datetime/min_max_datetime.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/declarative_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/decoders/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/decoders/decoder.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/decoders/json_decoder.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/exceptions.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/extractors/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/extractors/dpath_extractor.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/extractors/http_selector.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/extractors/record_extractor.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/extractors/record_filter.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/extractors/record_selector.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/incremental/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/filters.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/interpolated_boolean.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/interpolation.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/jinja.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/macros.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/manifest_declarative_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/models/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/models/declarative_component_schema.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/parsers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/parsers/class_types_registry.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/parsers/custom_exceptions.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/parsers/default_implementation_registry.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/parsers/manifest_reference_resolver.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/partition_routers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/partition_routers/list_partition_router.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/partition_routers/single_partition_router.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/partition_routers/substream_partition_router.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/constant_backoff_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/exponential_backoff_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/header_helper.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_until_time_from_header_backoff_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/composite_error_handler.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/error_handler.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/http_response_filter.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/response_action.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/error_handlers/response_status.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/http_requester.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/default_paginator.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/cursor_pagination_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/page_increment.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/pagination_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/request_option.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/request_options/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_input_provider.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_options_provider.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/request_options/request_options_provider.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/request_path.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/requester.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/retrievers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/retrievers/retriever.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/schema/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/schema/default_schema_loader.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/schema/inline_schema_loader.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/schema/json_file_schema_loader.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/schema/schema_loader.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/spec/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/spec/spec.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/stream_slicers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/stream_slicers/cartesian_product_stream_slicer.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/transformations/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/transformations/add_fields.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/transformations/remove_fields.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/transformations/transformation.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/types.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/yaml_declarative_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/deprecated/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/deprecated/base_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/deprecated/client.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/singer/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/singer/singer_helpers.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/singer/source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/availability_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/auth/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/auth/core.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/auth/oauth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/auth/token.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/availability_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/exceptions.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/http.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/rate_limiting.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_token.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/requests_native_auth/token.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/utils/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/utils/stream_helper.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/utils/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/utils/casing.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/utils/catalog_helpers.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/utils/record_helper.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/utils/schema_helpers.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/utils/schema_models.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/utils/transform.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/utils/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/utils/airbyte_secrets_utils.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/utils/event_timing.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/utils/schema_inferrer.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/utils/stream_status_utils.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/utils/traced_exception.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk.egg-info/SOURCES.txt +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk.egg-info/dependency_links.txt +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk.egg-info/requires.txt +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk.egg-info/top_level.txt +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/pyproject.toml +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/setup.cfg +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/source_declarative_manifest/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/source_declarative_manifest/main.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/connector_builder/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/connector_builder/test_connector_builder_handler.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/connector_builder/test_message_grouper.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/connector_builder/utils.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/destinations/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/destinations/test_destination.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/singer/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/singer/test_singer_helpers.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/singer/test_singer_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/auth/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/auth/test_oauth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/auth/test_session_token_auth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/auth/test_token_auth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/checks/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/checks/test_check_stream.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/decoders/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/decoders/test_json_decoder.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/external_component.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/extractors/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/extractors/test_dpath_extractor.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/extractors/test_record_filter.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/extractors/test_record_selector.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/incremental/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/incremental/test_datetime_based_cursor.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/interpolation/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/interpolation/test_filters.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/interpolation/test_interpolated_boolean.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/interpolation/test_interpolated_mapping.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/interpolation/test_interpolated_string.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/interpolation/test_jinja.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/interpolation/test_macros.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/parsers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/parsers/test_manifest_component_transformer.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/parsers/test_manifest_reference_resolver.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/parsers/test_model_to_component_factory.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/parsers/testing_components.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/partition_routers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/partition_routers/test_list_partition_router.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/partition_routers/test_single_partition_router.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/partition_routers/test_substream_partition_router.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_constant_backoff.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_exponential_backoff.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_header_helper.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_wait_time_from_header.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_wait_until_time_from_header.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/test_composite_error_handler.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/test_default_error_handler.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/test_http_response_filter.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/error_handlers/test_response_status.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/paginators/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/paginators/test_cursor_pagination_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/paginators/test_default_paginator.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/paginators/test_no_paginator.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/paginators/test_offset_increment.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/paginators/test_page_increment.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/paginators/test_request_option.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/request_options/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/request_options/test_interpolated_request_options_provider.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/test_http_requester.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/requesters/test_interpolated_request_input_provider.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/retrievers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/retrievers/test_simple_retriever.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/schema/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/schema/source_test/SourceTest.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/schema/source_test/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/schema/test_default_schema_loader.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/schema/test_inline_schema_loader.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/schema/test_json_file_schema_loader.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/states/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/stream_slicers/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/stream_slicers/test_cartesian_product_stream_slicer.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/test_create_partial.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/test_manifest_declarative_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/test_yaml_declarative_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/http/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/http/auth/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/http/auth/test_auth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/http/requests_native_auth/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/http/requests_native_auth/test_requests_native_auth.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/http/test_availability_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/http/test_http.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/test_availability_strategy.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/streams/test_streams_core.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/test_abstract_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/test_config.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/test_connector_state_manager.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/test_source.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/utils/__init__.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/utils/test_schema_inferrer.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/utils/test_secret_utils.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/utils/test_stream_status_utils.py +0 -0
- {airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/utils/test_traced_exception.py +0 -0
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/declarative_stream.py
RENAMED
@@ -5,14 +5,14 @@
|
|
5
5
|
from dataclasses import InitVar, dataclass, field
|
6
6
|
from typing import Any, Iterable, List, Mapping, MutableMapping, Optional, Union
|
7
7
|
|
8
|
-
from airbyte_cdk.models import
|
8
|
+
from airbyte_cdk.models import AirbyteMessage, SyncMode
|
9
9
|
from airbyte_cdk.sources.declarative.interpolation import InterpolatedString
|
10
10
|
from airbyte_cdk.sources.declarative.retrievers.retriever import Retriever
|
11
11
|
from airbyte_cdk.sources.declarative.schema import DefaultSchemaLoader
|
12
12
|
from airbyte_cdk.sources.declarative.schema.schema_loader import SchemaLoader
|
13
13
|
from airbyte_cdk.sources.declarative.transformations import RecordTransformation
|
14
14
|
from airbyte_cdk.sources.declarative.types import Config, StreamSlice
|
15
|
-
from airbyte_cdk.sources.streams.core import Stream
|
15
|
+
from airbyte_cdk.sources.streams.core import Stream, StreamData
|
16
16
|
|
17
17
|
|
18
18
|
@dataclass
|
@@ -102,17 +102,27 @@ class DeclarativeStream(Stream):
|
|
102
102
|
|
103
103
|
def _apply_transformations(
|
104
104
|
self,
|
105
|
-
message_or_record_data:
|
105
|
+
message_or_record_data: StreamData,
|
106
106
|
config: Config,
|
107
107
|
stream_slice: StreamSlice,
|
108
108
|
):
|
109
|
-
# If the input is an
|
110
|
-
# If the input is another type of
|
109
|
+
# If the input is an AirbyteMessage with a record, transform the record's data
|
110
|
+
# If the input is another type of AirbyteMessage, return it as is
|
111
111
|
# If the input is a dict, transform it
|
112
|
-
if isinstance(message_or_record_data,
|
113
|
-
|
112
|
+
if isinstance(message_or_record_data, AirbyteMessage):
|
113
|
+
if message_or_record_data.record:
|
114
|
+
record = message_or_record_data.record.data
|
115
|
+
else:
|
116
|
+
return message_or_record_data
|
117
|
+
elif isinstance(message_or_record_data, dict):
|
118
|
+
record = message_or_record_data
|
119
|
+
else:
|
120
|
+
# Raise an error because this is unexpected and indicative of a typing problem in the CDK
|
121
|
+
raise ValueError(
|
122
|
+
f"Unexpected record type. Expected {StreamData}. Got {type(message_or_record_data)}. This is probably due to a bug in the CDK."
|
123
|
+
)
|
114
124
|
for transformation in self.transformations:
|
115
|
-
transformation.transform(
|
125
|
+
transformation.transform(record, config=config, stream_state=self.state, stream_slice=stream_slice)
|
116
126
|
|
117
127
|
return message_or_record_data
|
118
128
|
|
@@ -11,7 +11,7 @@ from functools import lru_cache
|
|
11
11
|
from typing import Any, Iterable, List, Mapping, MutableMapping, Optional, Tuple, Union
|
12
12
|
|
13
13
|
import airbyte_cdk.sources.utils.casing as casing
|
14
|
-
from airbyte_cdk.models import
|
14
|
+
from airbyte_cdk.models import AirbyteMessage, AirbyteStream, SyncMode
|
15
15
|
|
16
16
|
# list of all possible HTTP methods which can be used for sending of request bodies
|
17
17
|
from airbyte_cdk.sources.utils.schema_helpers import ResourceSchemaLoader
|
@@ -24,10 +24,8 @@ if typing.TYPE_CHECKING:
|
|
24
24
|
|
25
25
|
# A stream's read method can return one of the following types:
|
26
26
|
# Mapping[str, Any]: The content of an AirbyteRecordMessage
|
27
|
-
#
|
28
|
-
|
29
|
-
# AirbyteTraceMessage: A trace message
|
30
|
-
StreamData = Union[Mapping[str, Any], AirbyteLogMessage, AirbyteTraceMessage]
|
27
|
+
# AirbyteMessage: An AirbyteMessage. Could be of any type
|
28
|
+
StreamData = Union[Mapping[str, Any], AirbyteMessage]
|
31
29
|
|
32
30
|
|
33
31
|
def package_name_from_class(cls: object) -> str:
|
@@ -17,7 +17,7 @@ setup(
|
|
17
17
|
name="airbyte-cdk",
|
18
18
|
# The version of the airbyte-cdk package is used at runtime to validate manifests. That validation must be
|
19
19
|
# updated if our semver format changes such as using release candidate versions.
|
20
|
-
version="0.36.
|
20
|
+
version="0.36.1",
|
21
21
|
description="A framework for writing Airbyte Connectors.",
|
22
22
|
long_description=README,
|
23
23
|
long_description_content_type="text/markdown",
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/unit_tests/sources/declarative/test_declarative_stream.py
RENAMED
@@ -5,7 +5,16 @@
|
|
5
5
|
from unittest import mock
|
6
6
|
from unittest.mock import MagicMock, call
|
7
7
|
|
8
|
-
from airbyte_cdk.models import
|
8
|
+
from airbyte_cdk.models import (
|
9
|
+
AirbyteLogMessage,
|
10
|
+
AirbyteMessage,
|
11
|
+
AirbyteRecordMessage,
|
12
|
+
AirbyteTraceMessage,
|
13
|
+
Level,
|
14
|
+
SyncMode,
|
15
|
+
TraceType,
|
16
|
+
Type,
|
17
|
+
)
|
9
18
|
from airbyte_cdk.sources.declarative.declarative_stream import DeclarativeStream
|
10
19
|
from airbyte_cdk.sources.declarative.transformations import AddFields, RecordTransformation
|
11
20
|
from airbyte_cdk.sources.declarative.transformations.add_fields import AddedFieldDefinition
|
@@ -24,8 +33,8 @@ def test_declarative_stream():
|
|
24
33
|
records = [
|
25
34
|
{"pk": 1234, "field": "value"},
|
26
35
|
{"pk": 4567, "field": "different_value"},
|
27
|
-
AirbyteLogMessage(level=Level.INFO, message="This is a log message"),
|
28
|
-
AirbyteTraceMessage(type=TraceType.ERROR, emitted_at=12345),
|
36
|
+
AirbyteMessage(type=Type.LOG, log=AirbyteLogMessage(level=Level.INFO, message="This is a log message")),
|
37
|
+
AirbyteMessage(type=Type.TRACE, trace=AirbyteTraceMessage(type=TraceType.ERROR, emitted_at=12345)),
|
29
38
|
]
|
30
39
|
stream_slices = [
|
31
40
|
{"date": "2021-01-01"},
|
@@ -84,15 +93,17 @@ def test_declarative_stream_with_add_fields_transform():
|
|
84
93
|
retriever_records = [
|
85
94
|
{"pk": 1234, "field": "value"},
|
86
95
|
{"pk": 4567, "field": "different_value"},
|
87
|
-
|
88
|
-
|
96
|
+
AirbyteMessage(type=Type.RECORD, record=AirbyteRecordMessage(data={"pk": 1357, "field": "a_value"}, emitted_at=12344, stream="stream")),
|
97
|
+
AirbyteMessage(type=Type.LOG, log=AirbyteLogMessage(level=Level.INFO, message="This is a log message")),
|
98
|
+
AirbyteMessage(type=Type.TRACE, trace=AirbyteTraceMessage(type=TraceType.ERROR, emitted_at=12345)),
|
89
99
|
]
|
90
100
|
|
91
101
|
expected_records = [
|
92
102
|
{"pk": 1234, "field": "value", "added_key": "added_value"},
|
93
103
|
{"pk": 4567, "field": "different_value", "added_key": "added_value"},
|
94
|
-
|
95
|
-
|
104
|
+
AirbyteMessage(type=Type.RECORD, record=AirbyteRecordMessage(data={"pk": 1357, "field": "a_value", "added_key": "added_value"}, emitted_at=12344, stream="stream")),
|
105
|
+
AirbyteMessage(type=Type.LOG, log=AirbyteLogMessage(level=Level.INFO, message="This is a log message")),
|
106
|
+
AirbyteMessage(type=Type.TRACE, trace=AirbyteTraceMessage(type=TraceType.ERROR, emitted_at=12345)),
|
96
107
|
]
|
97
108
|
stream_slices = [
|
98
109
|
{"date": "2021-01-01"},
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/connector_builder/connector_builder_handler.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/checks/__init__.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/checks/check_stream.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/datetime/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/declarative_source.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/decoders/__init__.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/decoders/decoder.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/decoders/json_decoder.py
RENAMED
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/extractors/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/incremental/__init__.py
RENAMED
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/__init__.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/filters.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/jinja.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/interpolation/macros.py
RENAMED
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/models/__init__.py
RENAMED
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/parsers/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/request_path.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/requesters/requester.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/retrievers/__init__.py
RENAMED
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/retrievers/retriever.py
RENAMED
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/schema/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/schema/schema_loader.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/stream_slicers/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/declarative/yaml_declarative_source.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/availability_strategy.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/http/availability_strategy.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{airbyte-cdk-0.36.0 → airbyte-cdk-0.36.1}/airbyte_cdk/sources/streams/utils/stream_helper.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|