Import SearchTerm from collection in aqt

This commit is contained in:
RumovZ 2021-01-30 12:51:24 +01:00
parent 26e5235846
commit 5425b00d2b
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import aqt.deckchooser
import aqt.editor
import aqt.forms
import aqt.modelchooser
from anki.backend_pb2 import SearchTerm
from anki.collection import SearchTerm
from anki.consts import MODEL_CLOZE
from anki.notes import Note
from anki.utils import htmlToTextLine, isMac

View File

@ -20,8 +20,8 @@ from bs4 import BeautifulSoup
import aqt
import aqt.sound
from anki.backend_pb2 import SearchTerm
from anki.cards import Card
from anki.collection import SearchTerm
from anki.hooks import runFilter
from anki.httpclient import HttpClient
from anki.notes import Note

View File

@ -9,7 +9,7 @@ from concurrent.futures import Future
from typing import Iterable, List, Optional, Sequence, TypeVar
import aqt
from anki.backend_pb2 import SearchTerm
from anki.collection import SearchTerm
from anki.rsbackend import TR, Interrupted, ProgressKind, pb
from aqt.qt import *
from aqt.utils import (