-
Notifications
You must be signed in to change notification settings - Fork 803
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
support composable templates #1943
Conversation
f68aa55
to
f84a7e2
Compare
f84a7e2
to
4e11d10
Compare
4e11d10
to
3030014
Compare
3030014
to
d177fa3
Compare
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.
Thanks! LGTM.
elasticsearch_dsl/_async/index.py
Outdated
# TODO: should we allow pattern to be a top-level arg? | ||
# or maybe have an IndexPattern that allows for it and have | ||
# Document._index be that? |
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.
It seems to me that we should either do it or remove this comment. (The current code seems perfectly usable to me.)
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.
Okay, I'll remove, since these are likely from very long ago and we clearly are fine with the way this is.
* support composable templates * do not error on aiohttp warning * rename new index template to composable index template * remove old comment (cherry picked from commit a0c53db)
This PR adds support for composable templates as a second templating option. The two examples that use templates have been upgraded to the newer templates.