-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
enhance support for limits (RFC5) (#1856) #1892
Conversation
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.
The implementation looks good to me!
With this change, the old limit
setting is now ignored, so if anybody updates to the new version without changing the config, then the default limits apply again. We could detect this old setting and print an informational message .
very nice Tom, can we also port it to pycsw? |
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.
+1
063a4ed
to
0eec84f
Compare
I think this is a really nice improvement! 👍🏽 Should the pygeoapi example configuration file also be changed? Line 44 in b4d3535
I would suggest changing it to a different number on default and max:
|
2ea0505
to
1f758b5
Compare
Update to align with RFC5 as implemented in geopython/pygeoapi#1892
Update to align with RFC5 as implemented in geopython/pygeoapi#1892
Overview
This PR implements RFC5 to provide enhanced limit handling implementation in support of better definition and control on data query limiting.
Related Issue / discussion
#1856
Additional information
This PR needs PSC approval of RFC5 in order to be merged.
Dependency policy (RFC2)
Updates to public demo
Contributions and licensing
(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)