original_docstring: A decorator for DatastoreStub methods that require or affect indexes.
  
    Updates indexes to match index.yaml before the call and updates index.yaml
    after the call if require_indexes is False. If root_path is not set, this is a
    no op.
    
docstring: A decorator for DatastoreStub methods that require or affect indexes.
  Updates indexes to match index.yaml before the call and updates index.yaml
  after the call if require_indexes is False. If root_path is not set, this is a
  no op.
docstring_tokens: A decorator for DatastoreStub methods that require or affect indexes . Updates indexes to match index . yaml before the call and updates index . yaml after the call if require_indexes is False . If root_path is not set this is a no op .
code: def _NeedsIndexes(func):
    """A decorator for DatastoreStub methods that require or affect indexes.
  
    Updates indexes to match index.yaml before the call and updates index.yaml
    after the call if require_indexes is False. If root_path is not set, this is a
    no op.
    """
  
    def UpdateIndexesWrapper(self, *args, **kwargs):
      self._SetupIndexes()
      try:
        return func(self, *args, **kwargs)
      finally:
        self._UpdateIndexes()
  
    return UpdateIndexesWrapper
code_tokens: def _NeedsIndexes ( func ) : def UpdateIndexesWrapper ( self , * args , ** kwargs ) : self . _SetupIndexes ( ) try : return func ( self , * args , ** kwargs ) finally : self . _UpdateIndexes ( ) return UpdateIndexesWrapper
short_docstring: A decorator for DatastoreStub methods that require or affect indexes.
short_docstring_tokens: A decorator for DatastoreStub methods that require or affect indexes .
comment: """A decorator for DatastoreStub methods that require or affect indexes.
  
    Updates indexes to match index.yaml before the call and updates index.yaml
    after the call if require_indexes is False. If root_path is not set, this is a
    no op.
    """