Import SearchTerm from collection in aqt
This commit is contained in:
parent
26e5235846
commit
5425b00d2b
@ -7,7 +7,7 @@ import aqt.deckchooser
|
|||||||
import aqt.editor
|
import aqt.editor
|
||||||
import aqt.forms
|
import aqt.forms
|
||||||
import aqt.modelchooser
|
import aqt.modelchooser
|
||||||
from anki.backend_pb2 import SearchTerm
|
from anki.collection import SearchTerm
|
||||||
from anki.consts import MODEL_CLOZE
|
from anki.consts import MODEL_CLOZE
|
||||||
from anki.notes import Note
|
from anki.notes import Note
|
||||||
from anki.utils import htmlToTextLine, isMac
|
from anki.utils import htmlToTextLine, isMac
|
||||||
|
@ -20,8 +20,8 @@ from bs4 import BeautifulSoup
|
|||||||
|
|
||||||
import aqt
|
import aqt
|
||||||
import aqt.sound
|
import aqt.sound
|
||||||
from anki.backend_pb2 import SearchTerm
|
|
||||||
from anki.cards import Card
|
from anki.cards import Card
|
||||||
|
from anki.collection import SearchTerm
|
||||||
from anki.hooks import runFilter
|
from anki.hooks import runFilter
|
||||||
from anki.httpclient import HttpClient
|
from anki.httpclient import HttpClient
|
||||||
from anki.notes import Note
|
from anki.notes import Note
|
||||||
|
@ -9,7 +9,7 @@ from concurrent.futures import Future
|
|||||||
from typing import Iterable, List, Optional, Sequence, TypeVar
|
from typing import Iterable, List, Optional, Sequence, TypeVar
|
||||||
|
|
||||||
import aqt
|
import aqt
|
||||||
from anki.backend_pb2 import SearchTerm
|
from anki.collection import SearchTerm
|
||||||
from anki.rsbackend import TR, Interrupted, ProgressKind, pb
|
from anki.rsbackend import TR, Interrupted, ProgressKind, pb
|
||||||
from aqt.qt import *
|
from aqt.qt import *
|
||||||
from aqt.utils import (
|
from aqt.utils import (
|
||||||
|
Loading…
Reference in New Issue
Block a user