mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
blacken-docs, refs #2441
This commit is contained in:
parent
dce718961c
commit
e85517dab3
1 changed files with 1 additions and 0 deletions
|
|
@ -1340,6 +1340,7 @@ This example registers two new magic parameters: ``:_request_http_version`` retu
|
||||||
async def asynclookup(key, request):
|
async def asynclookup(key, request):
|
||||||
return await do_something_async(key)
|
return await do_something_async(key)
|
||||||
|
|
||||||
|
|
||||||
@hookimpl
|
@hookimpl
|
||||||
def register_magic_parameters(datasette):
|
def register_magic_parameters(datasette):
|
||||||
return [
|
return [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue