automation_api_router.py: remove superfluous imports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user