New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename Datasette.__init__(config=) parameter to settings= #1432
Comments
Also this method: Lines 422 to 424 in 77f4629
And the places that use it: datasette/datasette/views/base.py Line 617 in fc48468
datasette/datasette/views/database.py Line 459 in fc48468
Which is used in this template: datasette/datasette/templates/table.html Line 204 in 77f4629
|
This is going to break some plugins: https://ripgrep.datasette.io/-/ripgrep?pattern=config%3D&literal=on&glob=%21datasette%2F**
I should fix those as soon as this goes out in a release. I won't close this issue until then. |
It's only |
Any workaround for making it work with datasette-publish-vercel. Currently getting below error module initialization error: init() got an unexpected keyword argument 'config' |
Nevermind, had to remove the branch argument in the workflow to make vercel publish work |
@simonw I am getting the below issue again now, even after removing branch argument from vercel datasette plugin module initialization error: init() got an unexpected keyword argument 'config' |
I am getting this when I visit my live Datasette page:
And in the server logs, I'm getting
Which is the same error that @ashishdotme reported above. |
Resolved, with assistance from @ashishdotme (Thank you!) Updated requirements.txt to include:
Ran:
The site is back at work! Yay! |
This issue is obsolete thanks to the new metadata v.s. config change in Datasette 1.0. |
Originally posted by @simonw in #1431 (comment)
The text was updated successfully, but these errors were encountered: