code: def table_actions(datasette, database, table, actor):
      if actor:
          return [
              {
                  "href": datasette.urls.instance(),
                  "label": f"Database: {database}",
              },
              {
                  "href": datasette.urls.instance(),
                  "label": f"Table: {table}",
              },
          ]
  
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 18 for calling a global function with example usage: table_actions(datasette, database, table, actor) and returns: list