diff --git a/src/api/utils.py b/src/api/utils.py index 70f211a..6671dea 100644 --- a/src/api/utils.py +++ b/src/api/utils.py @@ -1,6 +1,5 @@ import typing as t -import sqlmodel from pydantic import create_model from sqlalchemy import func from sqlalchemy.sql.operators import is_, is_not diff --git a/src/archive/mast.py b/src/archive/mast.py index 33e5def..be8528d 100644 --- a/src/archive/mast.py +++ b/src/archive/mast.py @@ -1,9 +1,8 @@ import re import typing as t import uuid -from asyncio import QueueEmpty from dataclasses import dataclass -from multiprocessing import Process, Queue +from multiprocessing import Process from typing import Optional import numpy as np @@ -213,7 +212,7 @@ def _get_dataset_attributes(self, signal_name: str, signal) -> dict: for field in metadata: try: attrs[field] = getattr(signal, field) - except TypeError as exception: + except TypeError: pass for key, attr in attrs.items():