redis-om-python icon indicating copy to clipboard operation
redis-om-python copied to clipboard

Object mapping, and more, for Redis and Python

Results 199 redis-om-python issues
Sort by recently updated
recently updated
newest added

I just want to set the offset/limit .. maybe I don't want to execute yet.

bug

TLDR: running with commented block, prints empty. uncommenting, works fine, I might be missing something but it shouldn't do that. (Product is defined in 'product' module, not here in other.py,...

bug

Hi, I installed `redis-om="^0.1.2"` using Poetry and noticed that all my unit tests began failing. This is because `redis-om` installs an external dependency called `tests` which is the same name...

bug
maintenance

When this package is used from a workspace that uses `mypy` it will show up with the error: ``` Skipping analyzing "redis_om": module is installed, but missing library stubs or...

maintenance

Is there a way to disable the automatic generation of primary keys on embedded models

bug
breakingchange

I believe I've found a miss in the resolver. Currently, I can't seem to do the following when a field is numeric: ```python class MyModel(JSONModel): my_field: int = Field(index=True) MyModel(my_field=1).save()...

I'm trying out the following example: ``` from redis_om import Migrator, Field, JsonModel, get_redis_connection, EmbeddedJsonModel, HashModel from pydantic import BaseModel from typing import Optional class Level2(EmbeddedJsonModel): c: str class Level1(EmbeddedJsonModel):...

In the following test, I create an index with: ``` $.tags TAG SEPARATOR "," ``` But OM rewrites it using `|`. (AFAIU the default separator is not `|`, but `,`...

Is there any other way to store multiple primary keys in a model ?

Is there something like IN query for fetching multiple documents by multiple values of one field? Similar to SQL "SELECT * FROM foo WHERE bar in (1, 2, 3);"