code: def db():
      if os.path.exists(DB_PATH):
          os.remove(DB_PATH)
  
      db = Database(dialect="sqlite", database=DB_PATH)
  
      # load cached ModelHub state. This database snapshot has one dataset
      # (pollution.csv) and two dataruns, one complete and one with 33/100
      # classifiers finished.
      db.from_csv(DB_CACHE_PATH)
  
      return db
  
file_path: ATM/tests/test_core.py
imports: import os
  import pytest
  from atm.core import ATM
  from atm.data import _get_local_path
  from atm.database import Database
label_desc: Use image node_id 1 for calling a global function with example usage: db() and returns: db