Add type annotation for model
This commit is contained in:
parent
7abd58382f
commit
3357ecfed3
@ -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 New Issue
Block a user