From 948c09e84bb709fd4eceaecb07adea85f1819f71 Mon Sep 17 00:00:00 2001 From: Alan Du Date: Wed, 26 Feb 2020 20:15:34 -0500 Subject: [PATCH] Monkeytype pylib/anki/decks.py --- pylib/anki/decks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylib/anki/decks.py b/pylib/anki/decks.py index 084dc3238..a149adc81 100644 --- a/pylib/anki/decks.py +++ b/pylib/anki/decks.py @@ -446,7 +446,7 @@ class DeckManager: return deck["name"] return _("[no deck]") - def nameOrNone(self, did) -> Any: + def nameOrNone(self, did: int) -> Any: deck = self.get(did, default=False) if deck: return deck["name"] @@ -530,7 +530,7 @@ class DeckManager: self, force_default: bool = True, assume_no_child: bool = False, - default_deck=None, + default_deck: Optional[Dict[str, Any]] = None, ) -> bool: """Whether the default deck should appear in main window, browser side list, filter, deck selection...