Skip to content
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

Datasette class should provide documented API for use in plugins #576

Open
simonw opened this issue Sep 23, 2019 · 1 comment
Open

Datasette class should provide documented API for use in plugins #576

simonw opened this issue Sep 23, 2019 · 1 comment

Comments

@simonw
Copy link
Owner

@simonw simonw commented Sep 23, 2019

Quite a few of the plugin hooks make a datasette”instance of the Datasette class available to the plugins, so that they can look up configuration settings and execute database queries.

This means it should provide a documented, stable API so that plugin authors can rely on it.

@simonw

This comment has been minimized.

Copy link
Owner Author

@simonw simonw commented Jan 6, 2020

I wrote about this a bit here: https://simonwillison.net/2020/Jan/6/sitemap-xml/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.