Skip to content

Commit f1a6f6f

Browse files
committed
Support strictness mode in AggregatorBackendConfig
ref Open-EO/openeo-python-driver#322
1 parent 5e315bd commit f1a6f6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"requests",
3636
"attrs",
3737
"openeo>=0.38.0",
38-
"openeo_driver>=0.132.0.dev",
38+
"openeo_driver>=0.133.0.a4.dev",
3939
"flask~=2.0",
4040
"gunicorn~=20.0",
4141
"python-json-logger>=2.0.0",

src/openeo_aggregator/config/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from typing import Callable, Dict, List, Optional, Protocol, Union
55

66
import attrs
7-
from openeo_driver.config import OpenEoBackendConfig
7+
from openeo_driver.config import OpenEoBackendConfig, openeo_backend_config_class
88
from openeo_driver.config.load import ConfigGetter
99
from openeo_driver.server import build_backend_deploy_metadata
1010
from openeo_driver.utils import smart_bool
@@ -46,7 +46,7 @@ def __call__(self, process_id: str, backend_id: str, experimental: bool) -> bool
4646
...
4747

4848

49-
@attrs.frozen(kw_only=True)
49+
@openeo_backend_config_class
5050
class AggregatorBackendConfig(OpenEoBackendConfig):
5151

5252
capabilities_backend_version: str = openeo_aggregator.about.__version__

0 commit comments

Comments
 (0)