Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AirbyteLib: Require stream selection #34979

Merged
merged 8 commits into from
Feb 7, 2024

Conversation

aaronsteers
Copy link
Collaborator

@aaronsteers aaronsteers commented Feb 7, 2024

With this change, users will be directed to call "select_streams()" or "select_all_streams()" if they attempt to call "source.read()" without having already done so.

Resolves:

This also renames "set_streams()" to "select_streams()" to align with the 'select' verb and 'selected' decriptor used elsewhere.

I've kept 'set_streams()' alive and still works, but it will now emit a DeprecationWarning when called, instructing users they should have called select_streams().

I've also brought back get_connector() as an alias of get_source() using the same deprecation warning approach.

Copy link

vercel bot commented Feb 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2024 10:06pm

Comment on lines +279 to +281
# TODO: The below assumes all sources can coalesce from incremental sync to
# full_table as needed. CDK supports this, so it might be safe:
sync_mode=SyncMode.incremental,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a drive-by comment-revamp, not directly related to this PR.

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Feb 7, 2024
Copy link
Contributor

@bindipankhudi bindipankhudi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@aaronsteers aaronsteers enabled auto-merge (squash) February 7, 2024 22:17
@aaronsteers aaronsteers merged commit e98d88e into master Feb 7, 2024
18 checks passed
@aaronsteers aaronsteers deleted the aj/airbyte-lib/require-stream-selection branch February 7, 2024 22:18
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 21, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants