geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
490 stars 260 forks source link

Safely serialize configuration JSON #1605

Closed webb-ben closed 6 months ago

webb-ben commented 6 months ago

Overview

Safely serialize configuration JSON

Related Issue / discussion

Closes https://github.com/geopython/pygeoapi/issues/1590

Additional information

There is likely a way to do this by updating the Yaml Loader to not turn datetime objects into their native python objects.

Dependency policy (RFC2)

Updates to public demo

Contributions and licensing

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

tomkralidis commented 6 months ago

Test failures are unrelated (related to #1578).