airbyte_cdk.models

 1# The earlier versions of airbyte-cdk (0.28.0<=) had the airbyte_protocol python classes
 2# declared inline in the airbyte-cdk code. However, somewhere around Feb 2023 the
 3# Airbyte Protocol moved to its own repo/PyPi package, called airbyte-protocol-models.
 4# This directory including the airbyte_protocol.py and well_known_types.py files
 5# are just wrappers on top of that stand-alone package which do some namespacing magic
 6# to make the airbyte_protocol python classes available to the airbyte-cdk consumer as part
 7# of airbyte-cdk rather than a standalone package.
 8from .airbyte_protocol import (
 9    AdvancedAuth,
10    AirbyteAnalyticsTraceMessage,
11    AirbyteCatalog,
12    AirbyteConnectionStatus,
13    AirbyteControlConnectorConfigMessage,
14    AirbyteControlMessage,
15    AirbyteErrorTraceMessage,
16    AirbyteEstimateTraceMessage,
17    AirbyteGlobalState,
18    AirbyteLogMessage,
19    AirbyteMessage,
20    AirbyteProtocol,
21    AirbyteRecordMessage,
22    AirbyteStateBlob,
23    AirbyteStateMessage,
24    AirbyteStateStats,
25    AirbyteStateType,
26    AirbyteStream,
27    AirbyteStreamState,
28    AirbyteStreamStatus,
29    AirbyteStreamStatusReason,
30    AirbyteStreamStatusReasonType,
31    AirbyteStreamStatusTraceMessage,
32    AirbyteTraceMessage,
33    AuthFlowType,
34    ConfiguredAirbyteCatalog,
35    ConfiguredAirbyteStream,
36    ConnectorSpecification,
37    DestinationSyncMode,
38    EstimateType,
39    FailureType,
40    Level,
41    OAuthConfigSpecification,
42    OauthConnectorInputSpecification,
43    OrchestratorType,
44    State,
45    Status,
46    StreamDescriptor,
47    SyncMode,
48    TraceType,
49    Type,
50)
51from .airbyte_protocol_serializers import (
52    AirbyteMessageSerializer,
53    AirbyteStateMessageSerializer,
54    AirbyteStreamStateSerializer,
55    ConfiguredAirbyteCatalogSerializer,
56    ConfiguredAirbyteStreamSerializer,
57    ConnectorSpecificationSerializer,
58)
59from .well_known_types import (
60    BinaryData,
61    Boolean,
62    Date,
63    Integer,
64    Model,
65    Number,
66    String,
67    TimestampWithoutTimezone,
68    TimestampWithTimezone,
69    TimeWithoutTimezone,
70    TimeWithTimezone,
71)