Arthur Pastel

Results 62 comments of Arthur Pastel

Since there is not really the index support yet (#93), it's probably not the best time to add this feature. If you want to draft a PR, ofc it wouldn't...

Hey @erny. Thanks for your enthusiasm :smile: . I'm currently working on this feature, release should come soon :wink: I totally agree with the use case you described and it...

Yes, the beginning of an implementation has been done in #1 . But in the meantime, after some thoughts I ended up thinking that it would be better to use...

It's not there yet but it's in the plans :)

Hi no worries. Just to confirm, Is it normal that you use both `campaigns` and `addresses `?

Nice catch @Olegt0rr :nerd_face: > In MongoDB transactions are not available for Standalone. Do you have some references about this ? The only transaction requirements I found were those https://docs.mongodb.com/manual/core/write-operations-atomicity/...

To find out if we're connected to a replicaset or not, i found another way, using the [db.serverStatus](https://docs.mongodb.com/manual/reference/command/serverStatus/#serverstatus.repl) command: ```python server_status = await self.database.command({'serverStatus' :1}) is_standalone = "repl" not in...

>This way requires server admin role: `not authorized on admin to execute command` Yes :sob:, I totally forgot this initial constraint. Thanks for creating the request in Jira ! I...

Hey, yes I will merge #91 as soon as possible, this should help you with the coverage :)

Unfortunately, this behavior is not currently not supported. A way around however would be to define the pydantic model from the odmantic one. As explained in the [usage with pydantic...