Skip to content

Commit

Permalink
fix: format files and fix backward compatibility version
Browse files Browse the repository at this point in the history
  • Loading branch information
sajarin committed Aug 7, 2023
1 parent 2622575 commit 4d0203b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 4d0203b

Please sign in to comment.