MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / __init__

Method __init__

src/core/http/middleware/logging.py:15–17  ·  view source on GitHub ↗
(self, app: ASGIApp, logger: Log)

Source from the content-addressed store, hash-verified

13
14class LoggingRequest(BaseHTTPMiddleware):
15 def __init__(self, app: ASGIApp, logger: Log) -> None:
16 super().__init__(app)
17 self.logger = logger
18
19 async def dispatch(self, request: Request, call_next: Callable) -> Response:
20 start_time = time.time()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected