fixing DQ issues
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
# middleware/logging_middleware.py
|
||||
"""Summary description ....
|
||||
|
||||
This module provides classes and functions for:
|
||||
- ....
|
||||
- ....
|
||||
- ....
|
||||
"""
|
||||
|
||||
import logging
|
||||
import time
|
||||
from typing import Callable
|
||||
@@ -10,9 +18,10 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class LoggingMiddleware(BaseHTTPMiddleware):
|
||||
"""Middleware for request/response logging and performance monitoring"""
|
||||
"""Middleware for request/response logging and performance monitoring."""
|
||||
|
||||
async def dispatch(self, request: Request, call_next: Callable) -> Response:
|
||||
"""Dispatch."""
|
||||
# Start timing
|
||||
start_time = time.time()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user