diff --git a/dictdatabase/io_unsafe.py b/dictdatabase/io_unsafe.py index fc54f3d..3780d0f 100644 --- a/dictdatabase/io_unsafe.py +++ b/dictdatabase/io_unsafe.py @@ -3,7 +3,6 @@ import hashlib import json from dataclasses import dataclass -from typing import Tuple import orjson @@ -137,7 +136,7 @@ def try_get_partial_file_handle_by_index( indexer: indexing.Indexer, db_name: str, key: str, -) -> Tuple[PartialFileHandle | None, bytes | None]: +) -> tuple[PartialFileHandle | None, bytes | None]: """ Try to get a partial file handle by using the key entry in the index file.