massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Werkzeug / werkzeug / middleware / profiler.pyi
1 from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
2 from typing import IO, Iterable, Text
3
4 class ProfilerMiddleware(object):
5     def __init__(
6         self,
7         app: WSGIApplication,
8         stream: IO[str] = ...,
9         sort_by: tuple[Text, Text] = ...,
10         restrictions: Iterable[str | float] = ...,
11         profile_dir: Text | None = ...,
12         filename_format: Text = ...,
13     ) -> None: ...
14     def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> list[bytes]: ...