diff --git a/src/blueapi/core/event.py b/src/blueapi/core/event.py index 6eb2b94d1..fde29b3de 100644 --- a/src/blueapi/core/event.py +++ b/src/blueapi/core/event.py @@ -1,6 +1,5 @@ import itertools from abc import ABC, abstractmethod -from copy import copy from typing import Callable, Dict, Generic, Optional, TypeVar #: Event type diff --git a/src/blueapi/worker/task.py b/src/blueapi/worker/task.py index d9e0ff71b..fdec51202 100644 --- a/src/blueapi/worker/task.py +++ b/src/blueapi/worker/task.py @@ -1,6 +1,5 @@ import logging from abc import ABC, abstractmethod -from dataclasses import dataclass from typing import Any, Mapping from pydantic import BaseModel, Field, parse_obj_as diff --git a/tests/service/test_rest_api.py b/tests/service/test_rest_api.py index e96fc43f9..4363792d2 100644 --- a/tests/service/test_rest_api.py +++ b/tests/service/test_rest_api.py @@ -1,4 +1,3 @@ -import itertools from dataclasses import dataclass from fastapi.testclient import TestClient @@ -6,7 +5,6 @@ from blueapi.core.bluesky_types import Plan from blueapi.service.handler import Handler -from blueapi.service.model import TaskResponse from blueapi.worker.task import RunPlan, Task