code: def seed_db(db_path):
      conn = sqlite3.connect(db_path)
      conn.execute(
          "CREATE TABLE model (id INTEGER PRIMARY KEY, value INTEGER)"
      )
  
      def inner(values):
          conn.executemany(
              "INSERT INTO model(value) VALUES(?)",
              [(i,) for i in values],
          )
          conn.commit()
  
      with closing(conn):
          yield inner
  
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 2 for calling a global function with example usage: seed_db(db_path) without return types