@@ -615,14 +615,12 @@ def create_batch(self, name: str, data_rows: List[str], priority: int = 5):
615615 res ['size' ] = len (dr_ids )
616616 return Entity .Batch (self .client , self .uid , res )
617617
618- def _update_queue_mode (self ,
619- mode : "QueueMode" ) -> "QueueMode" :
620-
618+ def _update_queue_mode (self , mode : "QueueMode" ) -> "QueueMode" :
621619 """
622620 Updates the queueing mode of this project.
623621
624- This method is deprecated. Going forward, projects must go through a
625- migration to have the queue mode changed. Users should specify the
622+ Deprecation notice: This method is deprecated. Going forward, projects must
623+ go through a migration to have the queue mode changed. Users should specify the
626624 queue mode for a project during creation if a non-default mode is desired.
627625
628626 Args:
@@ -632,6 +630,10 @@ def _update_queue_mode(self,
632630
633631 """
634632
633+ logger .warning (
634+ "Updating the queue_mode for a project will soon no longer be supported."
635+ )
636+
635637 if self .queue_mode == mode :
636638 return mode
637639
@@ -661,16 +663,20 @@ def _update_queue_mode(self,
661663
662664 def get_queue_mode (self ) -> "QueueMode" :
663665 """
664- Provides the status of if queue mode is enabled in the project.
666+ Provides the queue mode used for this project.
665667
666- This method is deprecated and will be removed in a future version. To obtain
667- the queue mode of a project, simply refer to the queue_mode attribute of a
668- Project.
668+ Deprecation notice: This method is deprecated and will be removed in
669+ a future version. To obtain the queue mode of a project, simply refer
670+ to the queue_mode attribute of a Project.
669671
670672 Returns: the QueueMode for this project
671673
672674 """
673675
676+ logger .warning (
677+ "Obtaining the queue_mode for a project through this method will soon"
678+ " no longer be supported." )
679+
674680 query_str = """query %s($projectId: ID!) {
675681 project(where: {id: $projectId}) {
676682 tagSetStatus
0 commit comments