mongoengine icon indicating copy to clipboard operation
mongoengine copied to clipboard

A Python Object-Document-Mapper for working with MongoDB

Results 169 mongoengine issues
Sort by recently updated
recently updated
newest added

Hi guys! I have absolutely no idea if you even would consider this use case that at my Organization we were facing, but let me try anyway. We are currently...

An implementation of one of my proposals, resolves #2248 - [Add support for transactions using global sessions](https://github.com/MongoEngine/mongoengine/issues/2248#issuecomment-908504024) * Maintain state of session when entering and exiting transaction * Update any...

A document with the following structure will crash MongoEngine 0.24.0 ```python class MyDoc(Document): fld = GenericReferenceField() meta = { "indexes": [{"fields": ["fld._ref.$id"]}] } ``` This type of index was fine...

Document inherited from DynamicDocument throws Validation Error: Invalid embedded document instance provided to an EmbeddedDocumentField. ``` class MyEmbDoc(EmbeddedDocument): emb_field = StringField() class MyDoc(DynamicDocument): emb_doc = EmbeddedDocumentField(MyEmbDoc, ) ``` creating an...

Hi there, my python code is ```pipelines.py user = urllib.parse.quote_plus(os.getenv("USER")) passwd = urllib.parse.quote_plus(os.getenv("PASS")) connect(os.getenv("MONGO_DATABASE"), host= "mongodb+srv://%s:%s@[email protected]/%s?retryWrites=true&w=majority" % (user, passwd, os.getenv("MONGO_DATABASE"))) ``` I'm using urllib.parse.quote_plus() still getting the following issue ```...

**Python 3.9.1 PyMongo 4.0.2 Mongoengine 0.24.1** I'm having an issue when trying to connect to a new primary instance. I'm using docker to host the three mongo instances that I...

Under certain condition, inside value of ListField(EnumField) don't get casted to the proper Enum. This patches fixes that.

As of 3.11 (and MongoDB 4.4+), `pymongo` supports AWS IAM user/role based authentication: https://pymongo.readthedocs.io/en/stable/examples/authentication.html#mongodb-aws Support for this would be great to have in `mongoengine` as well. This requires two things:...

I'd like to open the discussion on the interface that we want to use for supporting the use of transactions/sessions within MongoEngine. Items to keep in mind: - Session needs...

Discussion