Fix SeriesApp: Add missing class variable and clean up unused imports
This commit is contained in:
@@ -6,8 +6,9 @@ using FastAPI patterns and dependency injection.
|
||||
"""
|
||||
|
||||
import logging
|
||||
from typing import Callable, Optional, Dict, Any
|
||||
from fastapi import Request, Response, HTTPException, status
|
||||
from typing import Any, Callable, Dict, Optional
|
||||
|
||||
from fastapi import HTTPException, Request, Response, status
|
||||
from fastapi.responses import JSONResponse
|
||||
|
||||
|
||||
|
||||
@@ -12,10 +12,11 @@ import json
|
||||
import logging
|
||||
import time
|
||||
import traceback
|
||||
from typing import Callable, Dict, Any, Optional
|
||||
from fastapi import Request, Response, HTTPException, status
|
||||
from fastapi.responses import JSONResponse
|
||||
from datetime import datetime, timezone
|
||||
from typing import Any, Callable, Dict, Optional
|
||||
|
||||
from fastapi import HTTPException, Request, Response, status
|
||||
from fastapi.responses import JSONResponse
|
||||
|
||||
|
||||
class EnhancedLoggingMiddleware:
|
||||
|
||||
@@ -5,13 +5,14 @@ This module provides middleware for handling request validation logic
|
||||
using FastAPI patterns and dependency injection.
|
||||
"""
|
||||
|
||||
import html
|
||||
import json
|
||||
import logging
|
||||
from typing import Callable, Dict, Any, Optional, Union
|
||||
from fastapi import Request, Response, HTTPException, status
|
||||
from fastapi.responses import JSONResponse
|
||||
import html
|
||||
import re
|
||||
from typing import Any, Callable, Dict, Optional, Union
|
||||
|
||||
from fastapi import HTTPException, Request, Response, status
|
||||
from fastapi.responses import JSONResponse
|
||||
|
||||
|
||||
class ValidationMiddleware:
|
||||
|
||||
Reference in New Issue
Block a user