diff --git a/invokeai/app/services/object_serializer/object_serializer_disk.py b/invokeai/app/services/object_serializer/object_serializer_disk.py index df3327d20f..8edd29e150 100644 --- a/invokeai/app/services/object_serializer/object_serializer_disk.py +++ b/invokeai/app/services/object_serializer/object_serializer_disk.py @@ -1,7 +1,6 @@ import shutil import tempfile import typing -from dataclasses import dataclass from pathlib import Path from typing import TYPE_CHECKING, Optional, TypeVar @@ -18,12 +17,6 @@ if TYPE_CHECKING: T = TypeVar("T") -@dataclass -class DeleteAllResult: - deleted_count: int - freed_space_bytes: float - - class ObjectSerializerDisk(ObjectSerializerBase[T]): """Disk-backed storage for arbitrary python objects. Serialization is handled by `torch.save` and `torch.load`.