Enso_File.add_label
add_labellabel
Group: Metadata
Documentation
Adds a label to the file in Enso Cloud. If the label with the given name did not exist before, it is created with a random color associated with it. If you want to set a specific color, use Enso_File.create_label
before calling this method.
Arguments
label
: The name of the label to add to the file.
Returns
- The file on which it was called.
Remarks
Race Conditions
Adding labels is not atomic. If two processes are modifying labels of the same asset at the same time, some changes may be lost.