youtube-summarizer/venv311/lib/python3.11/site-packages/cyclopts/protocols.py

9 lines
225 B
Python

import inspect
from typing import Any, Callable, Protocol
class Dispatcher(Protocol):
def __call__(
self, command: Callable[..., Any], bound: inspect.BoundArguments, ignored: dict[str, Any], /
) -> Any: ...