mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New request.actor property, refs #811
This commit is contained in:
parent
2a8b39800f
commit
177059284d
8 changed files with 16 additions and 7 deletions
|
|
@ -667,7 +667,7 @@ class Datasette:
|
|||
return d
|
||||
|
||||
def _actor(self, request):
|
||||
return {"actor": request.scope.get("actor", None)}
|
||||
return {"actor": request.actor}
|
||||
|
||||
def table_metadata(self, database, table):
|
||||
"Fetch table-specific metadata."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue