From 4745b55d27b4fb016ac2c558aed3c9d76be16d7a Mon Sep 17 00:00:00 2001 From: RumovZ Date: Sat, 30 Jan 2021 12:59:18 +0100 Subject: [PATCH] Revert addition of pb.NoteIDs --- pylib/anki/collection.py | 1 - pylib/anki/rsbackend.py | 1 - rslib/backend.proto | 4 ---- 3 files changed, 6 deletions(-) diff --git a/pylib/anki/collection.py b/pylib/anki/collection.py index 994ef93b1..55c3f5cf9 100644 --- a/pylib/anki/collection.py +++ b/pylib/anki/collection.py @@ -33,7 +33,6 @@ from anki.rsbackend import ( # pylint: disable=unused-import DBError, FormatTimeSpanContext, InvalidInput, - NoteIDs, Progress, RustBackend, pb, diff --git a/pylib/anki/rsbackend.py b/pylib/anki/rsbackend.py index 15fbde7f5..5ccaa2b1a 100644 --- a/pylib/anki/rsbackend.py +++ b/pylib/anki/rsbackend.py @@ -47,7 +47,6 @@ TagTreeNode = pb.TagTreeNode NoteType = pb.NoteType DeckTreeNode = pb.DeckTreeNode StockNoteType = pb.StockNoteType -NoteIDs = pb.NoteIDs BackendNoteTypeID = pb.NoteTypeID ConcatSeparator = pb.ConcatenateSearchesIn.Separator SyncAuth = pb.SyncAuth diff --git a/rslib/backend.proto b/rslib/backend.proto index cdb4aa988..d3d023f7a 100644 --- a/rslib/backend.proto +++ b/rslib/backend.proto @@ -50,10 +50,6 @@ message NoteID { int64 nid = 1; } -message NoteIDs { - repeated int64 nids = 1; -} - message CardID { int64 cid = 1; }