diff --git a/stubs/cyclone/web.pyi b/stubs/cyclone/web.pyi --- a/stubs/cyclone/web.pyi +++ b/stubs/cyclone/web.pyi @@ -3,7 +3,8 @@ # NOTE: This dynamically typed stub was automatically generated by stubgen. from twisted.internet import protocol -from typing import Any, Optional, List +from typing import Any, Optional +from .httpserver import HTTPRequest class RequestHandler: SUPPORTED_METHODS: Any = ... @@ -11,11 +12,11 @@ class RequestHandler: no_keep_alive: bool = ... xsrf_cookie_name: str = ... application: Any = ... - request: Any = ... + request: HTTPRequest = ... path_args: Any = ... path_kwargs: Any = ... ui: Any = ... - def __init__(self, application: Any, request: Any, **kwargs: Any) -> None: ... + def __init__(self, application: Any, request: HTTPRequest, **kwargs: Any) -> None: ... @property def settings(self): ...