Skip to content

Commit a65ae21

Browse files
committed
Make job_splitting private for now to expedite merging #756
for #745
1 parent 0488532 commit a65ae21

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

openeo/extra/job_management/job_splitting.py renamed to openeo/extra/job_management/_job_splitting.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
class JobSplittingFailure(Exception):
1212
pass
1313

14+
1415
class _BoundingBox(NamedTuple):
1516
"""Simple NamedTuple container for a bounding box"""
1617

tests/extra/job_management/test_job_splitting.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22
import shapely
33

4-
from openeo.extra.job_management.job_splitting import (
4+
from openeo.extra.job_management._job_splitting import (
55
JobSplittingFailure,
66
_BoundingBox,
77
_SizeBasedTileGrid,
@@ -40,7 +40,6 @@ def mock_dict_with_crs_utm():
4040
}
4141

4242

43-
4443
class TestBoundingBox:
4544
def test_basic(self):
4645
bbox = _BoundingBox(1, 2, 3, 4)
@@ -89,7 +88,6 @@ def test_as_polygon(self):
8988

9089

9190
class TestSizeBasedTileGrid:
92-
9391
def test_from_size_projection(self):
9492
splitter = _SizeBasedTileGrid.from_size_projection(0.1, "EPSG:4326")
9593
assert splitter.epsg == 4326

0 commit comments

Comments
 (0)