tachyon-api 0.5.5__py3-none-any.whl → 0.5.9__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.

Potentially problematic release.


This version of tachyon-api might be problematic. Click here for more details.

tachyon_api/__init__.py CHANGED
@@ -18,6 +18,17 @@ from .models import Struct
18
18
  from .params import Query, Body, Path
19
19
  from .di import injectable, Depends
20
20
  from .router import Router
21
+ from .cache import (
22
+ cache,
23
+ CacheConfig,
24
+ create_cache_config,
25
+ set_cache_config,
26
+ get_cache_config,
27
+ InMemoryCacheBackend,
28
+ BaseCacheBackend,
29
+ RedisCacheBackend,
30
+ MemcachedCacheBackend,
31
+ )
21
32
 
22
33
  __all__ = [
23
34
  "Tachyon",
@@ -28,4 +39,13 @@ __all__ = [
28
39
  "injectable",
29
40
  "Depends",
30
41
  "Router",
42
+ "cache",
43
+ "CacheConfig",
44
+ "create_cache_config",
45
+ "set_cache_config",
46
+ "get_cache_config",
47
+ "InMemoryCacheBackend",
48
+ "BaseCacheBackend",
49
+ "RedisCacheBackend",
50
+ "MemcachedCacheBackend",
31
51
  ]