kk
This commit is contained in:
@@ -12,6 +12,20 @@ from typing import Any, Dict, List, Optional, Tuple
|
||||
|
||||
class Store(ABC):
|
||||
|
||||
@classmethod
|
||||
def config(cls) -> List[Dict[str, Any]]:
|
||||
"""Return configuration schema for this store.
|
||||
|
||||
Returns a list of dicts:
|
||||
{
|
||||
"key": "PATH",
|
||||
"label": "Store Location",
|
||||
"default": "",
|
||||
"required": True
|
||||
}
|
||||
"""
|
||||
return []
|
||||
|
||||
@abstractmethod
|
||||
def add_file(self, file_path: Path, **kwargs: Any) -> str:
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user