Open-EO / Open-EO/openeo-python-driver

Better separation between pure batch job metadata and batch job *result* metadata

Open
#190 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
8
Avg merge
6d 3h
Merged PRs (30d)
4

Description

This was slightly bugging me for some time, but resurfaced with #184:
BatchJobMetadata was initially intended as a container for batch job metadata, relatively closely following the spec of openEO resource GET /jobs/{job_id}. So it was meant for metadata purely about the batch job itself, nothing about batch job results.

Over time various result related fields were added to BatchJobMetadata due to lack of a dedicted batch job result metadata container at that time. Now it makes the object sometimes confusing to use (initialize/update/export/...). I also suspect there are some fields related to non-standard Geopyspark features.

I recently added BatchJobResultMetadata for some new result related fields I wanted to handle and keep out of BatchJobMetadata
But we might also want to migrate some existing fields from BatchJobMetadata to BatchJobResultMetadata

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the BatchJobMetadata and BatchJobResultMetadata definitions and reviewing how they are initialized, updated, and exported. Identify existing result-related fields and determine which belong in BatchJobResultMetadata; done means the separation and migration scope are clearly defined and consistently applied.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.