Skip to content

Why Async is not actually async? #3675

Open
@markparonyan

Description

@markparonyan

line 4074 of redis/commands/core.py (https://github.com/redis/redis-py/blob/8325ce2859b28e61086da904fba6ba87a4ee3d1b/redis/commands/core.py#L4074C1-L4074C37)
AsyncStreamCommands = StreamCommands

also this in redismodulecommands line 94:
class AsyncRedisModuleCommands(RedisModuleCommands)

and we can go on and on

As I see, if we want asynchronous code, now we need to use redis.asyncio.execute_command method every time, because all wrappers are synchronous (with some exceptions).

Why we don't have asynchronous wrappers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions