diff --git a/airbyte-integrations/connectors/source-retently/acceptance-test-config.yml b/airbyte-integrations/connectors/source-retently/acceptance-test-config.yml index 91dee8d62d10..a6f87e59bebf 100644 --- a/airbyte-integrations/connectors/source-retently/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-retently/acceptance-test-config.yml @@ -15,14 +15,14 @@ acceptance_tests: tests: - config_path: "secrets/config.json" backward_compatibility_tests_config: - disable_for_version: "1.0.0" + disable_for_version: "0.1.6" basic_read: tests: - config_path: "secrets/config.json" configured_catalog_path: "integration_tests/configured_catalog.json" empty_streams: - name: templates - incremental: + incremental: bypass_reason: "This connector does not implement incremental sync" full_refresh: tests: diff --git a/airbyte-integrations/connectors/source-retently/source_retently/components.py b/airbyte-integrations/connectors/source-retently/source_retently/components.py index fadcf298f5be..064ca721a62d 100644 --- a/airbyte-integrations/connectors/source-retently/source_retently/components.py +++ b/airbyte-integrations/connectors/source-retently/source_retently/components.py @@ -4,6 +4,7 @@ from dataclasses import dataclass from typing import Any, Mapping + from airbyte_cdk.sources.declarative.auth import DeclarativeOauth2Authenticator from airbyte_cdk.sources.declarative.auth.declarative_authenticator import DeclarativeAuthenticator from airbyte_cdk.sources.declarative.auth.token import ApiKeyAuthenticator @@ -16,7 +17,7 @@ class AuthenticatorRetently(DeclarativeAuthenticator): oauth: DeclarativeOauth2Authenticator def __new__(cls, api_auth, oauth, config, *args, **kwargs): - if config['credentials']['api_key']: + if config["credentials"]["api_key"]: return api_auth else: return oauth