Mercurial > code > home > repos > light9
diff stubs/cyclone/web.pyi @ 1871:4ce991cdacdb
more stubs
Ignore-this: adf95b608f6791c2d7128c0f8cf661f8
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Mon, 27 May 2019 06:19:53 +0000 |
parents | 0f0ff27e55a3 |
children | 7d5fe19f77a1 |
line wrap: on
line diff
--- a/stubs/cyclone/web.pyi Mon May 27 00:41:38 2019 +0000 +++ b/stubs/cyclone/web.pyi Mon May 27 06:19:53 2019 +0000 @@ -3,7 +3,7 @@ # NOTE: This dynamically typed stub was automatically generated by stubgen. from twisted.internet import protocol -from typing import Any, Optional +from typing import Any, Optional, List class RequestHandler: SUPPORTED_METHODS: Any = ... @@ -30,8 +30,8 @@ def set_header(self, name: Any, value: Any) -> None: ... def add_header(self, name: Any, value: Any) -> None: ... def clear_header(self, name: Any) -> None: ... - def get_argument(self, name: Any, default: Any = ..., strip: bool = ...): ... - def get_arguments(self, name: Any, strip: bool = ...): ... + def get_argument(self, name: Any, default: Any = ..., strip: bool = ...) -> str: ... + def get_arguments(self, name: Any, strip: bool = ...) -> List[str]: ... def decode_argument(self, value: Any, name: Optional[Any] = ...): ... @property def cookies(self): ...