class_docstr: Fake for CompetitionDatastoreClient.
class_docstr_tok: ["Fake","for","CompetitionDatastoreClient","."]
docstr: Gets an entity with given key.
docstr_tok: ["Gets","an","entity","with","given","key","."]
code: def get(self, key, transaction=None):
      """Gets an entity with given key."""
      assert isinstance(key, FakeDatastoreKey)
      if transaction:
          return transaction.get(key)
      return copy.deepcopy(self._entities.get(key))
  
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 FakeDatastoreClient obj's underlying member method code with example usage: obj.get(key, transaction) and returns: copy, transaction