From adaf9f9f3ef5d43d296cdd6122e986bd1d121a25 Mon Sep 17 00:00:00 2001 From: ChainYo Date: Mon, 13 Mar 2023 12:27:13 +0100 Subject: [PATCH] fix mypy for summary_html --- src/wordcab/core_objects/summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wordcab/core_objects/summary.py b/src/wordcab/core_objects/summary.py index cdd7b27..e6839fa 100644 --- a/src/wordcab/core_objects/summary.py +++ b/src/wordcab/core_objects/summary.py @@ -32,7 +32,7 @@ class StructuredSummary: context: Optional[ Dict[str, Union[str, List[str], Dict[str, Union[str, List[str]]]]] ] = field(default=None) - summary_html: Optional[str] = field(default=None) + summary_html: Optional[Union[str, Dict[str, str]]] = field(default=None) end: Optional[str] = field(default=None) end_index: Optional[int] = field(default=None) start: Optional[str] = field(default=None)