From 4d0203bd9fd7892de608cce639d4108bd0793ac5 Mon Sep 17 00:00:00 2001
From: sajarin <sajarindider@gmail.com>
Date: Mon, 7 Aug 2023 11:31:17 -0400
Subject: [PATCH] fix: format files and fix backward compatibility version

---
 .../connectors/source-retently/acceptance-test-config.yml     | 4 ++--
 .../connectors/source-retently/source_retently/components.py  | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

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