Skip to content

Commit 69147eb

Browse files
committed
don't break stac database
1 parent 7b6efe7 commit 69147eb

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed

openeo/extra/job_management/__init__.py

-4
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@ def get_by_status(self, statuses: List[str], max=None) -> pd.DataFrame:
109109
"""
110110
...
111111

112-
@abc.abstractmethod
113-
def _update_row(self, job_id: str, updates: dict):
114-
"""Update specific fields of a job in the database."""
115-
...
116112

117113
def _start_job_default(row: pd.Series, connection: Connection, *args, **kwargs):
118114
raise NotImplementedError("No 'start_job' callable provided")

openeo/extra/job_management/stac_job_db.py

-9
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,6 @@ def _upload_items_bulk(self, collection_id: str, items: List[pystac.Item]) -> No
249249
for _ in concurrent.futures.as_completed(futures):
250250
continue
251251

252-
def _update_row(self, series: pd.Series) -> None:
253-
"""
254-
Update a single job in the STAC API.
255-
Here we simply re‑ingest that one item.
256-
"""
257-
item = self.item_from(series)
258-
# use your existing bulk‑upload helper to push just this one
259-
self._ingest_bulk([item])
260-
261252
def join_url(self, url_path: str) -> str:
262253
"""Create a URL from the base_url and the url_path.
263254

scl_native.tif

2.58 MB
Binary file not shown.

scl_resampled.tif

332 KB
Binary file not shown.

0 commit comments

Comments
 (0)