metricq / aiocouch

🛋 An asynchronous client library for CouchDB 2.x and 3.x
https://aiocouch.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
29 stars 10 forks source link

Use params in _put #54

Closed Sekuraz closed 3 months ago

Sekuraz commented 3 months ago

We want to control database creation, especially the number of shards and the parameter is lost on this line.

bmario commented 3 months ago

I took the liberty to throw together my own patch for the issue. Passing the query options should work with the new release now.

Passing kwargs down to _request would be quite a big breaking change for that I don't see the benefits. So I'd rather not touch that.