fix: do not cache load_all_modules_configs, it is dynamic
parent
a8b62cff9c
commit
240fafa110
|
@ -32,7 +32,6 @@ def get_modules() -> List[Path]:
|
||||||
return [modulepath for modulepath in get_modules_dir().glob('*.json')]
|
return [modulepath for modulepath in get_modules_dir().glob('*.json')]
|
||||||
|
|
||||||
|
|
||||||
@lru_cache(64)
|
|
||||||
def load_all_modules_configs() -> Dict[str, Dict]:
|
def load_all_modules_configs() -> Dict[str, Dict]:
|
||||||
configs = {}
|
configs = {}
|
||||||
for p in get_modules():
|
for p in get_modules():
|
||||||
|
|
Loading…
Reference in New Issue