dialcache 0.25.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
dialcache/__init__.py ADDED
@@ -0,0 +1,38 @@
1
+ """DialCache: explicit scopes, layered caching, and portable Redis frames."""
2
+
3
+ from .cache import DialCache
4
+ from .config import UNSET, CacheLayer, DialCacheKeyConfig, KeyConfig, Policy
5
+ from .errors import (
6
+ ConfigError,
7
+ DialCacheError,
8
+ FallbackTimeoutError,
9
+ MissingRemoteError,
10
+ RedisReadTimeoutError,
11
+ RemoteReadTimeoutError,
12
+ UseCaseIsAlreadyRegisteredError,
13
+ UseCaseNameIsReservedError,
14
+ )
15
+ from .key import Key, normalize_args
16
+ from .serializer import UNDEFINED, JsonSerializer, Serializer
17
+
18
+ __all__ = [
19
+ "DialCache",
20
+ "Policy",
21
+ "KeyConfig",
22
+ "DialCacheKeyConfig",
23
+ "CacheLayer",
24
+ "Key",
25
+ "normalize_args",
26
+ "Serializer",
27
+ "JsonSerializer",
28
+ "UNDEFINED",
29
+ "UNSET",
30
+ "DialCacheError",
31
+ "ConfigError",
32
+ "FallbackTimeoutError",
33
+ "RemoteReadTimeoutError",
34
+ "RedisReadTimeoutError",
35
+ "MissingRemoteError",
36
+ "UseCaseIsAlreadyRegisteredError",
37
+ "UseCaseNameIsReservedError",
38
+ ]