-
Notifications
You must be signed in to change notification settings - Fork 14k
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
Add cache warmup endpoint #1063
Conversation
def get_viz(self, url_params_multidict=None): | ||
"""Creates BaseViz object from the url_params_multidict. | ||
|
||
Parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to auto generate docs for the code we should stick with Sphinx's (the documentation framework we use) way of specifying docstrings:
http://www.sphinx-doc.org/en/stable/domains.html#info-field-lists
Nice. A few minor nits but the code looks much better overall! |
Oh looks like this PR is a superset of #1062 isn't it? I won't review 1062 if that's the case. |
@mistercrunch - yes. I wasn't sure how stack the PRs on top of each other here. |
LGTM! |
thanks @mistercrunch for the review! |
Implements the FR: #1021
Based on the PR: #1062
This PR adds 2 types of the cache warm up endpoints:
/caravel/warm_up_cache?table_name=energy_usage&db_name=main