@@ -418,7 +418,7 @@ def upload_video_to_project(
418418 limit = _get_available_image_counts (project , folder )
419419
420420 upload_state = common .upload_state_int_to_str (project .get ("upload_state" ))
421- project_type = common . project_type_int_to_str ( project .get ("type" ) )
421+ project_type = project .get ("type" )
422422
423423 if upload_state == "External" :
424424 raise SABaseException (
@@ -520,7 +520,7 @@ def upload_videos_from_folder_to_project(
520520 """
521521 project , folder = get_project_and_folder_metadata (project )
522522 upload_state = common .upload_state_int_to_str (project .get ("upload_state" ))
523- project_type = common . project_type_int_to_str ( project .get ("type" ) )
523+ project_type = project .get ("type" )
524524
525525 if upload_state == "External" :
526526 raise SABaseException (
@@ -833,7 +833,7 @@ def upload_images_from_public_urls_to_project(
833833 path_to_url = {}
834834 project , project_folder = get_project_and_folder_metadata (project )
835835 upload_state = common .upload_state_int_to_str (project .get ("upload_state" ))
836- project_type = common . upload_state_int_to_str ( project .get ('type' ) )
836+ project_type = project .get ('type' )
837837 if upload_state == "External" :
838838 raise SABaseException (
839839 0 ,
@@ -943,7 +943,7 @@ def upload_images_from_google_cloud_to_project(
943943 path_to_url = {}
944944 project , project_folder = get_project_and_folder_metadata (project )
945945 upload_state = common .upload_state_int_to_str (project .get ("upload_state" ))
946- project_type = common . project_type_int_to_str ( project .get ("type" ) )
946+ project_type = project .get ("type" )
947947
948948 if upload_state == "External" :
949949 raise SABaseException (
@@ -1029,7 +1029,7 @@ def upload_images_from_azure_blob_to_project(
10291029 path_to_url = {}
10301030 project , project_folder = get_project_and_folder_metadata (project )
10311031 upload_state = common .upload_state_int_to_str (project .get ("upload_state" ))
1032- project_type = common . project_type_int_to_str ( project .get ('type' ) )
1032+ project_type = project .get ('type' )
10331033 if upload_state == "External" :
10341034 raise SABaseException (
10351035 0 ,
0 commit comments