code: def __init__(self, db):
      self._db = db
  
imports: import logging
  import os
  import sqlite3
  from guild import run_util
  from guild import tfevent
  from guild import util
  from guild import var
label_desc: Use image node_id 1 to create a new ScalarReader object  with example: obj = ScalarReader(db)