code: def db_type(pytestconfig, request):
      """Return the string identifier of a EphemeralDB if the --mongodb option is
      not active"""
      if pytestconfig.getoption("--mongodb"):
          pytest.skip("ephemeraldb tests disabled")
      yield "ephemeraldb"
  
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 1 for calling a global function with example usage: db_type(pytestconfig, request) without return types