mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
Add type annotation for model
This commit is contained in:
parent
7abd58382f
commit
3357ecfed3
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Note:
|
|||
def __init__(
|
||||
self,
|
||||
col: "anki.storage._Collection",
|
||||
model: Optional[Any] = None,
|
||||
model: Optional[NoteType] = None,
|
||||
id: Optional[int] = None,
|
||||
) -> None:
|
||||
assert not (model and id)
|
||||
|
|
Loading…
Reference in a new issue