@@ -1088,7 +1088,12 @@ def search_team_contributors(
10881088 :return: metadata of found users
10891089 :rtype: list of dicts
10901090 """
1091-
1091+ warnings .warn (
1092+ "This function search_team_contributors() will be deprecated and removed in version 4.6.0\n "
1093+ "Recommended replacement: get_user_metadata() or list_users()" ,
1094+ DeprecationWarning ,
1095+ stacklevel = 2
1096+ )
10921097 contributors = self .controller .search_team_contributors (
10931098 email = email , first_name = first_name , last_name = last_name
10941099 ).data
@@ -1124,6 +1129,13 @@ def search_projects(
11241129 :return: project names or metadatas
11251130 :rtype: list of strs or dicts
11261131 """
1132+ warnings .warn (
1133+ "This function search_projects() will be deprecated and removed in version 4.6.0\n "
1134+ "Recommended replacement: get_project_metadata() or list_projects()" ,
1135+ DeprecationWarning ,
1136+ stacklevel = 2
1137+ )
1138+
11271139 statuses = []
11281140 if status :
11291141 if isinstance (status , (list , tuple , set )):
@@ -3949,6 +3961,12 @@ def search_items(
39493961 }
39503962 ]
39513963 """
3964+ warnings .warn (
3965+ "This function search_items() will be deprecated and removed in version 4.6.0\n "
3966+ "Recommended replacement: get_item_metadata() or list_items()" ,
3967+ DeprecationWarning ,
3968+ stacklevel = 2
3969+ )
39523970 project , folder = self .controller .get_project_folder (project )
39533971 query_kwargs = {"include" : ["assignments" ]}
39543972 if name_contains :
@@ -4355,7 +4373,7 @@ def attach_items(
43554373 if annotation_status is not None :
43564374 warnings .warn (
43574375 DeprecationWarning (
4358- "The “keep_status” parameter is deprecated. "
4376+ "The “keep_status” parameter is deprecated."
43594377 "Please use the “set_annotation_statuses” function instead."
43604378 )
43614379 )
0 commit comments