From dcfb2f10520e8bde9741fcb44bc2465261c69d4d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 14 Jun 2021 10:45:40 +1000 Subject: [PATCH] multiple assignment confuses mypy --- pylib/anki/notes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pylib/anki/notes.py b/pylib/anki/notes.py index 176002a3c..2f5e3f1f4 100644 --- a/pylib/anki/notes.py +++ b/pylib/anki/notes.py @@ -14,7 +14,8 @@ from anki.consts import MODEL_STD from anki.models import NotetypeDict, NotetypeId, TemplateDict from anki.utils import joinFields -NoteFieldsCheckResult = DuplicateOrEmptyResult = _pb.NoteFieldsCheckOut.State +DuplicateOrEmptyResult = _pb.NoteFieldsCheckOut.State +NoteFieldsCheckResult = _pb.NoteFieldsCheckOut.State # types NoteId = NewType("NoteId", int)