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
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Werkzeug/werkzeug/middleware/profiler.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Werkzeug/werkzeug/middleware/profiler.pyi
new file mode 100644 (file)
index 0000000..0a6f165
--- /dev/null
@@ -0,0 +1,14 @@
+from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
+from typing import IO, Iterable, Text
+
+class ProfilerMiddleware(object):
+    def __init__(
+        self,
+        app: WSGIApplication,
+        stream: IO[str] = ...,
+        sort_by: tuple[Text, Text] = ...,
+        restrictions: Iterable[str | float] = ...,
+        profile_dir: Text | None = ...,
+        filename_format: Text = ...,
+    ) -> None: ...
+    def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> list[bytes]: ...