Cal Jacobson
222a55f8cd
PYTHON-5653: fix - correct return type annotation for find_one_and_* methods to include None ( #2615 )
...
Co-authored-by: Jib <jib.adegunloye@mongodb.com>
Co-authored-by: Casey Clements <caseyclements@users.noreply.github.com>
2025-11-25 15:36:33 -05:00
Jib
51f7b408f3
PYTHON-5572: Add team members to contributors.rst ( #2554 )
2025-09-24 10:27:45 -04:00
Navjot
fdcbe2e622
PYTHON-1982 Update Invalid Document error message to include doc ( #1854 )
...
Co-authored-by: Navjot Singh <navjot@Navjots-Air.station>
Co-authored-by: Navjot Singh <navjot@Navjots-MacBook-Air.local>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
2024-12-03 08:22:06 -06:00
morotti
3d936d5c7d
PYTHON-4600 Handle round trip time being negative when time.monotonic() is not monotonic ( #1758 )
...
Co-authored-by: rmorotti <romain.morotti@man.com>
2024-08-02 13:25:32 -07:00
Terry Patterson
ac66c9dfd2
PYTHON-4468 Hide the value of sensitive subtype binary objects ( #1649 )
...
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
2024-05-30 16:44:06 -05:00
ilukyanchikov
97b9a333c8
PYTHON-4179: Optimize JSON decoding performance by avoiding object_pairs_hook ( #1493 )
2024-02-05 13:59:14 -08:00
Casey Clements
d4dfd4a044
PYTHON-3036 Improve error message for unknown MongoClient options ( #1440 )
2023-11-30 11:21:10 -08:00
stephan-hof
8b23204408
PYTHON-3758 Support overflow integers in fallback_encoder. ( #1243 )
...
bson only supports 64-bit integer within range:
[-9_223_372_036_854_775_807, +9_223_372_036_854_775_807]
This change calls the fallback_encoder before raising OverflowError on
integers outside of this range.
2023-06-26 15:20:01 -04:00
Iris
f7874fb110
PYTHON-2287 Improve error message for invalid boolean option ( #1236 )
2023-06-15 11:54:20 -07:00
Dainis Gorbunovs
c7e06e6fc1
PYTHON-3725 Fix Test Failure - MockupDB test_network_disconnect_primary ( #1222 )
2023-06-05 16:38:28 -07:00
thalassemia
1ba4c0bcbd
PYTHON-3718 Faster INT2STRING ( #1221 )
2023-06-05 18:35:39 -05:00
Jean-Christophe Fillion-Robin
d340710e3d
PYTHON-3703 Fix typos and add codespell pre-commit hook ( #1203 )
...
Update pre-commit config adding "codespell" hook
2023-05-03 14:47:24 -07:00
Ben Warner
be3008aa11
PYTHON-2110 Refactored some C to avoid symbol conflicts ( #968 )
...
* Refactored to avoid symbol conflicts
* Forgot a replacement
* Found a symbol
* Undid symbol replacement for PyInit__cmessage
* Changed cbson too
Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-06-13 11:42:41 -07:00
Arie Bovenberg
2f13a51cd4
PYTHON-3124 Remove overlapping slots from _WriteResult subclasses ( #884 )
2022-02-22 10:27:16 -08:00
Julius Park
4e086ba218
PYTHON-1915 Prohibit copying ClientSession objects ( #726 )
2021-09-15 12:05:09 -07:00
henrifroese
fa9531b4bf
PYTHON-2824 Make GridOut implement full io.IOBase spec ( #677 )
...
Make GridOut inherit from io.IOBase to be a fully "file-like" object (https://docs.python.org/3/glossary.html#term-file-like-object ). Implement missing methods `readlines`, `writelines`,
`writable`, `fileno`, `flush`, `isatty`, `truncate`,
and property `closed`, following the spec
(https://docs.python.org/3/library/io.html#io.IOBase.writable ).
Iterating over GridOut previously returned chunks, but IOBase specifies
that lines should be returned. Thus, the `GridOutIterator` returning chunks is removed
and GridOut simply uses the existing IOBase iterator implementation (returning `self`
in `__iter__` and using `readline` in `__next__`).
Additionally, iterating over GridOut previously did not move the "file pointer" along, i.e.
`next(iter(some_grid_out_object))` always gave the same result (the first chunk of the file)
as it would create a new iterator starting at the top of the file. This is now fixed as well, so
a first call to `next(iter(some_grid_out_object))` gives the first line, and subsequent calls return
the subsequent lines.
2021-08-23 11:45:34 -04:00
Khanh Nguyen
61ab9caa6c
docs: Update link to sphinx website ( #608 )
2021-04-26 13:55:29 -07:00
Shane Harvey
17dca5c504
Revert "PYTHON-1915: Prohibit copying ClientSession objects ( #480 )"
...
This reverts commit 959039b213 .
2020-11-16 15:09:31 -08:00
ishmum123
959039b213
PYTHON-1915: Prohibit copying ClientSession objects ( #480 )
2020-08-21 11:10:40 -07:00
Julius Park
67a23429ba
PYTHON-1787: add details to OperationFailure exception and NotMasterError ( #448 )
...
PYTHON-1787-add details to OperationFailure and NotMasterError by adding a __repr__ function
https://jira.mongodb.org/browse/PYTHON-1787
2020-06-30 12:30:28 -04:00
paul fisher
6c4e1c9371
PYTHON-2061 bson: check for negative entry size in decode_file_iter ( #429 )
...
Raise InvalidBSON instead of ValueError when decode_file_iter reads an invalid
BSON object size.
2019-11-22 14:57:00 -08:00
Terence D. Honles
481600b7fe
PYTHON-1695 GridOut/GridIn more closely implement io.IOBase ( #387 )
...
Allows GridOut to be wrapped with zipfile.ZipFile from the stdlib.
2019-03-28 14:25:06 -07:00
Felipe Rodrigues
6afcf14f4f
Add class docstring to MongoClient ( #372 )
2018-08-24 10:09:17 -07:00
Shrey Batra
98ce687567
Add GEOSPHERE to geospatial docs ( #364 )
...
Add warning for deprecated geoNear command.
2018-08-10 12:42:49 -07:00
Jagrut
3d28006aba
Add name to contributor list ( #341 )
2017-10-30 07:28:31 -07:00
TaoBeier
2847ef89f1
PYTHON-1388 fix docs example. ( #338 )
2017-10-06 10:27:14 -07:00
gzcf
9051b65510
PYTHON-1299 fix Regex __eq__ method ( #337 )
2017-09-29 10:57:21 -07:00
caosiyang
db57f671dc
PYTHON-1371 - The tailable cursor cannot get document through __getitem__(index) on MongoDB v3.4
...
Fix issue and add test case.
2017-09-08 11:45:11 -07:00
Shane Harvey
b7893b7ec4
3.5 changelog and documentation fixes.
2017-08-08 09:32:09 -07:00
A. Jesse Jiryu Davis
4edbd03d2b
More info about gevent monkey patching effects.
2015-09-03 15:58:49 -04:00
Bernie Hackett
0b104af222
PYTHON-842 - SSL URI config support.
...
Credit for the ideas in this patch go to Len Buckens (buckensl)
from https://github.com/mongodb/mongo-python-driver/pull/253 .
2015-03-20 17:41:13 -07:00
A. Jesse Jiryu Davis
d6a71e0a24
Add Anna Herlihy to contributors.
2015-03-11 13:22:31 -04:00
Bernie Hackett
1b7e393e67
Add Heewa Barfchin to contributors.
2014-11-24 13:14:39 -08:00
Bernie Hackett
f4c4061bbd
Changelog and related fixes.
2014-11-21 14:24:26 -08:00
Bernie Hackett
1391e32f45
Add Sergey Azovskov to contributors.
2014-11-02 08:18:22 -08:00
Don Mitchell
4093c06726
Don't unnecessarily copy the key list
...
Conflicts:
doc/contributors.rst
test/test_son.py
2014-10-24 13:19:20 -04:00
Jaroslav Semančík
687a1f41bf
Added Jaroslav Semančík (girogiro) to contributors
2014-05-01 11:31:54 -07:00
Bernie Hackett
dc125553fb
Add Luke Lovett to contributors.
2014-02-21 13:46:25 -08:00
Bernie Hackett
4bb1e577cf
Add Kyle Erf to contributors.
2014-02-12 14:21:48 -08:00
A. Jesse Jiryu Davis
dcdcb6877e
Add Yuchen Ying to contributors
2013-10-17 16:44:52 -04:00
hawka
74546ec88d
Adding Support for readPreferenceTags and uuidRepresentation in URI parsing. PYTHON-473
2013-08-30 15:38:34 -04:00
Bernie Hackett
515e0536b6
Add Tyler Jones to contributors.
2013-08-13 08:38:59 -07:00
A. Jesse Jiryu Davis
dc4b127cce
Add Xiuming Chen to contributors.
2013-07-05 19:23:14 -04:00
Justin Patrin
8fe3154138
PYTHON-436 Change max_pool_size to limit the maximum concurrent connections rather than just the idle connections in the pool. Also add support for waitQueueTimeoutMS and waitQueueMultiple.
2013-05-22 20:33:14 -04:00
Sam Helman
acb48295a5
Added full_response parameter to find_and_modify PYTHON-492
2013-03-19 14:48:52 -04:00
A. Jesse Jiryu Davis
1ba099a15b
Add Emily Stolfo to contributors.
2013-03-11 15:52:25 -04:00
behackett
753dd27ca7
Add Craig Hobbs to contributors.
2013-01-23 11:16:11 -08:00
behackett
6e40c07f72
Add Michael Henson to contributors.
2012-09-21 13:31:36 -07:00
behackett
51a76a44b3
Add T. Dampier to contributors.
2012-07-25 14:31:00 -07:00
behackett
c249dc275d
Add Mike O'Brien and Chris Tompkinson to contributors.
2012-04-20 11:24:42 -07:00