BeanieODM / beanie

Asynchronous Python ODM for MongoDB
http://beanie-odm.dev/
Apache License 2.0
2.02k stars 215 forks source link

Add support for custom bucket fields in time series #760

Closed Luc1412 closed 10 months ago

Luc1412 commented 11 months ago

This PR adds support for the custom bucket fields for time series introduced in MongoDB 6.3 https://www.mongodb.com/docs/manual/core/timeseries/timeseries-procedures/

roman-right commented 11 months ago

Hi @Luc1412 , Thank you for the PR! Could you please check what MyPy doesn't like there?

Luc1412 commented 11 months ago

@roman-right Am not sure what's wrong. There isn't a type definition of that mentioned string

roman-right commented 11 months ago

No problem, I'll check it this weekend and or will fix it or will ask mypy to ignore

roman-right commented 10 months ago

Hi @Luc1412 , Thank you for the PR! Merged. Will be published soon