1
0
mirror of synced 2026-01-20 12:07:14 -05:00
Files
airbyte/airbyte-cdk/python/airbyte_cdk/models/__init__.py

61 lines
1.7 KiB
Python

# The earlier versions of airbyte-cdk (0.28.0<=) had the airbyte_protocol python classes
# declared inline in the airbyte-cdk code. However, somewhere around Feb 2023 the
# Airbyte Protocol moved to its own repo/PyPi package, called airbyte-protocol-models.
# This directory including the airbyte_protocol.py and well_known_types.py files
# are just wrappers on top of that stand-alone package which do some namespacing magic
# to make the airbyte_protocol python classes available to the airbyte-cdk consumer as part
# of airbyte-cdk rather than a standalone package.
from .airbyte_protocol import (
AdvancedAuth,
AirbyteAnalyticsTraceMessage,
AirbyteCatalog,
AirbyteConnectionStatus,
AirbyteControlConnectorConfigMessage,
AirbyteControlMessage,
AirbyteErrorTraceMessage,
AirbyteEstimateTraceMessage,
AirbyteGlobalState,
AirbyteLogMessage,
AirbyteMessage,
AirbyteProtocol,
AirbyteRecordMessage,
AirbyteStateBlob,
AirbyteStateMessage,
AirbyteStateType,
AirbyteStream,
AirbyteStreamState,
AirbyteStreamStatus,
AirbyteStreamStatusTraceMessage,
AirbyteTraceMessage,
AuthFlowType,
ConfiguredAirbyteCatalog,
ConfiguredAirbyteStream,
ConnectorSpecification,
DestinationSyncMode,
EstimateType,
FailureType,
Level,
OAuthConfigSpecification,
OrchestratorType,
Status,
StreamDescriptor,
SyncMode,
TraceType,
Type,
)
from .well_known_types import (
BinaryData,
Boolean,
Date,
Integer,
IntegerEnum,
Model,
Number,
NumberEnum,
String,
TimestampWithoutTimezone,
TimestampWithTimezone,
TimeWithoutTimezone,
TimeWithTimezone,
)