Skip to content

Commit 2a8fc6f

Browse files
committed
chore: updated oceanprotocol-job-details
1 parent 550f5f1 commit 2a8fc6f

6 files changed

Lines changed: 74 additions & 121 deletions

File tree

.bumpversion.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.bumpversion]
2-
current_version = "0.2.32"
2+
current_version = "0.3.1"
33

44
[[tool.bumpversion.files]]
55
filename = "pyproject.toml"

.coverage

-52 KB
Binary file not shown.

_data/outputs/result.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.01
1+
0.045

ocean_runner/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ async def execute(self) -> ResultT | None:
161161
}
162162
config = {k: v for k, v in config.items() if v is not None}
163163

164-
self._job_details = load_job_details(config, self.configuration.custom_input)
164+
self._job_details = load_job_details(self.configuration.custom_input, config)
165165

166166
self.logger.info("Loaded JobDetails")
167167
self.logger.debug(self.job_details.model_dump())

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ocean-runner"
3-
version = "0.2.32"
3+
version = "0.3.1"
44
description = "A fluent API for OceanProtocol algorithms"
55
authors = [
66
{ name = "AgrospAI", email = "agrospai@udl.cat" },
@@ -16,10 +16,11 @@ classifiers = [
1616
]
1717
dependencies = [
1818
"aiofiles>=25.1.0",
19-
"oceanprotocol-job-details>=0.3.22",
19+
"oceanprotocol-job-details>=0.4.1",
2020
"pydantic>=2.12.5",
2121
"pydantic-settings>=2.12.0",
2222
"pytest>=8.4.2",
23+
"returns[mypy-compatible]>=0.26.0",
2324
]
2425

2526
[project.urls]
@@ -38,7 +39,7 @@ build-backend = "hatchling.build"
3839
[dependency-groups]
3940
dev = [
4041
"coverage-badge>=1.1.2",
41-
"mypy>=1.19.1",
42+
"mypy<1.18.0",
4243
"pre-commit>=4.5.1",
4344
"pytest-cov>=7.0.0",
4445
"ruff>=0.14.14",
@@ -55,4 +56,4 @@ packages = ["ocean_runner"]
5556
ocean_runner = ["py.typed"]
5657

5758
[tool.mypy]
58-
plugins = ['pydantic.mypy']
59+
plugins = ["returns.contrib.mypy.returns_plugin", "pydantic.mypy"]

0 commit comments

Comments
 (0)