From 6fc3ce0f1389d8a4f426635d5e2707f129e924e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Kro=CC=88ker?= Date: Sun, 13 Aug 2023 23:15:25 +0200 Subject: [PATCH] typing --- dictdatabase/io_unsafe.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.