code: def db_connection(dvc, db_path):
      with dvc.config.edit(level="local") as conf:
          conf["db"] = {"conn": {"url": f"sqlite:///{db_path.fs_path}"}}
      return "conn"
  
file_path: dvc/tests/func/test_import_db.py
imports: import os
  import sqlite3
  from contextlib import closing
  import pandas
  import pytest
  from funcy import compact
label_desc: Use image node_id 3 for calling a global function with example usage: db_connection(dvc, db_path) and returns: str