mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
add new init command for generate boilerplate in flat or src layout
This commit is contained in:
@@ -7,7 +7,7 @@ __all__ = [
|
||||
"HandlerFunc",
|
||||
]
|
||||
|
||||
from typing import Any, Protocol, TypeVar
|
||||
from typing import Any, Protocol, TypeVar, Callable
|
||||
|
||||
from argenta.response import Response
|
||||
|
||||
@@ -39,6 +39,4 @@ class DescriptionMessageGenerator(Protocol):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class HandlerFunc(Protocol):
|
||||
def __call__(self, response: Response, /, *args: Any, **kwargs: Any) -> None:
|
||||
raise NotImplementedError
|
||||
type HandlerFunc = Callable[..., Any]
|
||||
|
||||
Reference in New Issue
Block a user