method.py 文件源码

python
阅读 33 收藏 0 点赞 0 评论 0

项目:venom 作者: biosustain 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号