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    AirbyteRecordMessageFileReference,
23    AirbyteStateBlob,
24    AirbyteStateMessage,
25    AirbyteStateStats,
26    AirbyteStateType,
27    AirbyteStream,
28    AirbyteStreamState,
29    AirbyteStreamStatus,
30    AirbyteStreamStatusReason,
31    AirbyteStreamStatusReasonType,
32    AirbyteStreamStatusTraceMessage,
33    AirbyteTraceMessage,
34    AuthFlowType,
35    ConfiguredAirbyteCatalog,
36    ConfiguredAirbyteStream,
37    ConnectorSpecification,
38    DestinationSyncMode,
39    EstimateType,
40    FailureType,
41    Level,
42    OAuthConfigSpecification,
43    OauthConnectorInputSpecification,
44    OrchestratorType,
45    State,
46    Status,
47    StreamDescriptor,
48    SyncMode,
49    TraceType,
50    Type,
51)
52from .airbyte_protocol_serializers import (
53    AirbyteMessageSerializer,
54    AirbyteStateMessageSerializer,
55    AirbyteStreamStateSerializer,
56    ConfiguredAirbyteCatalogSerializer,
57    ConfiguredAirbyteStreamSerializer,
58    ConnectorSpecificationSerializer,
59)
60from .well_known_types import (
61    BinaryData,
62    Boolean,
63    Date,
64    Integer,
65    Model,
66    Number,
67    String,
68    TimestampWithoutTimezone,
69    TimestampWithTimezone,
70    TimeWithoutTimezone,
71    TimeWithTimezone,
72)