Skip to content

Commit 6af08e3

Browse files
committed
Add deprication message
1 parent e377520 commit 6af08e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,12 @@ def upload_images_from_public_urls_to_project(
547547
and not-uploaded images' urls
548548
:rtype: tuple of list of strs
549549
"""
550+
warning_msg = (
551+
"The upload_images_from_public_urls function is deprecated and will be removed with the coming release, "
552+
"please use attach_image_urls_to_project instead."
553+
)
554+
logger.warning(warning_msg)
555+
warnings.warn(warning_msg, DeprecationWarning)
550556

551557
project_name, folder_name = extract_project_folder(project)
552558

0 commit comments

Comments
 (0)