-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commands/cluster: use pipeline to execute split commands (#2230)
- allow passing target_nodes to pipeline commands - move READ_COMMANDS to commands/cluster to avoid import cycle - add types to list_or_args
- Loading branch information
1 parent
11cf66a
commit d7d4336
Showing
5 changed files
with
151 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
from .cluster import AsyncRedisClusterCommands, RedisClusterCommands | ||
from .cluster import READ_COMMANDS, AsyncRedisClusterCommands, RedisClusterCommands | ||
from .core import AsyncCoreCommands, CoreCommands | ||
from .helpers import list_or_args | ||
from .parser import CommandsParser | ||
from .redismodules import AsyncRedisModuleCommands, RedisModuleCommands | ||
from .sentinel import AsyncSentinelCommands, SentinelCommands | ||
|
||
__all__ = [ | ||
"AsyncCoreCommands", | ||
"AsyncRedisClusterCommands", | ||
"RedisClusterCommands", | ||
"AsyncRedisModuleCommands", | ||
"AsyncSentinelCommands", | ||
"CommandsParser", | ||
"AsyncCoreCommands", | ||
"CoreCommands", | ||
"list_or_args", | ||
"AsyncRedisModuleCommands", | ||
"READ_COMMANDS", | ||
"RedisClusterCommands", | ||
"RedisModuleCommands", | ||
"AsyncSentinelCommands", | ||
"SentinelCommands", | ||
"list_or_args", | ||
] |
Oops, something went wrong.