Skip to content

Commit e0d21ba

Browse files
Worker execution runtime (#38)
* Update to latest protobuf messages * Worker execution runtime * refactor into task_executor api and runner facade * Prepare release
1 parent f01ac2e commit e0d21ba

44 files changed

Lines changed: 1771 additions & 857 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
## [0.52.0]
10+
## [0.53.0] - 2026-06-05
11+
12+
### Added
13+
14+
- `tilebox-workflows`: Added worker runtime mode for executing registered tasks over the worker RPC service, backed by a
15+
shared task executor facade used by both worker and polling runners.
16+
17+
## [0.52.0] - 2026-05-08
1118

1219
### Added
1320

@@ -368,7 +375,8 @@ the first client that does not cache data (since it's already on the local file
368375
- Released under the [MIT](https://opensource.org/license/mit) license.
369376
- Released packages: `tilebox-datasets`, `tilebox-workflows`, `tilebox-storage`, `tilebox-grpc`
370377

371-
[Unreleased]: https://github.com/tilebox/tilebox-python/compare/v0.52.0...HEAD
378+
[Unreleased]: https://github.com/tilebox/tilebox-python/compare/v0.53.0...HEAD
379+
[0.53.0]: https://github.com/tilebox/tilebox-python/compare/v0.52.0...v0.53.0
372380
[0.52.0]: https://github.com/tilebox/tilebox-python/compare/v0.51.0...v0.52.0
373381
[0.51.0]: https://github.com/tilebox/tilebox-python/compare/v0.50.1...v0.51.0
374382
[0.50.1]: https://github.com/tilebox/tilebox-python/compare/v0.50.0...v0.50.1

tilebox-datasets/tilebox/datasets/datasets/v1/collections_pb2_grpc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from tilebox.datasets.datasets.v1 import core_pb2 as datasets_dot_v1_dot_core__pb2
77

88

9-
class CollectionServiceStub(object):
9+
class CollectionServiceStub:
1010
"""CollectionService is the service definition for the Tilebox datasets service, which provides access to datasets
1111
"""
1212

@@ -38,7 +38,7 @@ def __init__(self, channel):
3838
_registered_method=True)
3939

4040

41-
class CollectionServiceServicer(object):
41+
class CollectionServiceServicer:
4242
"""CollectionService is the service definition for the Tilebox datasets service, which provides access to datasets
4343
"""
4444

@@ -97,7 +97,7 @@ def add_CollectionServiceServicer_to_server(servicer, server):
9797

9898

9999
# This class is part of an EXPERIMENTAL API.
100-
class CollectionService(object):
100+
class CollectionService:
101101
"""CollectionService is the service definition for the Tilebox datasets service, which provides access to datasets
102102
"""
103103

tilebox-datasets/tilebox/datasets/datasets/v1/data_access_pb2_grpc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from tilebox.datasets.datasets.v1 import data_access_pb2 as datasets_dot_v1_dot_data__access__pb2
77

88

9-
class DataAccessServiceStub(object):
9+
class DataAccessServiceStub:
1010
"""DataAccessService provides data access and querying capabilities for Tilebox datasets.
1111
"""
1212

@@ -28,7 +28,7 @@ def __init__(self, channel):
2828
_registered_method=True)
2929

3030

31-
class DataAccessServiceServicer(object):
31+
class DataAccessServiceServicer:
3232
"""DataAccessService provides data access and querying capabilities for Tilebox datasets.
3333
"""
3434

@@ -67,7 +67,7 @@ def add_DataAccessServiceServicer_to_server(servicer, server):
6767

6868

6969
# This class is part of an EXPERIMENTAL API.
70-
class DataAccessService(object):
70+
class DataAccessService:
7171
"""DataAccessService provides data access and querying capabilities for Tilebox datasets.
7272
"""
7373

tilebox-datasets/tilebox/datasets/datasets/v1/data_ingestion_pb2_grpc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from tilebox.datasets.datasets.v1 import data_ingestion_pb2 as datasets_dot_v1_dot_data__ingestion__pb2
66

77

8-
class DataIngestionServiceStub(object):
8+
class DataIngestionServiceStub:
99
"""DataIngestionService provides data ingestion and deletion capabilities for Tilebox datasets.
1010
"""
1111

@@ -27,7 +27,7 @@ def __init__(self, channel):
2727
_registered_method=True)
2828

2929

30-
class DataIngestionServiceServicer(object):
30+
class DataIngestionServiceServicer:
3131
"""DataIngestionService provides data ingestion and deletion capabilities for Tilebox datasets.
3232
"""
3333

@@ -64,7 +64,7 @@ def add_DataIngestionServiceServicer_to_server(servicer, server):
6464

6565

6666
# This class is part of an EXPERIMENTAL API.
67-
class DataIngestionService(object):
67+
class DataIngestionService:
6868
"""DataIngestionService provides data ingestion and deletion capabilities for Tilebox datasets.
6969
"""
7070

tilebox-datasets/tilebox/datasets/datasets/v1/datasets_pb2_grpc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from tilebox.datasets.datasets.v1 import datasets_pb2 as datasets_dot_v1_dot_datasets__pb2
77

88

9-
class DatasetServiceStub(object):
9+
class DatasetServiceStub:
1010
"""DatasetsService is the CRUD service for Tilebox datasets.
1111
"""
1212

@@ -43,7 +43,7 @@ def __init__(self, channel):
4343
_registered_method=True)
4444

4545

46-
class DatasetServiceServicer(object):
46+
class DatasetServiceServicer:
4747
"""DatasetsService is the CRUD service for Tilebox datasets.
4848
"""
4949

@@ -113,7 +113,7 @@ def add_DatasetServiceServicer_to_server(servicer, server):
113113

114114

115115
# This class is part of an EXPERIMENTAL API.
116-
class DatasetService(object):
116+
class DatasetService:
117117
"""DatasetsService is the CRUD service for Tilebox datasets.
118118
"""
119119

tilebox-datasets/tilebox/datasets/tilebox/v1/query_pb2.py

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tilebox-datasets/tilebox/datasets/tilebox/v1/query_pb2.pyi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
from tilebox.datasets.buf.validate import validate_pb2 as _validate_pb2
22
from google.protobuf import timestamp_pb2 as _timestamp_pb2
33
from tilebox.datasets.tilebox.v1 import id_pb2 as _id_pb2
4+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
45
from google.protobuf import descriptor as _descriptor
56
from google.protobuf import message as _message
67
from collections.abc import Mapping as _Mapping
78
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
89

910
DESCRIPTOR: _descriptor.FileDescriptor
1011

12+
class SortDirection(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
13+
__slots__ = ()
14+
SORT_DIRECTION_UNSPECIFIED: _ClassVar[SortDirection]
15+
SORT_DIRECTION_ASCENDING: _ClassVar[SortDirection]
16+
SORT_DIRECTION_DESCENDING: _ClassVar[SortDirection]
17+
SORT_DIRECTION_UNSPECIFIED: SortDirection
18+
SORT_DIRECTION_ASCENDING: SortDirection
19+
SORT_DIRECTION_DESCENDING: SortDirection
20+
1121
class TimeInterval(_message.Message):
1222
__slots__ = ("start_time", "end_time", "start_exclusive", "end_inclusive")
1323
START_TIME_FIELD_NUMBER: _ClassVar[int]

tilebox-workflows/tests/clusters/test_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
from tilebox.workflows.data import (
1111
Cluster,
1212
)
13-
from tilebox.workflows.workflows.v1.core_pb2 import Cluster as ClusterMessage
13+
from tilebox.workflows.workflows.v1.workflows_pb2 import (
14+
Cluster as ClusterMessage,
15+
)
1416
from tilebox.workflows.workflows.v1.workflows_pb2 import (
1517
CreateClusterRequest,
1618
DeleteClusterRequest,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:24ff20b8b66a30cf11e5998477066b500830280160eaa5dd1e1c5895ea920a47
3-
size 9032
2+
oid sha256:ede65a3f196290e2aee71cddc45f67c9e9b2c6eb1374bf6beb0b8406f1f4d8c4
3+
size 8923
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:b8081ec6c43e20ee4ef13ff7ae89a24f695cd85e10c0346341d77a9fec5a285f
3-
size 6061
2+
oid sha256:54b3862b1e4c863f27e9f2e29958e3122ea8d197459fdb87e7b3d81ff0373f59
3+
size 5932

0 commit comments

Comments
 (0)