
    
                     H    S r SSKJr  SSKJr  SSKJr  SrS
S jrS\0rS rg	)a9  Runtime-config resource transforms and symbols dict.

NOTICE: Each TransformFoo() method is the implementation of a foo() transform
function. Even though the implementation here is in Python the usage in resource
projection and filter expressions is language agnostic. This affects the
Pythonicness of the Transform*() methods:
  (1) The docstrings are used to generate external user documentation.
  (2) The method prototypes are included in the documentation. In particular the
      prototype formal parameter names are stylized for the documentation.
  (3) The types of some args, like r, are not fixed until runtime. Other args
      may have either a base type value or string representation of that type.
      It is up to the transform implementation to silently do the string=>type
      conversions. That's why you may see e.g. int(arg) in some of the methods.
  (4) Unless it is documented to do so, a transform function must not raise any
      exceptions. The `undefined' arg is used to handle all unusual conditions,
      including ones that would raise exceptions.
    )absolute_import)division)unicode_literals   c                     [        U [        5      (       d  U$ U R                  S5      (       d  gU R                  S5      nU(       d  gUR                  S5      [        :X  a  gg)a  Returns a short description of the status of a waiter or waiter operation.

Status will be one of WAITING, SUCCESS, FAILURE, or TIMEOUT.

Args:
  r: a JSON-serializable object
  undefined: Returns this value if the resource status cannot be determined.

Returns:
  One of WAITING, SUCCESS, FAILURE, or TIMEOUT

Example:
  `--format="table(name, status())"`:::
  Displays the status in table column two.
doneWAITINGerrorSUCCESScodeTIMEOUTFAILURE)
isinstancedictgetDEADLINE_EXCEEDED)r	undefinedr
   s      7lib/googlecloudsdk/api_lib/runtime_config/transforms.pyTransformWaiterStatusr   *   sR      
At			
v
%%.%	
YYv++    waiter_statusc                      [         $ )zCReturns the runtimeconfig-specific resource transform symbol table.)_TRANSFORMS r   r   GetTransformsr   O   s    	r   N) )	__doc__
__future__r   r   r   r   r   r   r   r   r   r   <module>r       s7    $ '  '  B *
r   