-
Notifications
You must be signed in to change notification settings - Fork 4
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
native client: how to return multiple values? #64
Comments
I'm not a fan of the dictionary solution. What about the NamedTuple suggested on stack ? |
There is a somewhat similar discussion at OGC on how to manage multiple outputs for WPS. It's documented as a recommendation in an Engineering Report... I'll identify later. Please tell me if you want investigation at OGC-standard level. |
Yes, I think it would be useful to develop a solution that will work with the OGC standard and slowly move birdhouse processes to that standard. |
Ok, sending the ER to both Carsten and you. |
* renamed BirdyClient to WPSClient (#64) * update import
accidentally closed due wrong reference. |
Description
In the current native client implementation we either return a single value or a list of values. I would find it more descriptive to return a dictionary with:
@huard @davidcaron
What do you think?
Here a link from a quick google search:
https://stackoverflow.com/questions/354883/how-do-you-return-multiple-values-in-python
Environment
Steps to Reproduce
Additional Information
The text was updated successfully, but these errors were encountered: