code: def __init__(self, pairs, units=None, ureg=None):
      if units is None:
          units = {}
      self.pairs = pairs
      self.units = units
      self.ureg = ureg
  
imports: from datasette import hookimpl
  from datasette.views.base import DatasetteError
  from datasette.utils.asgi import BadRequest
  import json
  import numbers
  from .utils import detect_json1, escape_sqlite, path_with_removed_args
label_desc: Use image node_id 1 to create a new Filters object  with example: obj = Filters(pairs, units, ureg)