Skip to content

Commit a88edbd

Browse files
committed
TODO notes on decoupling sentinel_hub from job_registry
1 parent 67e67aa commit a88edbd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

openeogeotrellis/job_registry.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
JobDict,
2424
ejr_job_info_to_metadata,
2525
)
26-
from openeo_driver.util.http import UrlSafeStructCodec
26+
27+
# TODO: eliminate coupling of job_registry with openeogeotrellis.sentinel_hub?
28+
# It's actually only used for OG_BATCH_RESULTS_BUCKET, which could be a config?
2729
from openeogeotrellis import sentinel_hub
2830
from openeogeotrellis.config import get_backend_config
2931
from openeogeotrellis.configparams import ConfigParams

openeogeotrellis/sentinel_hub/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# TODO: keep this __init__ slim and dependency-low (openeogeotrellis.geopysparkdatacube is a heavy one for example)
2+
13
from typing import Dict
24

35
import logging

0 commit comments

Comments
 (0)