Fix change_notetype_of_notes's docstring (#3304)

This commit is contained in:
Abdo 2024-07-21 11:26:10 +03:00 committed by GitHub
parent f99f3d5865
commit 55fed69801

View file

@ -389,8 +389,8 @@ and notes.mid = ? and cards.ord = ?""",
To get defaults, use
input = ChangeNotetypeRequest()
input.ParseFromString(col.models.change_notetype_info(...))
info = col.models.change_notetype_info(...)
input = info.input
input.note_ids.extend([...])
The new_fields and new_templates lists are relative to the new notetype's