Example:
class Product(Document):
price: float
category: str
Or({Product.price<10}, {Product.category=="Sweets"})
And I end up with an unhashable type error, any ideas, what is wrong, my guess is that it's not documented properly. I can contribute if needed to the docs, if I know how to solve this
Describe the bug I'm trying to follow the Or class example, which is:
https://beanie-odm.dev/api-documentation/operators/find/#or
And I end up with an unhashable type error, any ideas, what is wrong, my guess is that it's not documented properly. I can contribute if needed to the docs, if I know how to solve this
To Reproduce
Out:
Expected behavior A clear and concise description of what you expected to happen. prints the OR query