code: def subdocument(db_type):
      """Return EphemeralDocument with a subdocument."""
      if db_type != "ephemeraldb":
          pytest.skip("ephemeraldb test only")
      yield EphemeralDocument(
          {
              "_id": 1,
              "hello": "there",
              "mighty": "duck",
              "and": {"the": "drake"},
          }
      )
  
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 3 for calling a global function with example usage: subdocument(db_type) without return types