formatting

This commit is contained in:
2025-11-26 14:14:21 +01:00
parent 400a471c6b
commit 27347f8249

View File

@@ -4,17 +4,18 @@ This can run independently to support the PHP application.
""" """
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio
from contextlib import asynccontextmanager
import json import json
import logging import logging
import os import os
import re import re
import time import time
from typing import Any, TYPE_CHECKING from contextlib import asynccontextmanager
from typing import TYPE_CHECKING, Any
if TYPE_CHECKING: if TYPE_CHECKING:
from collections.abc import AsyncIterator, Callable, Awaitable from collections.abc import AsyncIterator, Awaitable, Callable
# Avoid importing heavy modules at top-level to keep `import api_service` lightweight # Avoid importing heavy modules at top-level to keep `import api_service` lightweight
from fastapi import FastAPI, Query, Request, Response from fastapi import FastAPI, Query, Request, Response