mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Removed fallback parameter from get_metadata, refs #1384
This commit is contained in:
parent
0d339a4897
commit
ea627baccf
3 changed files with 6 additions and 6 deletions
|
|
@ -434,7 +434,7 @@ class Datasette:
|
|||
metadata = {}
|
||||
|
||||
for hook_dbs in pm.hook.get_metadata(
|
||||
datasette=self, key=key, database=database, table=table, fallback=fallback
|
||||
datasette=self, key=key, database=database, table=table
|
||||
):
|
||||
metadata = self._metadata_recursive_update(metadata, hook_dbs)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ def startup(datasette):
|
|||
|
||||
|
||||
@hookspec
|
||||
def get_metadata(datasette, key, database, table, fallback):
|
||||
"""Get configuration"""
|
||||
def get_metadata(datasette, key, database, table):
|
||||
"""Return metadata to be merged into Datasette's metadata dictionary"""
|
||||
|
||||
|
||||
@hookspec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue