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
|
|
@ -418,7 +418,7 @@ class Database:
|
|||
return await self.execute_fn(lambda conn: detect_fts(conn, table))
|
||||
|
||||
async def label_column_for_table(self, table):
|
||||
explicit_label_column = self.ds.table_metadata(self.name, table).get(
|
||||
explicit_label_column = (await self.ds.table_config(self.name, table)).get(
|
||||
"label_column"
|
||||
)
|
||||
if explicit_label_column:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue