code: def document(db_type):
      """Return EphemeralDocument."""
      if db_type != "ephemeraldb":
          pytest.skip("ephemeraldb test only")
      yield EphemeralDocument(
          {"_id": 1, "hello": "there", "mighty": "duck"}
      )
  
imports: import pytest
  from orion.core.io.database import Database
  from orion.core.io.database.ephemeraldb import EphemeralCollection, EphemeralDB, EphemeralDocument
label_desc: Use image node_id 2 for calling a global function with example usage: document(db_type) without return types