Commit graph

5 commits

Author SHA1 Message Date
melder
8325e6e111
Fixes issue decode_responses is set to True regardless if REDIS_OM_UR… (#373)
Fixes issue decode_responses is set to True regardless if REDIS_OM_URL environment variable is set.
Otherwise these warnings pop up when persisting objects:

Could not parse Redis response. Error was: "keywords must be strings". Probably, the connection is not set to decode responses from bytes. Attempting to decode response
using the encoding set on model class (<class 'redis_om.model.model.ModelMeta'>. Encoding: utf-8.

Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
2022-09-08 13:53:24 +03:00
Serhii Charykov
4661459ddd
Migrate from aioredis to redis-py with asyncio support (#233)
* Migrate from aioredis to redis with asyncio support

Add test for redis type
Fix imports from wrong module (for tests_sync)

* fixing merge conflicts and up to dating the lock file

Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
2022-08-10 15:21:13 +03:00
Serhii Charykov
490fcec1a7 Fix DeprecationWarning '@pytest.fixture' 2022-05-01 17:27:06 +03:00
Simon Prickett
70e1f5952d Removed dotenv dependency and code. 2022-04-22 10:03:34 +01:00
Andrew Brookins
ca6ae7d6e9 Merge branch 'main' into asyncio 2021-11-09 15:59:10 -08:00