1 from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
2 from typing import IO, Iterable, Text
4 class ProfilerMiddleware(object):
9 sort_by: tuple[Text, Text] = ...,
10 restrictions: Iterable[str | float] = ...,
11 profile_dir: Text | None = ...,
12 filename_format: Text = ...,
14 def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> list[bytes]: ...