code: def drop_collections(request, orion_db):
      """Drop a collection prior a test"""
      db = get_db(orion_db)
      collections = (
          request.node.get_closest_marker("drop_collections").args[0]
          if request.node.get_closest_marker("drop_collections")
          else tuple()
      )
      for collection in collections:
          db[collection].drop()
      yield
      for collection in collections:
          db[collection].drop()
  
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 8 for calling a global function with example usage: drop_collections(request, orion_db) without return types