Noah Stapp
0e8d70457f
Async client uses tasks instead of threads
...
PYTHON-4725 - Async client should use tasks for SDAM instead of threads
PYTHON-4860 - Async client should use asyncio.Lock and asyncio.Condition
PYTHON-4941 - Synchronous unified test runner being used in asynchronous tests
PYTHON-4843 - Async test suite should use a single event loop
PYTHON-4945 - Fix test cleanups for mongoses
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
2024-11-26 16:55:27 -05:00
Noah Stapp
739510214b
PYTHON-4731 - Explicitly close all MongoClients opened during tests ( #1855 )
2024-09-17 09:22:17 -04:00
Steven Silvester
7295fe17b7
PYTHON-4226 Add Projection with aggregation expressions example ( #1803 )
2024-08-21 14:28:55 -05:00
Shane Harvey
13cf110f01
PYTHON-4633 Speed up TestCollectionChangeStream.test_uuid_representations ( #1775 )
2024-08-07 16:17:48 -07:00
Noah Stapp
ffa6555485
PYTHON-4476 Separate data and IO classes more effectively ( #1678 )
2024-06-26 10:12:39 -07:00
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta ( #1629 )
2024-06-06 09:01:24 -07:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff ( #1399 )
2023-10-19 11:56:22 -05: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
Steven Silvester
ae83a0b8be
PYTHON-3570 Deprecate currentOp/collStats commands by 7.0 ( #1205 )
2023-05-08 11:49:05 -05:00
Shane Harvey
5b85ad2bcf
PYTHON-3391 Skip unsupported CSOT tests on serverless ( #1030 )
2022-08-03 13:30:41 -07:00
Shane Harvey
925537575b
PYTHON-3284 Fix test_snapshot_query by waiting for documents to be committed to the snapshot ( #1019 )
2022-07-25 14:22:51 -07:00
Steven Silvester
e325b24b78
PYTHON-3127 Snapshot Query Examples for the Manual ( #907 )
2022-03-28 12:18:26 -05:00
Shane Harvey
648a87e228
PYTHON-3173 Skip version API test for count ( #902 )
2022-03-16 12:32:00 -07:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting ( #868 )
2022-02-17 06:44:08 -06:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
f4cef37328
PYTHON-3064 Add typings to test package ( #844 )
2022-02-07 19:33:41 -06: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
Shane Harvey
e1b068d37a
PYTHON-2525 Remove Collection.count and Cursor.count ( #700 )
2021-08-10 13:52:29 -07:00
Prashant Mital
f86b2c6bf8
PYTHON-2827 Versioned API migration example for ecosystem docs ( #687 )
2021-07-29 17:17:22 -07:00
Prashant Mital
048f54ddde
PYTHON-2710 Version API connection examples for ecosystem docs ( #636 )
...
* PYTHON-2710 Version API connection examples for ecosystem docs
* fix
* more fixes
2021-06-08 14:07:53 -07:00
Shane Harvey
4457714d1b
PYTHON-2082 Unpin session after RetryableWriteErrors from commitTransaction ( #451 )
...
PYTHON-2154 PYTHON-2189 Remove 4.5 transaction test workarounds
2020-07-01 18:32:58 -07:00
Shane Harvey
5b49557c59
PYTHON-2268 Close clients in test suite
2020-06-03 17:05:59 -07:00
Shane Harvey
ae5c03df17
PYTHON-2173 Update comment in with_transaction example for the docs manual
2020-05-06 11:38:53 -07:00
Shane Harvey
04c3a48366
PYTHON-2153 Skip failing createIndexes wtimeout test on 4.3+
...
PYTHON-2154 Skip failing transactions test on 4.5+
2020-03-06 09:11:01 -08:00
Prashant Mital
1fdfb9864b
PYTHON-2054 Remove unused example TestTransactionExamples.test_transactions_beta
2019-11-14 13:29:45 -08:00
Prashant Mital
c65367b8f0
PYTHON-1972 Add example usage for withTransaction API
2019-11-11 16:06:57 -08:00
Prashant Mital
a763461403
PYTHON-1885 Update ChangeStream documentation to use getResumeToken helper
2019-08-08 15:35:09 -07:00
Prashant Mital
78aa667f0f
PYTHON-1934 retryWrites=True with MMAPv1 storage engine should raise an actionable error
2019-08-08 13:24:46 -07:00
Shane Harvey
9baadec0af
PYTHON-1729 Add read preference to transaction retry example
2019-05-20 14:33:58 -07:00
Prashant Mital
00b672653e
FIX: explicitly state read and write concern in causal consistency examples ( #374 )
...
PYTHON-1623 Causal Consistency Examples for the Manual
2018-08-28 15:54:21 -05:00
Prashant Mital
9aa7adab0f
PYTHON-1621 Modify change stream output example for manual ( #370 )
2018-08-10 15:21:54 -07:00
Prashant Mital
88ab7ed4ea
DOC: add manual example for causal consistency ( #368 )
...
* DOC: add manual example for causal consistency
2018-08-10 15:11:34 -07:00
Bernie Hackett
e6b0f3847d
PYTHON-1581 - Deprecate Collection/Cursor count
2018-06-18 10:50:26 -07:00
Shane Harvey
b5e9007af0
PYTHON-1508 PYTHON-1589 Expand where unknown commit label is raised
...
Remove has_label api.
Bump required server version for transactions.
2018-06-15 11:29:11 -07:00
Shane Harvey
96aaf2f527
PYTHON-1562 Add transaction examples for docs
2018-06-13 18:01:34 -07:00
A. Jesse Jiryu Davis
32d3f0e80b
Spelling
2018-06-06 10:17:19 -04:00
Shane Harvey
876fa50dbd
PYTHON-1508 Transaction tests require 3.7.7
2018-04-25 16:04:05 -07:00
Shane Harvey
958642f74f
PYTHON-1508 Transaction beta examples for docs
2018-04-17 16:56:01 -07:00
Shane Harvey
49494c2548
Add support for start_transaction with-statement
2018-04-16 09:57:45 -04:00
Bernie Hackett
5423c5b0a0
PYTHON-1465 - Agg, cmd, and index examples for docs
2018-03-30 16:49:34 -07:00
Bernie Hackett
8929080e7a
PYTHON-1445 PYTHON-1446 PYTHON-1448 - More examples
2018-02-12 19:13:44 -08:00
Bernie Hackett
c5c29200c7
PYTHON-1393 - Change streams examples for docs
2017-10-27 19:35:49 -07:00
Shane Harvey
3e778334e7
PYTHON-1299 Remove test logic for MongoDB <2.6.
2017-09-29 12:09:24 -07:00
Bernie Hackett
a426aef599
PYTHON-1250 - Fix replace_one test
2017-04-03 14:58:05 -07:00
Bernie Hackett
6d0a6ba795
PYTHON-1250 - Create examples for sample shell commands
2017-03-25 11:29:05 -07:00