original_docstring:  Decorator that will "pause', i.e. short circuit and return immediately before calling
      the decorated handler, if the PAUSE environment variable is set.
  
      Args:
          handler (func): a handler function with the signature (event, context) -> result
  
      Returns:
          handler (func): a pausable lambda handler
      
docstring: Decorator that will "pause', i.e. short circuit and return immediately before calling
  the decorated handler, if the PAUSE environment variable is set.
docstring_tokens: Decorator that will " pause ' i . e . short circuit and return immediately before calling the decorated handler if the PAUSE environment variable is set .
code: def pausable(handler):
      """ Decorator that will "pause', i.e. short circuit and return immediately before calling
      the decorated handler, if the PAUSE environment variable is set.
  
      Args:
          handler (func): a handler function with the signature (event, context) -> result
  
      Returns:
          handler (func): a pausable lambda handler
      """
      @environ_aware([], ['PAUSE'])
      def handler_wrapper(event, context, **kwargs):
          if kwargs.get('PAUSE'):
              logger.warning('Function paused')
              return {'statusCode': 503, 'body': 'info: paused'}
          return handler(event, context, **kwargs)
      return handler_wrapper
code_tokens: def pausable ( handler ) : @ environ_aware ( [ ] , [ 'PAUSE' ] ) def handler_wrapper ( event , context , ** kwargs ) : if kwargs . get ( 'PAUSE' ) : logger . warning ( 'Function paused' ) return { 'statusCode' : 503 , 'body' : 'info: paused' } return handler ( event , context , ** kwargs ) return handler_wrapper
short_docstring: Decorator that will "pause', i.e.
short_docstring_tokens: Decorator that will " pause ' i . e .
comment: """ Decorator that will "pause', i.e. short circuit and return immediately before calling
      the decorated handler, if the PAUSE environment variable is set.
  
      Args:
          handler (func): a handler function with the signature (event, context) -> result
  
      Returns:
          handler (func): a pausable lambda handler
      """