Skip to content

Clearing tags of an item doesn't work #2446

@MathieuLegault1

Description

@MathieuLegault1

Describe the bug
Hello,

When attemping to remove all tags from an item it unfortunately doesn't work. This is because it's missing the clearEmptyFields field on the request. I believe the update function should also accept a clearEmptyFields parameters for this one. Right now it can be provided with the item_properties but this isn't documented at all (and kind of counter-intuitive) since it isn't an item properties.

To Reproduce
Steps to reproduce the behavior:

item.update(item_properties={"tags": []})

Expected behavior
Expected to either work without the clearEmptyFields parameters or I have to provide the parameters somehow/somewhere

Platform (please complete the following information):

  • OS: Windows 11
  • Python API Version: 2.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions