We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85fcbe8 commit 479667bCopy full SHA for 479667b
src/aleph_client/vm/cache.py
@@ -21,8 +21,6 @@ def sanitize_cache_key(key: str) -> CacheKey:
21
class BaseVmCache(abc.ABC):
22
"""Virtual Machines can use this cache to store temporary data in memory on the host."""
23
24
- session: ClientSession
25
-
26
@abc.abstractmethod
27
async def get(self, key: str) -> Optional[bytes]:
28
"""Get the value for a given key string."""
@@ -47,6 +45,7 @@ async def keys(self, pattern: str = "*") -> List[str]:
47
45
class VmCache(BaseVmCache):
48
46
49
+ session: ClientSession
50
cache: Dict[str, bytes]
51
api_host: str
52
0 commit comments