Skip to content

Commit 7144da7

Browse files
committed
Remove required queue_mode & quality settings
1 parent 019fbae commit 7144da7

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

labelbox/client.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)