[arch] fix: not filling cached data for installed suggestions

This commit is contained in:
Vinicius Moreira
2022-05-20 18:16:00 -03:00
parent 684248461b
commit fc29a1a7e9
3 changed files with 67 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
from abc import ABC, abstractmethod
from typing import Type
from typing import Type, Optional, Any, Dict
from bauh.api.abstract.cache import MemoryCache
from bauh.api.abstract.model import SoftwarePackage
@@ -29,6 +29,12 @@ class DiskCacheLoader:
"""
pass
def read(self, pkg: SoftwarePackage) -> Optional[Dict[str, Any]]:
"""
returns the cached data from the given package
"""
pass
class DiskCacheLoaderFactory(ABC):