remove_claims#

wikibaseintegrator.wbi_helpers.remove_claims(claim_id, summary=None, baserevid=None, is_bot=False, tags=None, **kwargs)[source]#

Delete a claim from an entity

Parameters:
  • claim_id (str) – One GUID or several (pipe-separated) GUIDs identifying the claims to be removed. All claims must belong to the same entity.

  • summary (str | None, default: None) – Summary for the edit. Will be prepended by an automatically generated comment.

  • baserevid (int | None, default: None) – The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

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

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

Return type:

dict