-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: 3.0.2
-
Component/s: None
-
None
In the changelog (http://api.mongodb.org/python/current/changelog.html), it states:
The following find/find_one options have been renamed:
These renames only affect your code if you passed these as keyword arguments, like find(fields=[‘fieldname’]). If you passed only positional parameters these changes are not significant for your application.
timeout -> no_cursor_timeout
However, the meaning of timeout and no_cursor_timeout are not the same. They're in fact the opposite. Therefore, passing the same parameter in the same position would have the opposite of the intended effect. It should be made more clear that the meaning has changed.
- related to
-
PYTHON-884 3.0 migration guide.
- Closed