Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrd committed Aug 13, 2023
1 parent d327b69 commit 6fc3ce0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dictdatabase/io_unsafe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import hashlib
import json
from dataclasses import dataclass
from typing import Tuple

import orjson

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 6fc3ce0

Please sign in to comment.