-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
Documentation for the "request" object #706
Comments
This is the full current implementation of the request object: datasette/datasette/utils/asgi.py Lines 15 to 95 in 9424687
|
New documentation can be seen here: https://github.com/simonw/datasette/blob/6d7cb02f00010d3cb4b4bac0460d41277652b80e/docs/internals.rst#request-object It's inspired me to reconsider the name of the |
It looks like I inherited |
What would a better name be?
I dislike the last two the least. |
I'm going to leave |
Since that object is passed to the
extra_template_vars
hooks AND the classes registered byregister_facet_classes
it should be part of the documented interface on https://datasette.readthedocs.io/en/stable/internals.htmlI could also start passing it to the
register_output_renderer
callback.The text was updated successfully, but these errors were encountered: