code: def __init__(
      self, db_file: type(defaults.db_file) = defaults.db_file, **_
  ):
      os.makedirs(db_file.parent, exist_ok=True)
      self.db_file = db_file
  
file_path: nboost/nboost/database.py
imports: import os
  import time
  from typing import Optional
  from sqlite3 import Cursor
  import sqlite3
  from nboost import defaults
label_desc: Use image node_id 1 to create a new Database object  with example: obj = Database(db_file)