code: def skip_if_not_db_type(request, db_type):
      """Skip test if th database type does no match the database type marker"""
      db_types_only = request.node.get_closest_marker("db_types_only")
      if db_types_only and db_type not in db_types_only.args[0]:
          pytest.skip(f"{db_types_only.args[0]} test only")
  
imports: import os
  from datetime import datetime
  import pytest
  from orion.core.io.database import Database
  from orion.core.io.database.ephemeraldb import EphemeralDB
  from orion.core.io.database.mongodb import MongoDB
  from orion.core.io.database.pickleddb import PickledDB
label_desc: Use image node_id 9 for calling a global function with example usage: skip_if_not_db_type(request, db_type) without return types