tidy(app): remove unused class

This commit is contained in:
psychedelicious 2024-04-23 16:56:00 +10:00
parent e6386d969f
commit 2cee436ecf

View File

@ -1,7 +1,6 @@
import shutil import shutil
import tempfile import tempfile
import typing import typing
from dataclasses import dataclass
from pathlib import Path from pathlib import Path
from typing import TYPE_CHECKING, Optional, TypeVar from typing import TYPE_CHECKING, Optional, TypeVar
@ -18,12 +17,6 @@ if TYPE_CHECKING:
T = TypeVar("T") T = TypeVar("T")
@dataclass
class DeleteAllResult:
deleted_count: int
freed_space_bytes: float
class ObjectSerializerDisk(ObjectSerializerBase[T]): class ObjectSerializerDisk(ObjectSerializerBase[T]):
"""Disk-backed storage for arbitrary python objects. Serialization is handled by `torch.save` and `torch.load`. """Disk-backed storage for arbitrary python objects. Serialization is handled by `torch.save` and `torch.load`.