@@ -249,13 +249,13 @@ async def create_container(
249249 "The 'session_token' flag does not apply to this method and is always ignored even if passed."
250250 " It will now be removed in the future." ,
251251 DeprecationWarning )
252- etag = kwargs .get ('etag' )
252+ etag = kwargs .get (Constants . Kwargs . ETAG )
253253 if etag is not None :
254254 warnings .warn (
255255 "The 'etag' flag does not apply to this method and is always ignored even if passed."
256256 " It will now be removed in the future." ,
257257 DeprecationWarning )
258- match_condition = kwargs .get ('match_condition' )
258+ match_condition = kwargs .get (Constants . Kwargs . MATCH_CONDITION )
259259 if match_condition is not None :
260260 warnings .warn (
261261 "The 'match_condition' flag does not apply to this method and is always ignored even if passed."
@@ -368,13 +368,13 @@ async def create_container_if_not_exists(
368368 "The 'session_token' flag does not apply to this method and is always ignored even if passed."
369369 " It will now be removed in the future." ,
370370 DeprecationWarning )
371- etag = kwargs .get ('etag' )
371+ etag = kwargs .get (Constants . Kwargs . ETAG )
372372 if etag is not None :
373373 warnings .warn (
374374 "The 'etag' flag does not apply to this method and is always ignored even if passed."
375375 " It will now be removed in the future." ,
376376 DeprecationWarning )
377- match_condition = kwargs .get ('match_condition' )
377+ match_condition = kwargs .get (Constants . Kwargs . MATCH_CONDITION )
378378 if match_condition is not None :
379379 warnings .warn (
380380 "The 'match_condition' flag does not apply to this method and is always ignored even if passed."
@@ -474,7 +474,7 @@ def list_containers(
474474 kwargs [Constants .Kwargs .INITIAL_HEADERS ] = initial_headers
475475 feed_options = _build_options (kwargs )
476476 if max_item_count is not None :
477- feed_options ["maxItemCount" ] = max_item_count
477+ feed_options [Constants . InternalOptions . MAX_ITEM_COUNT ] = max_item_count
478478
479479 result = self .client_connection .ReadContainers (
480480 database_link = self .database_link , options = feed_options , ** kwargs
@@ -519,7 +519,7 @@ def query_containers(
519519 kwargs [Constants .Kwargs .INITIAL_HEADERS ] = initial_headers
520520 feed_options = _build_options (kwargs )
521521 if max_item_count is not None :
522- feed_options ["maxItemCount" ] = max_item_count
522+ feed_options [Constants . InternalOptions . MAX_ITEM_COUNT ] = max_item_count
523523
524524 result = self .client_connection .QueryContainers (
525525 database_link = self .database_link ,
@@ -593,13 +593,13 @@ async def replace_container(
593593 "The 'session_token' flag does not apply to this method and is always ignored even if passed."
594594 " It will now be removed in the future." ,
595595 DeprecationWarning )
596- etag = kwargs .get ('etag' )
596+ etag = kwargs .get (Constants . Kwargs . ETAG )
597597 if etag is not None :
598598 warnings .warn (
599599 "The 'etag' flag does not apply to this method and is always ignored even if passed."
600600 " It will now be removed in the future." ,
601601 DeprecationWarning )
602- match_condition = kwargs .get ('match_condition' )
602+ match_condition = kwargs .get (Constants . Kwargs . MATCH_CONDITION )
603603 if match_condition is not None :
604604 warnings .warn (
605605 "The 'match_condition' flag does not apply to this method and is always ignored even if passed."
@@ -662,13 +662,13 @@ async def delete_container(
662662 "The 'session_token' flag does not apply to this method and is always ignored even if passed."
663663 " It will now be removed in the future." ,
664664 DeprecationWarning )
665- etag = kwargs .get ('etag' )
665+ etag = kwargs .get (Constants . Kwargs . ETAG )
666666 if etag is not None :
667667 warnings .warn (
668668 "The 'etag' flag does not apply to this method and is always ignored even if passed."
669669 " It will now be removed in the future." ,
670670 DeprecationWarning )
671- match_condition = kwargs .get ('match_condition' )
671+ match_condition = kwargs .get (Constants . Kwargs . MATCH_CONDITION )
672672 if match_condition is not None :
673673 warnings .warn (
674674 "The 'match_condition' flag does not apply to this method and is always ignored even if passed."
@@ -768,7 +768,7 @@ def list_users(
768768 """
769769 feed_options = _build_options (kwargs )
770770 if max_item_count is not None :
771- feed_options ["maxItemCount" ] = max_item_count
771+ feed_options [Constants . InternalOptions . MAX_ITEM_COUNT ] = max_item_count
772772
773773 result = self .client_connection .ReadUsers (
774774 database_link = self .database_link , options = feed_options , ** kwargs
@@ -804,7 +804,7 @@ def query_users(
804804 """
805805 feed_options = _build_options (kwargs )
806806 if max_item_count is not None :
807- feed_options ["maxItemCount" ] = max_item_count
807+ feed_options [Constants . InternalOptions . MAX_ITEM_COUNT ] = max_item_count
808808
809809 result = self .client_connection .QueryUsers (
810810 database_link = self .database_link ,
0 commit comments