def _assign_tag_to_object(project_id, figure_id, tag_meta):
    project_tag_meta: sly.TagMeta = _get_or_create_tag_meta(project_id, tag_meta)
    g.api.advanced.add_tag_to_object(project_tag_meta.sly_id, figure_id)
def _assign_tag_to_object(project_id, figure_id, tag_meta):
    project_tag_meta: sly.TagMeta = _get_or_create_tag_meta(project_id, tag_meta)
    g.api.advanced.add_tag_to_object(project_tag_meta.sly_id, figure_id)