You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently cache labels on memory, and when adding new labels we are not adding them to that cache. So either we remove that cache and always query the backend for labels or we add the labels to the cache when creating a new one.
It would be nice to have a project.get_labels() function that can give us a list of the labes in the project.
When adding a new label, it would be nice to add a flag to check for duplicates as default. The user can explicitly deactivate it if he wants to create duplicate labels on the project. We already 99% of this done in the label_new function but this is not considering new labels created on the script. So maybe we'll need to add get_label_file_dict in here.
There is no way to delete labels using the SDK
The get_label_file_dict is just returing the first label with the name. But in the case of duplicates there is no way to know what are the 2 label ids associated with the same name.
The text was updated successfully, but these errors were encountered:
Current issues with labels:
label_new
function but this is not considering new labels created on the script. So maybe we'll need to addget_label_file_dict
in here.get_label_file_dict
is just returing the first label with the name. But in the case of duplicates there is no way to know what are the 2 label ids associated with the same name.The text was updated successfully, but these errors were encountered: