ocean-runner 0.2.7__tar.gz → 0.2.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ocean-runner might be problematic. Click here for more details.
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/PKG-INFO +1 -1
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/ocean_runner/runner.py +2 -2
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/pyproject.toml +1 -1
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/.gitignore +0 -0
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/LICENSE +0 -0
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/README.md +0 -0
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/ocean_runner/__init__.py +0 -0
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/ocean_runner/config.py +0 -0
- {ocean_runner-0.2.7 → ocean_runner-0.2.8}/ocean_runner/runtime_mode.py +0 -0
|
@@ -125,10 +125,10 @@ class Algorithm(Generic[JobDetailsT, ResultT]):
|
|
|
125
125
|
|
|
126
126
|
return self
|
|
127
127
|
|
|
128
|
-
def run(self, callable: Callable[[Self], ResultT]) -> Self:
|
|
128
|
+
def run(self, callable: Callable[[Self], ResultT], is_check_test=True) -> Self:
|
|
129
129
|
self.logger.info("Running algorithm...")
|
|
130
130
|
try:
|
|
131
|
-
if self._runtime == RuntimeMode.TEST:
|
|
131
|
+
if is_check_test and self._runtime == RuntimeMode.TEST:
|
|
132
132
|
callable = default_test_run
|
|
133
133
|
|
|
134
134
|
self._result = callable(self)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|