* airbyte_protocol as dependency for cdk download from pypi instead of using local directory in monorepo * remove generate-protocol-files.sh * protocol_models => models airbyte_protocol.models more closely reflects java package name * use published pypi package * fix imports * context because someone will wonder what happened here * run formatter --------- Co-authored-by: Conor <cpdeethree@users.noreply.github.com> Co-authored-by: Sherif Nada <snadalive@gmail.com> Co-authored-by: cgardens <charles@airbyte.io>
10 lines
633 B
Python
10 lines
633 B
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 *
|
|
from .well_known_types import *
|