mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
datasette.table_metadata() is now await datasette.table_config(), refs #2247
This commit is contained in:
parent
69c6e95323
commit
f049103852
5 changed files with 7 additions and 7 deletions
|
|
@ -1202,7 +1202,7 @@ class Datasette:
|
|||
def _actor(self, request):
|
||||
return {"actor": request.actor}
|
||||
|
||||
def table_metadata(self, database, table):
|
||||
async def table_config(self, database, table):
|
||||
"""Fetch table-specific metadata."""
|
||||
return (
|
||||
(self.metadata("databases") or {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue