Noah Stapp
34ca694c9f
PYTHON-3801 gRPC POC phase 1 ( #1317 )
2023-07-26 14:01:22 -07:00
Iris
966a5adc4a
PYTHON-3778 add types to common.py ( #1287 )
2023-07-05 08:57:42 -07:00
Iris
3d2a650cbe
PYTHON-3755 add types to aggregation.py ( #1254 )
2023-06-27 12:32:05 -07:00
Shane Harvey
0092b0af79
PYTHON-2504 Run pyupgrade 3.4.0 and ruff 0.0.265 ( #1196 )
...
pyupgrade --py37-plus bson/*.py pymongo/*.py gridfs/*.py test/*.py tools/*.py test/*/*.py
ruff --fix-only --select ALL --fixable ALL --target-version py37 --line-length=100 --unfixable COM812,D400,D415,ERA001,RUF100,SIM108,D211,D212,SIM105,SIM,PT,ANN204,EM bson/*.py pymongo/*.py gridfs/*.py test/*.py test/*/*.py
2023-05-11 15:27:17 -07:00
Julius Park
c874c96e29
PYTHON-3232 Improved change stream event visibility for C2C Replication ( #1062 )
2022-09-27 15:31:20 -07:00
Julius Park
9562a81903
PYTHON-3119 getMore helper should explicitly send inherited comment ( #904 )
2022-03-25 16:47:18 -07:00
Julius Park
dce5072dd1
PYTHON-3137 Handle falsey values for "let" parameter ( #881 )
2022-02-18 10:43:07 -08:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting ( #868 )
2022-02-17 06:44:08 -06:00
Julius Park
ddb6614442
PYTHON-2682 Add support for the comment field to all helpers ( #847 )
2022-02-09 15:12:02 -08:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
dd6c140d43
PYTHON-3060 Add typings to pymongo package ( #831 )
2022-02-02 21:12:36 -06:00
Shane Harvey
ff3a8b44dc
PYTHON-1864 PYTHON-2931 Spec complaint $readPreference ( #809 )
...
Stop sending $readPreference to standalone servers.
Stop sending $readPreference primary because it's the server default.
Remove outdated secondary_ok flag.
2021-12-13 15:47:34 -08:00
Shane Harvey
bf992c20a6
PYTHON-2554 Support aggregate $merge and $out executing on secondaries ( #774 )
2021-12-07 16:26:01 -08:00
Shane Harvey
e154642968
Removed references to outdated server versions ( #812 )
2021-12-07 15:47:28 -08:00
Julius Park
046d789d9f
PYTHON-2957 Support 'let' option for multiple CRUD commands ( #804 )
2021-11-30 15:02:40 -08:00
Shane Harvey
11752ed594
PYTHON-2899 Remove code for MongoDB <= 3.4 ( #729 )
...
Remove unneeded memoryview to bytes conversion.
2021-09-16 16:53:50 -07:00
Bernie Hackett
146179db53
PYTHON-2803 Eliminate the use of 'slave'
2021-09-13 12:47:24 -07:00
Shane Harvey
c8f32a7a37
PYTHON-2673 Connection pinning behavior for load balanced clusters ( #630 )
...
Tweak spec test because pymongo unpins cursors eagerly after errors.
Tweak spec test for PoolClearedEvent ordering when MongoDB handshake fails (see DRIVERS-1785).
Only skip killCursors for some error codes.
Rely on SDAM error handling to close the connection after a state change error.
Add service_id to various events.
Retain reference to pinned sockets to prevent premptive closure by CPython's cyclic GC.
2021-06-15 14:14:56 -07:00
Shane Harvey
ab35e0df7f
PYTHON-1326 Remove the "useCursor" aggregate option ( #560 )
2021-01-26 10:46:35 -08:00
Bernie Hackett
7425153639
PYTHON-1665 Agg with $out always goes to primary
2019-07-16 14:20:50 -07:00
Shane Harvey
6de82d2526
PYTHON-1874 Fix coll.aggregate() when result is missing the "ns" field
2019-06-14 10:57:27 -07:00
Prashant Mital
694a4a5d85
PYTHON-1866 Add support for $merge aggregation pipeline stage
2019-06-13 19:38:15 -07:00
Prashant Mital
81529713ba
PYTHON-1699 Add database level aggregate helper
2019-06-12 16:37:39 -07:00