code: def __init__(self, datasette):
      self.ds = datasette
  
imports: import asyncio
  import csv
  import hashlib
  import sys
  import textwrap
  import time
  import urllib
  from markupsafe import escape
  import pint
  from datasette import __version__
  from datasette.database import QueryInterrupted
  from datasette.utils.asgi import Request
  from datasette.utils import add_cors_headers, await_me_maybe, EscapeHtmlWriter, InvalidSql, LimitedWriter, call_with_supported_arguments, path_from_row_pks, path_with_added_args, path_with_removed_args, path_with_format, sqlite3
  from datasette.utils.asgi import AsgiStream, NotFound, Response, BadRequest
label_desc: Use image node_id 1 to create a new BaseView object  with example: obj = BaseView(datasette)