class_docstr: Fake for CompetitionDatastoreClient.
class_docstr_tok: ["Fake","for","CompetitionDatastoreClient","."]
docstr: Starts datastore transaction.
docstr_tok: ["Starts","datastore","transaction","."]
code: def transaction(self):
      """Starts datastore transaction."""
      result = FakeDatastoreClientTransaction(self)
      if self._transaction_hook:
          self._transaction_hook(self)
          self._transaction_hook = None
      return result
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  from io import StringIO
  import six
label_desc: Use image node_id 6 for calling the FakeDatastoreClient obj's underlying member method code with example usage: obj.transaction() and returns: result