syntax revamp
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ class Provider(ABC):
|
||||
|
||||
# Declare which top-level cmdlet names this plugin handles.
|
||||
# Cmdlet dispatch and capability discovery use this to route operations.
|
||||
# Example: frozenset({"add-file", "get-file", "get-tag", "search-file"})
|
||||
# Example: frozenset({"add-file", "download-file", "get-tag", "search-file"})
|
||||
SUPPORTED_CMDLETS: frozenset = frozenset()
|
||||
|
||||
def __init__(self, config: Optional[Dict[str, Any]] = None):
|
||||
|
||||
@@ -471,7 +471,7 @@ class PluginRegistry:
|
||||
if not info.is_multi_instance:
|
||||
continue
|
||||
if not info.supported_cmdlets.intersection(
|
||||
{"add-file", "get-file", "tag"}
|
||||
{"add-file", "download-file", "tag"}
|
||||
):
|
||||
continue
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user