code: def table_actions(datasette, database, table, actor, request):
      async def inner():
          if actor:
              label = "From async"
              if request.args.get("_hello"):
                  label += " " + request.args["_hello"]
              return [
                  {"href": datasette.urls.instance(), "label": label}
              ]
  
      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 11 for calling a global function with example usage: table_actions(datasette, database, table, actor, request) and returns: inner, list