pull/1789/head
Simon Willison 2022-08-18 09:10:48 -07:00
rodzic a3e6f1b167
commit 09a41662e7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -874,7 +874,7 @@ canned_queries(datasette, database, actor)
``actor`` - dictionary or None
The currently authenticated :ref:`actor <authentication_actor>`.
Ues this hook to return a dictionary of additional :ref:`canned query <canned_queries>` definitions for the specified database. The return value should be the same shape as the JSON described in the :ref:`canned query <canned_queries>` documentation.
Use this hook to return a dictionary of additional :ref:`canned query <canned_queries>` definitions for the specified database. The return value should be the same shape as the JSON described in the :ref:`canned query <canned_queries>` documentation.
.. code-block:: python