-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-3189 Change Stream event document missing to field for rename events #924
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
pymongo/collection.py
Outdated
| self, | ||
| new_name: str, | ||
| new_name: Optional[str] = None, | ||
| to: Optional[str] = None, |
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 assume you only added "to" so that the new test would pass. Since we already have "new_name" we don't need a "to" parameter. Let's remove it and instead change the unified test runner to translate the "to" parameter to "new_name". We already do this kind of parameter translation here:
mongo-python-driver/test/utils.py
Line 1021 in 5578999
| def prepare_spec_arguments(spec, arguments, opname, entity_map, with_txn_callback): |
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.
Oh good, will do
juliusgeo
left a comment
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!
|
Both failures are transient (centos URL and |
No description provided.