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 aa6583cdd1
commit b05c9d1598
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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