70 lines
2.0 KiB
Python
70 lines
2.0 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,
|
|
AirbyteStateStats,
|
|
AirbyteAnalyticsTraceMessage,
|
|
AirbyteCatalog,
|
|
AirbyteConnectionStatus,
|
|
AirbyteControlConnectorConfigMessage,
|
|
AirbyteControlMessage,
|
|
AirbyteErrorTraceMessage,
|
|
AirbyteEstimateTraceMessage,
|
|
AirbyteGlobalState,
|
|
AirbyteLogMessage,
|
|
AirbyteMessage,
|
|
AirbyteProtocol,
|
|
AirbyteRecordMessage,
|
|
AirbyteStateBlob,
|
|
AirbyteStateMessage,
|
|
AirbyteStateType,
|
|
AirbyteStream,
|
|
AirbyteStreamState,
|
|
AirbyteStreamStatus,
|
|
AirbyteStreamStatusTraceMessage,
|
|
AirbyteStreamStatusReason,
|
|
AirbyteStreamStatusReasonType,
|
|
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,
|
|
Model,
|
|
Number,
|
|
String,
|
|
TimestampWithoutTimezone,
|
|
TimestampWithTimezone,
|
|
TimeWithoutTimezone,
|
|
TimeWithTimezone,
|
|
)
|
|
|
|
from .airbyte_protocol_serializers import (
|
|
AirbyteStreamStateSerializer,
|
|
AirbyteStateMessageSerializer,
|
|
AirbyteMessageSerializer,
|
|
ConfiguredAirbyteCatalogSerializer,
|
|
ConfiguredAirbyteStreamSerializer,
|
|
ConnectorSpecificationSerializer,
|
|
) |