-
-
Notifications
You must be signed in to change notification settings - Fork 691
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.config() method to datasette.setting() #1107
Comments
Are there any plugins that use this API even though it isn't documented? |
I ran
|
Most of these use class DatasetteSpecialConfig(wrapt.ObjectProxy):
def config(self, key):
if key == "suggest_facets":
return False
return self.__wrapped__.config(key) |
I'm going to make this a documented method in https://docs.datasette.io/en/latest/internals.html#datasette-class |
Part of #1105. Thankfully this isn't yet part of the documented public API on https://docs.datasette.io/en/stable/internals.html
The text was updated successfully, but these errors were encountered: