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

View file

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