Skip to content

Commit 1b80f7b

Browse files
authored
Merge pull request #327 from DigitalSlideArchive/update-types
Satisfy the type checker
2 parents e932f2d + f6add93 commit 1b80f7b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

imagedephi/redact/redact.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import logging
1010
from pathlib import Path
1111
from shutil import copy2
12-
from typing import TYPE_CHECKING, NamedTuple, TypeVar
12+
from typing import TYPE_CHECKING, Any, Dict, NamedTuple, TypeVar
1313

1414
import tifftools
1515
import tifftools.constants
@@ -29,8 +29,8 @@
2929
if TYPE_CHECKING:
3030
from .redaction_plan import TagRedactionPlan
3131

32-
tags_used = OrderedDict()
33-
redaction_plan_report = {}
32+
tags_used: OrderedDict[str, dict[str, Any]] = OrderedDict()
33+
redaction_plan_report: Dict[str, Dict[str, Any]] = {}
3434
unprocessable_image_messages: list[str] = []
3535

3636
T = TypeVar("T")

0 commit comments

Comments
 (0)