automation_api_router.py: remove superfluous imports

This commit is contained in:
2026-04-29 17:19:04 +02:00
parent c1db7a8d8a
commit 84bb350d21
+2 -5
View File
@@ -1,11 +1,9 @@
from __future__ import annotations
import asyncio
import json
from typing import AsyncGenerator, TYPE_CHECKING
from typing import AsyncGenerator
from fastapi import APIRouter, Depends, HTTPException, status
from pydantic import BaseModel, Field
from starlette.responses import StreamingResponse
from aare.common.automation_models import (
@@ -24,10 +22,9 @@ from aare.common.automation_queue_manager import (
WorkflowRedisManager,
build_default_steps,
)
from aare.common.automation_workflow import STATE_REGISTRY, HANDLER_REGISTRY
from aare.daq.automation_runner import PersistentWorkflowRunner
from aare.daq.auth import parse_token, check_jwt_rw, check_jwt_ro, oauth2_scheme
from aare.common.models import TokenData
from aare.daq.config import BeamlineConfig
from aare.daq.automation_runner import AutomationLoop