redis-om-python/tests
Mahmoud Harmouch 551429c01a
Allow users to define a new primary key. (#347)
* make primary key programmable

Signed-off-by: wiseaidev <business@wiseai.dev>

* get primary key field using the `key` method

Signed-off-by: wiseaidev <business@wiseai.dev>

* adjust delete_many & expire methods

Signed-off-by: wiseaidev <business@wiseai.dev>

* fix query for int primary key

Signed-off-by: wiseaidev <business@wiseai.dev>

* fix grammar

Signed-off-by: wiseaidev <business@wiseai.dev>

* add unit tests

Signed-off-by: wiseaidev <business@wiseai.dev>

Signed-off-by: wiseaidev <business@wiseai.dev>
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
2022-09-08 14:38:49 +03:00
..
__init__.py Add basic migrations, query expression resolver 2021-09-15 17:41:45 -07:00
conftest.py Implement temporary workaround from unasync package 2022-05-01 18:18:01 +03:00
test_hash_model.py Allow users to define a new primary key. (#347) 2022-09-08 14:38:49 +03:00
test_json_model.py Replace execute_command with specific redis functions when possible (#346) 2022-08-22 18:04:10 +03:00
test_oss_redis_features.py Migrate from aioredis to redis-py with asyncio support (#233) 2022-08-10 15:21:13 +03:00
test_pydantic_integrations.py Fix DeprecationWarning '@pytest.fixture' 2022-05-01 17:27:06 +03:00
test_redis_type.py Migrate from aioredis to redis-py with asyncio support (#233) 2022-08-10 15:21:13 +03:00