Skip to content

Commit

Permalink
Merge pull request #144 from ShadowJonathan/patch-1
Browse files Browse the repository at this point in the history
Make __all__ a list of strings
  • Loading branch information
IlyaSkriblovsky authored Sep 22, 2020
2 parents 5da94b9 + de2c1e1 commit c89a498
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions txredisapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2794,15 +2794,15 @@ def slave_for(self, service_name, factory_class=SentinelConnectionFactory,


__all__ = [
Connection, lazyConnection,
ConnectionPool, lazyConnectionPool,
ShardedConnection, lazyShardedConnection,
ShardedConnectionPool, lazyShardedConnectionPool,
UnixConnection, lazyUnixConnection,
UnixConnectionPool, lazyUnixConnectionPool,
ShardedUnixConnection, lazyShardedUnixConnection,
ShardedUnixConnectionPool, lazyShardedUnixConnectionPool,
Sentinel, MasterNotFoundError
"Connection", "lazyConnection",
"ConnectionPool", "lazyConnectionPool",
"ShardedConnection", "lazyShardedConnection",
"ShardedConnectionPool", "lazyShardedConnectionPool",
"UnixConnection", "lazyUnixConnection",
"UnixConnectionPool", "lazyUnixConnectionPool",
"ShardedUnixConnection", "lazyShardedUnixConnection",
"ShardedUnixConnectionPool", "lazyShardedUnixConnectionPool",
"Sentinel", "MasterNotFoundError"
]

__author__ = "Alexandre Fiori"
Expand Down

0 comments on commit c89a498

Please sign in to comment.