redis-om-python
redis-om-python copied to clipboard
Object mapping, and more, for Redis and Python
This code works fine if the password conforms to the validator rules. Especially during assignment of a parent JsonModel. However when I run a get() method to retrieve data I...
for the dataset of approx 15000 keys, used as network data cache (string), the .find() method returns empty array ```Python NetworkCache.find(NetworkCache.network=="1.1.1.0/24").all() Out[29]: [] ``` yet, the record exists, and can...
I believe, as per the datastructures redis supports [here](https://redis.io/docs/data-types/tutorial/). There was **_no intention_** of a **HASH** structure being allowed within a **JSON** formatted string. Especially since the latter is a...
Non-trivial searches should provide cursor support - do a `ft.agregate` and then return an object to access the resulting cursor - ideally, that object would provide a URL-safe, and protected,...
in `FindQuery.resolve_value()` the case for `Operators.IN` and `Operators.NOT_IN` is not considered. - result is syntax error - recommend having an `else: raise ValueError` on this sort of case statement code
Hi All, The following code failed exeuction, is there any thing wrong? `import datetime from typing import Optional from pydantic import EmailStr from redis_om import ( Field, HashModel, Migrator, get_redis_connection...
Trying to do something like `result_set = Book.find( (Book.metrics.score < 3) ).sort_by("metrics.score")` will result in the error that `metrics.score` is not part of the model even though the find portion...
```py from redis.cluster import RedisCluster as Redis redis_userdb = Redis(host='xxx.yyy.zzz.xx', port=xxxx, password='password) print(redis_userdb.get_nodes()) ``` I able to write data on all cluster node without any issue but not able to...
Using `python3.8(cpython)` with redis om `0.1.0`. When trying to run migrations in an async way get the error: ``` Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/slixmpp/xmlstream/xmlstream.py", line 886, in handler_callback_routine...
redis-om on version `0.3.0` with pydantic v2 raises this following error. ``` │ /root/test/.env/lib/python3.10/site-packages/strawberry/schema/schema_converter.py:777 in │ │ from_type │ │ │ │ 774 │ │ elif isinstance(type_, StrawberryObjectDefinition): │ │...