lexeme_edit_form#

wikibaseintegrator.wbi_helpers.lexeme_edit_form(form_id, data, baserevid=None, tags=None, is_bot=False, **kwargs)[source]#

Edits representations and grammatical features of a Form

Parameters:
  • form_id (str) – ID of the Form or the concept URI, e.g. L10-F2

  • data (dict) – The serialized object that is used as the data source.

  • baserevid (int | None, default: None) – Base Revision ID of the Lexeme, if edit conflict check is wanted.

  • tags (list[str] | None, default: None) – Change tags to apply to the revision.

  • is_bot (bool, default: False) – Mark this edit as bot.

  • kwargs (Any)

Return type:

dict

Returns: