f
This commit is contained in:
4
CLI.py
4
CLI.py
@@ -823,7 +823,9 @@ class CmdletIntrospection:
|
||||
normalized_arg = (arg_name or "").lstrip("-").strip().lower()
|
||||
|
||||
if normalized_arg in ("storage", "store"):
|
||||
backends = cls.store_choices(config, force=force)
|
||||
# Use cached/lightweight names for completions to avoid instantiating backends
|
||||
# (instantiating backends may perform initialization such as opening folder DBs).
|
||||
backends = cls.store_choices(config, force=False)
|
||||
if backends:
|
||||
return backends
|
||||
|
||||
|
||||
Reference in New Issue
Block a user