Closed cldellow closed 1 year ago
Thanks for the fix.
This also happens with other bool formats such as off/on, for example:
datasette publish fly data/outputs/sqlite/mydb.db \
--app="mydb" \
--setting sql_time_limit_ms 25000 \
--setting allow_download off
Is there a work-around to use this feature branch until it's merged? I'm new to datasette and plugins. Does this doc section have the correct steps? https://docs.datasette.io/en/0.23.1/plugins.html#writing-plugins
I think you can install my branch by doing:
datasette install git+https://github.com/cldellow/datasette-publish-fly@33d3b73cd275e059e2b10d6775dc82aba72a4d92
The docs you linked to are a bit out of date, they're for version 0.23.1, which was released in 2018
https://docs.datasette.io/en/stable/plugins.html is the analagous page for the current release
Adding the two missing imports seems to resolve it, https://github.com/simonw/datasette-publish-fly/pull/27 has a fix