code: def startup(datasette):
      async def inner():
          # Run against _internal so tests that use the ds_client fixture
          # (which has no databases yet on startup) do not fail:
          internal_db = datasette.get_internal_database()
          result = await internal_db.execute("select 1 + 1")
          datasette._startup_hook_calculation = result.first()[0]
  
      return inner
  
file_path: datasette/tests/plugins/my_plugin_2.py
imports: from datasette import hookimpl
  from datasette.utils.asgi import Response
  from functools import wraps
  import markupsafe
  import json
label_desc: Use image node_id 8 for calling a global function with example usage: startup(datasette) and returns: inner