def __init__(self,
name: str,
request: Type[Req],
response: Type[Res],
service: Type[S],
implementation: Callable[[S, Req], Awaitable[Res]],
*,
http_path: str = None,
http_method: HTTPVerb = None,
http_status: int = None,
**options: Dict[str, Any]) -> None:
super().__init__(name,
request,
response,
service,
http_path=http_path,
http_method=http_method,
http_status=http_status,
**options)
self.implementation = implementation
评论列表
文章目录