Skip to content

Implement multi-wsgi app setup to offer endpoint-per-dataset strategy#2149

Open
reinvantveer wants to merge 18 commits intogeopython:masterfrom
SPOTinfo:fetch-upstream
Open

Implement multi-wsgi app setup to offer endpoint-per-dataset strategy#2149
reinvantveer wants to merge 18 commits intogeopython:masterfrom
SPOTinfo:fetch-upstream

Conversation

@reinvantveer
Copy link

@reinvantveer reinvantveer commented Oct 30, 2025

Overview

Resolves #2148

Additional information

The implementation provides a wrapper function around statements in pygeoapi/flask_app.py to allow calling it as many times as necessary to create a per-dataset endpoint. For each call, it returns a Flask wsgi app that can be served as usual. Since Pythonic conventions use module-scoped variables in all-caps, these have now been snake-cased as they are wrapped by the make_wsgi_app function.

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

@reinvantveer reinvantveer changed the title Fetch upstream Implement multi-wsgi app setup to offer endpoint-per-dataset strategy Oct 30, 2025
@github-actions
Copy link

This Pull Request has been inactive for 90 days. As per RFC4, in order to manage maintenance burden, it will be automatically closed in 7 days.

@github-actions github-actions bot added the stale Issue marked stale by stale-bot label Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Issue marked stale by stale-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split api endpoints and documentation by dataset

2 participants