Skip to content

PYTHON-3119 getMore helper should explicitly send inherited comment #904

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

Merged
merged 10 commits into from
Mar 25, 2022

Conversation

juliusgeo
Copy link
Contributor

No description provided.

@juliusgeo juliusgeo marked this pull request as ready for review March 21, 2022 19:35
Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -15,3 +15,4 @@ pymongo.egg-info/
.tox
mongocryptd.pid
.idea/
.nova/
Copy link
Member

Choose a reason for hiding this comment

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

what is .nova?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is for my IDE. I can add it to my .git/info/exclude file if you'd rather not add it to the repository .gitignore.

Copy link
Member

Choose a reason for hiding this comment

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

It's fine here, I'm curious what IDE?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nova--it's by the same people who made the FTP client Transfer.

@@ -239,6 +239,7 @@ def _test_find_options(self, query, expected_cmd):
# Exhaust the cursor to avoid kill cursors.
tuple(cursor)

@client_context.require_version_min(4, 4, 4)
Copy link
Member

Choose a reason for hiding this comment

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

Why is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"Comment" is not supported on "getMore" commands below 4.4.4 IIUC

Copy link
Member

Choose a reason for hiding this comment

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

Doesn't that make this PR a major breaking change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I checked the getMore docs and it appears that comment is not supported below 4.4.4. So yes, this would be a major breaking change.

@@ -15,3 +15,4 @@ pymongo.egg-info/
.tox
mongocryptd.pid
.idea/
.nova/
Copy link
Member

Choose a reason for hiding this comment

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

It's fine here, I'm curious what IDE?

@@ -239,6 +239,7 @@ def _test_find_options(self, query, expected_cmd):
# Exhaust the cursor to avoid kill cursors.
tuple(cursor)

@client_context.require_version_min(4, 4, 4)
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't that make this PR a major breaking change?

@juliusgeo juliusgeo requested a review from ShaneHarvey March 24, 2022 23:43
@ShaneHarvey
Copy link
Member

ShaneHarvey commented Mar 24, 2022

Changes LGTM so far. Can you resync the tests from mongodb/specifications#1161 too?

@juliusgeo juliusgeo merged commit 9562a81 into mongodb:master Mar 25, 2022
juliusgeo added a commit to juliusgeo/mongo-python-driver that referenced this pull request Apr 5, 2022
juliusgeo added a commit to juliusgeo/mongo-python-driver that referenced this pull request Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants