class_docstr: Non permanent document
  
  This document is meant for debugging purposes within the EphemeralDB.
  
  .. seealso:: :class:`orion.core.io.database.ephemeraldb.EphemeralDB` for database object.
class_docstr_tok: ["Non","permanent","document","This","document","is","meant","for","debugging","purposes","within","the","EphemeralDB",".","..","seealso",":",":",":","class",":","`","orion.core.io.database.ephemeraldb.EphemeralDB","`","for","database","object","."]
docstr: Initialise the document with a flattened version of the data
docstr_tok: ["Initialise","the","document","with","a","flattened","version","of","the","data"]
code: def __init__(self, data):
      """Initialise the document with a flattened version of the data"""
      self._data = flatten(data)
  
imports: import copy
  from collections import defaultdict
  from orion.core.io.database import Database, DatabaseError, DuplicateKeyError
  from orion.core.utils.flatten import flatten, unflatten
label_desc: Use image node_id 1 to create a new EphemeralDocument object  with example: obj = EphemeralDocument(data)