File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -633,15 +633,10 @@ def create_project(self, **kwargs) -> Project:
633633 raise TypeError (f"{ media_type } is not a valid media type. Use"
634634 f" any of { MediaType .get_supported_members ()} "
635635 " from MediaType. Example: MediaType.Image." )
636-
637- queue_mode = kwargs .get ("queue_mode" )
638- auto_audit_number_of_labels = kwargs .get ("auto_audit_number_of_labels" )
639- auto_audit_percentage = kwargs .get ("auto_audit_percentage" )
640- if not queue_mode or not auto_audit_number_of_labels or not auto_audit_percentage :
636+ else :
641637 logger .warning (
642- "Creating a project without specifying all of queue_mode, auto_audit_number_of_labels"
643- " and auto_audit_percentage through this method will soon no longer be supported."
644- )
638+ "Creating a project without specifying media_type"
639+ " through this method will soon no longer be supported." )
645640
646641 return self ._create (Entity .Project , kwargs )
647642
You can’t perform that action at this time.
0 commit comments