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
Remove most_recent_record
arg from Cursor.close_slice
#36216
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Oh my gawd. The amount of time we stumble at this. I can't wait to switch the CDK to Poetry and switch it to Ruff for linting and formatting with pre-commit hook so we don't have to waste time and CI credits on stuff like this. /cc @erohmensing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly weirdly I have no idea what's going on here. In the previous PR we introduced most_recent_record that is being observed, but here I see we're just going back to sticking with the slice. How does this work?
@natikgadzhi a quick overview of how this logic has evolved:
|
082f6b8
to
0d17c2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! thanks for the quick follow up!
After #35843 removed the
most_recent_record
argument from the logic of theclose_slice
method, this cleans up theCursor
interface to not include the argument at all. Relates to https://github.com/airbytehq/airbyte-internal-issues/issues/6314