simonw/datasette-lite

Run `await ds.invoke_startup()`

simonw opened this issue · 1 comments

It looks like Datasette Lite does NOT invoke that method, which is likely a bug:

datasette-lite/webworker.js

Lines 103 to 110 in e7ccaf6

)
from datasette.app import Datasette
ds = Datasette(names, settings={
"num_sql_threads": 0,
}, metadata = {
"about": "Datasette Lite",
"about_url": "https://github.com/simonw/datasette-lite"
})

Originally posted by @simonw in simonw/datasette#1809 (comment)

The lack of this at the moment could break some plugins, and will break everything if I land the change I'm considering in simonw/datasette#1809 (comment)