-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
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!
@@ -15,3 +15,4 @@ pymongo.egg-info/ | |||
.tox | |||
mongocryptd.pid | |||
.idea/ | |||
.nova/ |
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.
what is .nova?
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.
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
.
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.
It's fine here, I'm curious what IDE?
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.
Nova--it's by the same people who made the FTP client Transfer.
test/test_monitoring.py
Outdated
@@ -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) |
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.
Why is this needed?
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.
"Comment" is not supported on "getMore" commands below 4.4.4 IIUC
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.
Doesn't that make this PR a major breaking change?
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.
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/ |
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.
It's fine here, I'm curious what IDE?
test/test_monitoring.py
Outdated
@@ -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) |
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.
Doesn't that make this PR a major breaking change?
Changes LGTM so far. Can you resync the tests from mongodb/specifications#1161 too? |
No description provided.