Skip to content

Commit 2c75dfb

Browse files
committed
Code cleanup
1 parent 74bf115 commit 2c75dfb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

superannotate/db/project_images.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _copy_images(
179179
res['skipped'] += response.json()['skipped']
180180

181181
for image_name in image_names:
182-
_copy_metadata(
182+
_copy_annotations_and_metadata(
183183
source_project, source_project_folder, image_name,
184184
destination_project, destination_project_folder, image_name,
185185
include_annotations, copy_annotation_status, copy_pin
@@ -387,7 +387,7 @@ def copy_image(
387387
upload_image_to_project(
388388
(destination_project, destination_project_folder), img_b, new_name
389389
)
390-
_copy_metadata(
390+
_copy_annotations_and_metadata(
391391
source_project, source_project_folder, image_name, destination_project,
392392
destination_project_folder, new_name, include_annotations,
393393
copy_annotation_status, copy_pin
@@ -398,7 +398,7 @@ def copy_image(
398398
)
399399

400400

401-
def _copy_metadata(
401+
def _copy_annotations_and_metadata(
402402
source_project, source_project_folder, image_name, destination_project,
403403
destination_project_folder, new_name, include_annotations,
404404
copy_annotation_status, copy_pin

0 commit comments

Comments
 (0)