class_docstr: Fake datastore key.
  
  Fake datastore key is represented as a list with flat path.
class_docstr_tok: ["Fake","datastore","key",".","Fake","datastore","key","is","represented","as","a","list","with","flat","path","."]
code: def __init__(self, *args, **kwargs):
      if "parent" not in kwargs:
          self._flat_path = args
      else:
          parent = kwargs["parent"]
          if not isinstance(parent, FakeDatastoreKey):
              raise ValueError(
                  "Invalid type of parent: " + str(type(parent))
              )
          self._flat_path = parent.flat_path + args
  
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 1 to create a new FakeDatastoreKey object from inherited base classes: object with example: obj = FakeDatastoreKey()