aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--grobid_tei_xml/types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grobid_tei_xml/types.py b/grobid_tei_xml/types.py
index 32b773b..4b83ff5 100644
--- a/grobid_tei_xml/types.py
+++ b/grobid_tei_xml/types.py
@@ -1,5 +1,5 @@
from dataclasses import asdict, dataclass
-from typing import List, Optional
+from typing import Any, Dict, List, Optional
@dataclass
@@ -161,7 +161,7 @@ class GrobidBiblio:
Transforms in to Citation Style Language (CSL) JSON schema, as a dict
(not an actual JSON string)
"""
- csl = dict(
+ csl: Dict[str, Any] = dict(
type=default_type,
author=[a.to_csl_dict() for a in self.authors],
issued=_csl_date(self.date),