forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[per-stream cdk] Allow for reading in per-stream state and passing it…
… to connectors (airbytehq#16505) * update abstract source and connector state manager to update shared and stream state * clean up some extra comments and extra lines * a few changes based on PR feedback * remove separate legacy map from state manager and simplify mapping to descriptor -> state blob * rename a few paramets and add testing for state update via stream.state override * replace shared_state processing with an explicit error and fix a few comments and pr feedback * add some polish and additional test cases * pr feedback and restructuring parts of the connector state manager initialization * fix unfinished comment * Update airbyte-cdk/python/unit_tests/sources/test_abstract_source.py Co-authored-by: Augustin <augustin.lafanechere@gmail.com> * use pytest params to annotate tests better * change to fix changed class name * Update airbyte-cdk/python/airbyte_cdk/sources/connector_state_manager.py Co-authored-by: Sherif A. Nada <snadalive@gmail.com> * a few bits of pr feedback * pr feedback and cleaning up some comments and variable renames Co-authored-by: Augustin <augustin.lafanechere@gmail.com> Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
- Loading branch information
1 parent
a61ac9f
commit db56c75
Showing
4 changed files
with
727 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.