aioredis v2 support (#649)

* feat: aioredis v1-v2 adapters #648

* chore: aioredis version without importlib

* chore: refactor _get_redis for adapter

* chore: proxy Redis methods

* chore: adapter.get_redis become public

* fix: add missed redis methods

* chore: separate get_adapter method

* chore: remove method proxy

* chore: add docstrings

* chore: add redis deprecations

* docs: correct redis storage version

* chore: encoding one style

* refactor: remove redundant import

* fix: int version
This commit is contained in:
Oleg A 2021-08-05 22:34:15 +03:00 committed by GitHub
parent aaf0b42acf
commit 3aa40224a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 192 additions and 40 deletions

View file

@ -19,7 +19,7 @@ Memory storage
Redis storage
~~~~~~~~~~~~~
.. autoclass:: aiogram.contrib.fsm_storage.redis.RedisStorage
.. autoclass:: aiogram.contrib.fsm_storage.redis.RedisStorage2
:show-inheritance:
Mongo storage