class_docstr: Fake for datastore transaction.
  
  See https://cloud.google.com/datastore/docs/concepts/transactions
  for details of how transactions work in Cloud Datastore.
class_docstr_tok: ["Fake","for","datastore","transaction",".","See","https",":","\/\/cloud.google.com\/datastore\/docs\/concepts\/transactions","for","details","of","how","transactions","work","in","Cloud","Datastore","."]
docstr: Puts entity to datastore.
docstr_tok: ["Puts","entity","to","datastore","."]
code: def put(self, entity):
      """Puts entity to datastore."""
      assert isinstance(entity, FakeDatastoreEntity)
      self._check_transaction_started()
      self._mutations.append(copy.deepcopy(entity))
  
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 7 for calling the FakeDatastoreClientTransaction obj's underlying member method code with example usage: obj.put(entity) without return types