Skip to content

provide pg/tracer to log added value from#495

Open
bossie wants to merge 9 commits intomasterfrom
1436-etl-api-report-added-value-for-sync-requests
Open

provide pg/tracer to log added value from#495
bossie wants to merge 9 commits intomasterfrom
1436-etl-api-report-added-value-for-sync-requests

Conversation

@bossie
Copy link
Copy Markdown
Collaborator

@bossie bossie commented Apr 29, 2026

@bossie bossie marked this pull request as ready for review May 6, 2026 09:38
Comment thread openeo_driver/backend.py
raise NotImplementedError

def evaluate(self, process_graph: dict, env: EvalEnv = None):
def evaluate(self, process_graph: dict, env: EvalEnv = None, do_dry_run: Union[bool, DryRunDataTracer] = True):
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.

Hmm, not a big fan of this change: this makes the dry-run aspect leak into the generic Processing.evaluate() API, which is not intended to be concerned with dry and wet run aspects.

For example: this will break the aggregator, which also implements this API, but has no dry-run concept

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.

Isn't it possible to pass the tracer trough the existing EvalEnv instead?

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.

ETL API: report added value for sync requests

2 participants