Skip to content

Add stac_resource_from_process. - #970

Draft
EmileSonneveld wants to merge 1 commit into
masterfrom
stac_resource_from_process_20261110
Draft

EmileSonneveld wants to merge 1 commit into
masterfrom
stac_resource_from_process_20261110

Conversation

@EmileSonneveld

@EmileSonneveld EmileSonneveld commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

#845
There was already a branch with a lookalike change: stac_resource_from_process

@EmileSonneveld
EmileSonneveld marked this pull request as draft November 10, 2026 12:59

@soxofaan soxofaan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor note

also to consider: add a reference at

Instead, use process graph abstraction builders like
:py:meth:`Connection.load_collection() <openeo.rest.connection.Connection.load_collection>`,
:py:meth:`Connection.datacube_from_process() <openeo.rest.connection.Connection.datacube_from_process>`,
:py:meth:`Connection.datacube_from_flat_graph() <openeo.rest.connection.Connection.datacube_from_flat_graph>`,
:py:meth:`Connection.datacube_from_json() <openeo.rest.connection.Connection.datacube_from_json>`,
:py:meth:`Connection.load_ml_model() <openeo.rest.connection.Connection.load_ml_model>`,

Comment thread openeo/rest/connection.py
Comment on lines +1207 to +1210
self,
*,
process_id: str,
namespace: Optional[str] = None,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big fan of keyword-only args in API design, but also requiring process_id as keyword-only might be a bit much. I would still allow process_id as positional

Suggested change
self,
*,
process_id: str,
namespace: Optional[str] = None,
self,
process_id: str,
*,
namespace: Optional[str] = None,

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants