ver Dec21stv2
updated usage of tmp and cache direcotories added cache function for evaluation resources acquiring
This commit is contained in:
@@ -8,13 +8,17 @@ class SetupController:
|
||||
def __init__(self, http_server: str):
|
||||
self.http_server = http_server + "/setup"
|
||||
|
||||
def setup(self, config):
|
||||
def setup(self, config: List[Dict[str, Any]]):
|
||||
"""
|
||||
Setup Config:
|
||||
{
|
||||
download: list[tuple[string]], # a list of tuples of url of file to download and the save path
|
||||
...
|
||||
}
|
||||
Args:
|
||||
config (List[Dict[str, Any]]): list of dict like {str: Any}. each
|
||||
config dict has the structure like
|
||||
{
|
||||
"type": str, corresponding to the `_{:}_setup` methods of
|
||||
this class
|
||||
"parameters": dick like {str, Any} providing the keyword
|
||||
parameters
|
||||
}
|
||||
"""
|
||||
|
||||
for cfg in config:
|
||||
|
||||
Reference in New Issue
Block a user