Skip to content

Commit

Permalink
CDK: Fix class SessionTokenAuthenticator for CLASS_TYPES_REGISTRY map…
Browse files Browse the repository at this point in the history
…per (#32040)
  • Loading branch information
yevhenii-ldv authored Nov 2, 2023
1 parent 5aa90cc commit ace4353
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#

from typing import Mapping, Type
from typing import Mapping

from airbyte_cdk.sources.declarative.auth.declarative_authenticator import NoAuth
from airbyte_cdk.sources.declarative.auth.oauth import DeclarativeOauth2Authenticator
from airbyte_cdk.sources.declarative.auth.token import (
ApiKeyAuthenticator,
BasicHttpAuthenticator,
BearerAuthenticator,
SessionTokenAuthenticator,
LegacySessionTokenAuthenticator,
)
from airbyte_cdk.sources.declarative.checks import CheckStream
from airbyte_cdk.sources.declarative.datetime.min_max_datetime import MinMaxDatetime
Expand Down Expand Up @@ -56,7 +56,7 @@
"""
CLASS_TYPES_REGISTRY contains a mapping of developer-friendly string -> class to abstract the specific class referred to
"""
CLASS_TYPES_REGISTRY: Mapping[str, Type] = {
CLASS_TYPES_REGISTRY: Mapping[str, type] = {
"AddedFieldDefinition": AddedFieldDefinition,
"AddFields": AddFields,
"ApiKeyAuthenticator": ApiKeyAuthenticator,
Expand Down Expand Up @@ -96,7 +96,7 @@
"SimpleRetriever": SimpleRetriever,
"Spec": Spec,
"SubstreamPartitionRouter": SubstreamPartitionRouter,
"SessionTokenAuthenticator": SessionTokenAuthenticator,
"SessionTokenAuthenticator": LegacySessionTokenAuthenticator,
"WaitUntilTimeFromHeader": WaitUntilTimeFromHeaderBackoffStrategy,
"WaitTimeFromHeader": WaitTimeFromHeaderBackoffStrategy,
}

0 comments on commit ace4353

Please sign in to comment.