File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -630,6 +630,15 @@ def create_project(self, **kwargs) -> Project:
630630 f" any of { MediaType .get_supported_members ()} "
631631 " from MediaType. Example: MediaType.Image." )
632632
633+ queue_mode = kwargs .get ("queue_mode" )
634+ auto_audit_number_of_labels = kwargs .get ("auto_audit_number_of_labels" )
635+ auto_audit_percentage = kwargs .get ("auto_audit_percentage" )
636+ if not queue_mode or not auto_audit_number_of_labels or not auto_audit_percentage :
637+ logger .warning (
638+ "Creating a project without specifying all of queue_mode, auto_audit_number_of_labels"
639+ " and auto_audit_percentage through this method will soon no longer be supported."
640+ )
641+
633642 return self ._create (Entity .Project , kwargs )
634643
635644 def get_roles (self ) -> List [Role ]:
You can’t perform that action at this time.
0 commit comments