Skip to content

Commit f457d2e

Browse files
committed
Fix results model / pydantic type hint
1 parent 0e5181b commit f457d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

medcat/compare_models/compare_annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ResultsTally(BaseModel):
1414
pt2ch: Optional[Dict[str, Set[str]]]
1515
cat_data: dict
1616
cui2name: Callable[[str], str]
17-
total_count = 0
17+
total_count: int = 0
1818
per_cui_count: Dict[str, int] = {}
1919
per_cui_acc: Dict[str, float] = {}
2020
per_cui_forms: Dict[str, Set[str]] = {}

0 commit comments

Comments
 (0)