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.
Description
When the output is defined to be an array the execution returns:
Error executing process: cannot access local variable 'mode' where it is not associated with a value
Steps to Reproduce
If the process metadata defined the following outputs:
Description When the output is defined to be an array the execution returns:
Error executing process: cannot access local variable 'mode' where it is not associated with a value
Steps to Reproduce If the process metadata defined the following outputs:
I understand the process
execute()
should return something like the following:where the returned
outputs
is anarray
. However, if the above is returned by processexecute()
, then the error is returned.I identified the problem in BaseManager._execute_handler_sync() as the variable '
mode
' is only set ifoutputs
is either adict
orbytes
.Expected behavior Not sure if the execution should return:
or
Environment