mirror of https://github.com/CIRCL/AIL-framework
fix: [tags] debug
parent
4b21cc2939
commit
f95d32d6dc
|
@ -1473,7 +1473,7 @@ def _fix_tag_obj_id():
|
||||||
print(new_tag)
|
print(new_tag)
|
||||||
raw = get_obj_by_tags(obj_type, [new_tag], nb_obj=500000)
|
raw = get_obj_by_tags(obj_type, [new_tag], nb_obj=500000)
|
||||||
for obj_id in raw.get('tagged_obj', []):
|
for obj_id in raw.get('tagged_obj', []):
|
||||||
print(obj_id)
|
# print(obj_id)
|
||||||
delete_object_tag(tag, obj_type, obj_id)
|
delete_object_tag(tag, obj_type, obj_id)
|
||||||
add_object_tag(new_tag, obj_type, obj_id)
|
add_object_tag(new_tag, obj_type, obj_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue