782 B
782 B
Migration guide for
Basic outline of changes for each module:
- Update
setup.pyto pull airbyte-cdk and remove legacy packages - rename
main_dev.pytomain.py - add
main.pyto.dockerignorewith the inclusion pattern!main.py - Update Dockerfile to inherit python docker image directly, remove dead code, and use main.py as entrypoint
- Remove
requirements.txt - Update imports in python code to use the new CDK package. No code has been removed, only reorganized, so this be as simple as removing all imports from
base_python,base_singer, andairbyte_protocoland using the appropriate import paths from the CDK.
Example
See this PR for an example of migrating a module to the new CDK structure: https://github.com/airbytehq/airbyte/pull/3302