mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
anki.exporter takes extra argument cids
This commit is contained in:
parent
d8669835d8
commit
9fdc885d82
1 changed files with 9 additions and 1 deletions
|
@ -21,9 +21,17 @@ from anki.utils import ids2str, namedtmp, splitFields, stripHTML
|
||||||
class Exporter:
|
class Exporter:
|
||||||
includeHTML: Union[bool, None] = None
|
includeHTML: Union[bool, None] = None
|
||||||
|
|
||||||
def __init__(self, col: _Collection, did: None = None) -> None:
|
did: Optional[int]
|
||||||
|
|
||||||
|
def __init__(
|
||||||
|
self,
|
||||||
|
col: _Collection,
|
||||||
|
did: Optional[int] = None,
|
||||||
|
cids: Optional[List[int]] = None,
|
||||||
|
) -> None:
|
||||||
self.col = col
|
self.col = col
|
||||||
self.did = did
|
self.did = did
|
||||||
|
self.cids = cids
|
||||||
|
|
||||||
def doExport(self, path) -> None:
|
def doExport(self, path) -> None:
|
||||||
raise Exception("not implemented")
|
raise Exception("not implemented")
|
||||||
|
|
Loading…
Reference in a new issue