Skip to content

Commit

Permalink
CDK: rename
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Inzhyyants <[email protected]>
  • Loading branch information
artem1205 committed Jan 8, 2025
1 parent eeba5cc commit e82682a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions airbyte_cdk/sources/declarative/extractors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
from airbyte_cdk.sources.declarative.extractors.response_to_file_extractor import (
ResponseToFileExtractor,
)
from airbyte_cdk.sources.declarative.extractors.type_transformer import AbstractTypeTransformer
from airbyte_cdk.sources.declarative.extractors.type_transformer import TypeTransformer

__all__ = [
"AbstractTypeTransformer",
"TypeTransformer",
"HttpSelector",
"DpathExtractor",
"RecordFilter",
Expand Down
4 changes: 2 additions & 2 deletions airbyte_cdk/sources/declarative/extractors/record_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from airbyte_cdk.sources.declarative.extractors.http_selector import HttpSelector
from airbyte_cdk.sources.declarative.extractors.record_extractor import RecordExtractor
from airbyte_cdk.sources.declarative.extractors.record_filter import RecordFilter
from airbyte_cdk.sources.declarative.extractors.type_transformer import AbstractTypeTransformer
from airbyte_cdk.sources.declarative.extractors.type_transformer import TypeTransformer as DeclarativeTypeTransformer
from airbyte_cdk.sources.declarative.interpolation import InterpolatedString
from airbyte_cdk.sources.declarative.models import SchemaNormalization
from airbyte_cdk.sources.declarative.transformations import RecordTransformation
Expand All @@ -34,7 +34,7 @@ class RecordSelector(HttpSelector):
extractor: RecordExtractor
config: Config
parameters: InitVar[Mapping[str, Any]]
schema_normalization: Union[TypeTransformer, AbstractTypeTransformer]
schema_normalization: Union[TypeTransformer, DeclarativeTypeTransformer]
name: str
_name: Union[InterpolatedString, str] = field(init=False, repr=False, default="")
record_filter: Optional[RecordFilter] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


@dataclass
class AbstractTypeTransformer(ABC):
class TypeTransformer(ABC):
"""
Abstract base class for implementing type transformation logic.
Expand Down

0 comments on commit e82682a

Please sign in to comment.