mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
Full mypy --strict type checking pass
This commit is contained in:
@@ -11,12 +11,12 @@ _Func = Callable[..., Any]
|
||||
class KeyBuilder(Protocol):
|
||||
def __call__(
|
||||
self,
|
||||
_function: _Func,
|
||||
_namespace: str = ...,
|
||||
__function: _Func,
|
||||
__namespace: str = ...,
|
||||
*,
|
||||
request: Optional[Request] = ...,
|
||||
response: Optional[Response] = ...,
|
||||
args: Tuple[Any, ...] = ...,
|
||||
kwargs: Dict[str, Any] = ...,
|
||||
args: Tuple[Any, ...],
|
||||
kwargs: Dict[str, Any],
|
||||
) -> Union[Awaitable[str], str]:
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user