code: def insert_collections(request, orion_db, clean_db):
      """Drop a collection prior a test"""
      collections_data = (
          request.node.get_closest_marker("insert_collections").args[0]
          if request.node.get_closest_marker("insert_collections")
          else {}
      )
      for name, data in collections_data.items():
          clean_db[name].drop()
          clean_db[name].insert_many(data)
  
      dump_db(orion_db, clean_db)
  
      yield collections_data
  
      for name in collections_data.keys():
          clean_db[name].drop()
  
      dump_db(orion_db, clean_db)
  
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 7 for calling a global function with example usage: insert_collections(request, orion_db, clean_db) without return types