Skip to content

Commit 479667b

Browse files
odesenfansMHHukiewitz
authored andcommitted
fix for review
1 parent 85fcbe8 commit 479667b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/aleph_client/vm/cache.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ def sanitize_cache_key(key: str) -> CacheKey:
2121
class BaseVmCache(abc.ABC):
2222
"""Virtual Machines can use this cache to store temporary data in memory on the host."""
2323

24-
session: ClientSession
25-
2624
@abc.abstractmethod
2725
async def get(self, key: str) -> Optional[bytes]:
2826
"""Get the value for a given key string."""
@@ -47,6 +45,7 @@ async def keys(self, pattern: str = "*") -> List[str]:
4745
class VmCache(BaseVmCache):
4846
"""Virtual Machines can use this cache to store temporary data in memory on the host."""
4947

48+
session: ClientSession
5049
cache: Dict[str, bytes]
5150
api_host: str
5251

0 commit comments

Comments
 (0)