original_docstring: Set the consistency to use.
  
      Causes all data to be flushed.
  
      Args:
        policy: A obj inheriting from BaseConsistencyPolicy.
      
docstring: Set the consistency to use.
  Causes all data to be flushed.
docstring_tokens: Set the consistency to use . Causes all data to be flushed .
code: def SetConsistencyPolicy(self, policy):
      """Set the consistency to use.
  
      Causes all data to be flushed.
  
      Args:
        policy: A obj inheriting from BaseConsistencyPolicy.
      """
      if not isinstance(policy, BaseConsistencyPolicy):
        raise TypeError('policy should be of type '
                        'datastore_stub_util.BaseConsistencyPolicy found %r.' %
                        (policy,))
      self.Flush()
      self._consistency_policy = policy
code_tokens: def SetConsistencyPolicy ( self , policy ) : if not isinstance ( policy , BaseConsistencyPolicy ) : raise TypeError ( 'policy should be of type ' 'datastore_stub_util.BaseConsistencyPolicy found %r.' % ( policy , ) ) self . Flush ( ) self . _consistency_policy = policy
short_docstring: Set the consistency to use.
short_docstring_tokens: Set the consistency to use .
comment: """Set the consistency to use.
  
      Causes all data to be flushed.
  
      Args:
        policy: A obj inheriting from BaseConsistencyPolicy.
      """