From 9c1f8621eb9f339fc0ba59bb6e6ca2cb77942fb0 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 23 May 2026 16:59:45 -0700 Subject: [PATCH] Request is always set for jump_items_sql() hook --- docs/plugin_hooks.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plugin_hooks.rst b/docs/plugin_hooks.rst index 71d429ac..5a0c8af1 100644 --- a/docs/plugin_hooks.rst +++ b/docs/plugin_hooks.rst @@ -1892,8 +1892,8 @@ jump_items_sql(datasette, actor, request) ``actor`` - dictionary or None The currently authenticated :ref:`actor `. -``request`` - :ref:`internals_request` or None - The current HTTP request. This can be ``None`` if the request object is not available. +``request`` - :ref:`internals_request` + The current HTTP request. This hook allows plugins to add extra results to Datasette's ``/`` jump menu, which is powered by the ``/-/jump`` JSON endpoint.