1
0
mirror of synced 2026-01-28 10:01:55 -05:00
Files
airbyte/airbyte-cdk/python/airbyte_cdk/models/__init__.py
Joe Reuter 60e1d72b42 Python CDK: Relax pydantic version requirement (#28854)
* relax pydantic dep

* Automated Commit - Format and Process Resources Changes

* update protocol models

* format change

---------

Co-authored-by: flash1293 <flash1293@users.noreply.github.com>
2023-08-02 13:03:03 +02:00

60 lines
1.6 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,
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,
)