Monkeytype pylib/anki/template.py

This commit is contained in:
Alan Du 2020-02-26 20:21:23 -05:00
parent 78a002d666
commit 1942d97cf5

View File

@ -143,7 +143,9 @@ def templates_for_card(card: Card, browser: bool) -> Tuple[str, str]:
return q, a # type: ignore
def fields_for_rendering(col: anki.storage._Collection, card: Card, note: Note):
def fields_for_rendering(
col: anki.storage._Collection, card: Card, note: Note
) -> Dict[str, str]:
# fields from note
fields = dict(note.items())