-
-
Notifications
You must be signed in to change notification settings - Fork 266
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 cql-json support for ES #723
Add cql-json support for ES #723
Conversation
6e13706
to
54db1f6
Compare
4819db1
to
a197c1d
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.
Looks great @francbartoli. My only questions are around use of nest_asyncio (does this have to be in pygeoapi/api.py
or can we use in the starlette specific code?) and future-annotations.
@tomkralidis nest_asyncio fixes the |
48fbacb
to
afd5b3a
Compare
Fix starlette event loop Fix starlette event loop Fix starlette event loop Fix starlette event loop Fix provider regression Make method public Make method public Move function to the helpers utility Add the CQL lifecycle for development Add CQL docs Fix flake8 Isolate import for starlette codepath
afd5b3a
to
40e8bd3
Compare
Excellent work @francbartoli ! |
Although I was not able to find a minimum Python version referenced in setup.py, this comment (geopython/pygeoapi#723 (comment)) from a prior PR seems to indicate that `future-annotations` should be dropped as a requirement when Python 3.6 is no longer supported, so if they've dropped `future-annotations` as a dependency, I'm assuming that they're no longer supporting Python 3.6, either.
This pull request replces #670 and adds an early implementation of CQL support for the Elasticsearch provider with the CQL-JSON dialect. It supports the following type of queries:
between
predicate queryand
query withbetween
andeq
expressionbbox