code: def canned_queries(datasette, database, actor):
      return {
          "from_hook": f"select 1, '{actor['id'] if actor else 'null'}' as actor_id"
      }
  
imports: import asyncio
  from datasette import hookimpl, Permission
  from datasette.facets import Facet
  from datasette import tracer
  from datasette.utils import path_with_added_args
  from datasette.utils.asgi import asgi_send_json, Response
  import base64
  import pint
  import json
label_desc: Use image node_id 14 for calling a global function with example usage: canned_queries(datasette, database, actor) and returns: dict