Apply blacken-docs

This commit is contained in:
Simon Willison 2024-06-21 16:39:42 -07:00
commit 5cac74c4ac
2 changed files with 2 additions and 4 deletions

View file

@ -210,8 +210,7 @@ To set cookies on the response, use the ``response.set_cookie(...)`` method. The
secure=False,
httponly=False,
samesite="lax",
):
...
): ...
You can use this with :ref:`datasette.sign() <datasette_sign>` to set signed cookies. Here's how you would set the :ref:`ds_actor cookie <authentication_ds_actor>` for use with Datasette :ref:`authentication <authentication>`:

View file

@ -373,8 +373,7 @@ Let's say you want to build a plugin that adds a ``datasette publish my_hosting_
about,
about_url,
api_key,
):
...
): ...
Examples: `datasette-publish-fly <https://datasette.io/plugins/datasette-publish-fly>`_, `datasette-publish-vercel <https://datasette.io/plugins/datasette-publish-vercel>`_