mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Monkeytype pylib/anki/template.py
This commit is contained in:
parent
78a002d666
commit
1942d97cf5
1 changed files with 3 additions and 1 deletions
|
@ -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())
|
||||
|
||||
|
|
Loading…
Reference in a new issue