File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -626,6 +626,7 @@ def create_project(self, **kwargs) -> Project:
626626 any of the attribute names given in kwargs.
627627 """
628628 media_type = kwargs .get ("media_type" )
629+ queue_mode = kwargs .get ("queue_mode" )
629630 if media_type :
630631 if MediaType .is_supported (media_type ):
631632 kwargs ["media_type" ] = media_type .value
@@ -638,6 +639,12 @@ def create_project(self, **kwargs) -> Project:
638639 "Creating a project without specifying media_type"
639640 " through this method will soon no longer be supported." )
640641
642+ if not queue_mode :
643+ logger .warning (
644+ "Default createProject behavior will soon be adjusted to prefer"
645+ "batch projects. Pass in `queue_mode` parameter explicitly to opt-out for the"
646+ "time being." )
647+
641648 return self ._create (Entity .Project , kwargs )
642649
643650 def get_roles (self ) -> List [Role ]:
You can’t perform that action at this time.
0 commit comments