txmongo icon indicating copy to clipboard operation
txmongo copied to clipboard

asynchronous python driver for mongo

Results 29 txmongo issues
Sort by recently updated
recently updated
newest added

When I connect to MongoDB using my username password, it throws an error not authorized, is there a configuration problem? env: ``` docker run --name mongo-4.2.0 -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=username...

Whether I use the 3.6, 4.x, or 5.0 mongo emulation, txmongo is incompatible with DocumentDB. PyMongo seems to work just fine on all. Inserts and updates work great, the only...

txmongo cannot interact with mongo DB servers with version >= 5.1, due to its usage of the `OP_QUERY` command. The `OP_QUERY` command was deprecated in MongoDB 5.1, according to https://www.mongodb.com/docs/manual/reference/mongodb-wire-protocol/#ref-op-query-footnote-id4

Code breaks collection.py when it tries to import _UOP from pymongo.bulk as evident in the traceback below: ` import txmongo` ` File "/Users/mark/Dev/mine/tpikar/venv/lib/python3.9/site-packages/txmongo/__init__.py", line 7, in ` ` from txmongo.database...

Versions ``` txmongo==19.2.0 pymongo==3.0.3 ``` The `insert_many` method of `txmongo.collection.Collection` uses ``` bulk = _Bulk(self, ordered, bypass_document_validation=False) ``` But the `_Bulk` method in `pymongo 3.0.3` doesn't have the argument `bypass_document_validation`...

I am trying to connect to an Atlas M0 (Free Tier) Cluster with txmongo. Following the instructions here: https://github.com/twisted/txmongo/issues/203 I created the connection pool with: `db = yield ConnectionPool(url, ssl_context_factory=ssl.ClientContextFactory())`...

As far I can see in the code, `maxIdleTimeMS` option (url) is currently skipped (as well as keepalive). This is causing idle connection issues on Azure which suggests adding `maxIdleTimeMS=120000`...

Starting from maxWireVersion=4 (v3.2) MongoDB migrated to new implementation of CRUD methods based on [commands](https://docs.mongodb.com/manual/reference/command/nav-crud/) commands instead of `OP_*` low-level message codes. We already support new-style commands for insert, update,...

I have a piece of code that works with pymongo and my cosmos DB uri: ```python from pymongo import MongoClient mongodb_uri = 'mongodb://....' client = MongoClient(mongodb_uri) db = client.foo collection...