12345678910111213141516171819202122232425262728293031323334 |
- from redis.client import Redis, StrictRedis
- from redis.connection import (
- BlockingConnectionPool,
- ConnectionPool,
- Connection,
- SSLConnection,
- UnixDomainSocketConnection
- )
- from redis.utils import from_url
- from redis.exceptions import (
- AuthenticationError,
- BusyLoadingError,
- ConnectionError,
- DataError,
- InvalidResponse,
- PubSubError,
- ReadOnlyError,
- RedisError,
- ResponseError,
- TimeoutError,
- WatchError
- )
- __version__ = '2.10.5'
- VERSION = tuple(map(int, __version__.split('.')))
- __all__ = [
- 'Redis', 'StrictRedis', 'ConnectionPool', 'BlockingConnectionPool',
- 'Connection', 'SSLConnection', 'UnixDomainSocketConnection', 'from_url',
- 'AuthenticationError', 'BusyLoadingError', 'ConnectionError', 'DataError',
- 'InvalidResponse', 'PubSubError', 'ReadOnlyError', 'RedisError',
- 'ResponseError', 'TimeoutError', 'WatchError'
- ]
|