-
Notifications
You must be signed in to change notification settings - Fork 42
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
Work on processes instead of process graphs #155
Comments
Can you clarify with an example of what you would expect? |
Okay, if the JSON serializer outputs What confused me was that the methods all have parameters like "process_graph=None" or so, and that sounds like me I'd need to pass just the nodes, not the whole process. I thought I saw examples just passing nodes, but maybe I just stumbled across old examples? I can't even find it anymore... so maybe nevermind. Examples for "just nodes" (i.e. the process graph):
Example for a full process:
|
It's indeed the case that internally (between client classes) we could be passing just the nodes, and wrap them in a 'full process' when we send it. But that's more of an internal thing, we anyway try to avoid exposing the graphs themselves to the user. |
re: in Open-EO/openeo-web-editor#271 @m-mohr suggest to reopen this ticket However I don't think it is useful to reopen this. Legacy-wise there are a couple of
The recommended way is using I'm not sure what else there should be done here. Except maybe making the "not recommended to use" stronger in the docs. |
As far as I understand the code, the Python client still seems to mostly work on "process graphs" instead of full processes, which means you'd just pass the "process_graph" part of a full process description to methods and from recent work I've seen it also seems that the JSON output doesn't contain the process metadata, if available. But at least the process graph should be wrapped with
{"process_graph": ...}
. Not working with the full process description makes portability of processes hard and I'd propose to change this.The text was updated successfully, but these errors were encountered: