Published by underyx over 8 years ago
FlaskRedis.init_app
method no longer takesstrict
parameter. Pass this flag when creating your FlaskRedis
'REDIS'
, so unless you change that, you can still access the extension viaapp.extensions['redis']
as before.redis.StrictRedis
. You can switch back to the old redis.Redis
class bystrict=False
in the FlaskRedis
kwargs.Redis
keyword arguments (such asdecode_responses
) to FlaskRedis
and they will be correctly passed overredis-py
instance. Thanks, @giyyapan!redis_store['key'] = value
, redis_store['key']
, anddel redis_store['key']
is now supported. Thanks, @ariscn!Published by underyx over 9 years ago
flask_redis.Redis
to flask_redis.FlaskRedis
.REDIS_DATABASE
(or equivalent) now emits aREDIS_URL
(or equivalent)FlaskRedis.from_custom_provider(provider)
class method for usingfrom_url
strict
parameter to FlaskRedis
which expects a boolean valueredis.StrictRedis
and redis.Redis
FlaskRedis
register as a Flask extension through Flask's extension__getattr__
magic method to pass calls to the underlying clientPublished by rhyselsmore almost 10 years ago
See CHANGELOG for updates.
Published by rhyselsmore over 11 years ago
Published by rhyselsmore over 11 years ago