Skip to content

Commit

Permalink
Merge pull request #238 from sentinel-hub/develop
Browse files Browse the repository at this point in the history
Release version 1.5.1
  • Loading branch information
zigaLuksic authored May 3, 2023
2 parents 0e2fa52 + 9f904c9 commit 231f2f8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion eogrow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""The main module of the eo-grow package."""

__version__ = "1.5.0"
__version__ = "1.5.1"
6 changes: 3 additions & 3 deletions eogrow/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@click.argument("config_path", type=click.Path())
@variables_option
@test_patches_option
def run_pipeline(config_path: str, cli_variables: Tuple[str], test_patches: Tuple[int]) -> None:
def run_pipeline(config_path: str, cli_variables: Tuple[str, ...], test_patches: Tuple[int, ...]) -> None:
"""Execute eo-grow pipeline using CLI.
\b
Expand Down Expand Up @@ -105,8 +105,8 @@ def run_pipeline_on_cluster(
stop_cluster: bool,
use_screen: bool,
use_tmux: bool,
cli_variables: Tuple[str],
test_patches: Tuple[int],
cli_variables: Tuple[str, ...],
test_patches: Tuple[int, ...],
) -> None:
"""Command for running an eo-grow pipeline on a remote Ray cluster of AWS EC2 instances. The provided config is
fully constructed and uploaded to the cluster head in the `~/.synced_configs/` directory, where it is then
Expand Down
6 changes: 3 additions & 3 deletions eogrow/core/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ class Schema(ManagerSchema):
"with larger number of EOPatches the recommended option is False."
),
)
eoexecution_ignore_packages: Tuple[str] = Field(
eoexecution_ignore_packages: Tuple[str, ...] = Field(
(DEFAULT_PACKAGES_TOKEN,),
description=(
"Names of packages for which the logs will not be written to EOExecution log files. You can reference"
' the defaults with "...", for example, adding another package can be done with ["...", "some_package"]'
),
)

pipeline_ignore_packages: Tuple[str] = Field(
pipeline_ignore_packages: Tuple[str, ...] = Field(
(DEFAULT_PACKAGES_TOKEN,),
description=(
"Names of packages for which the logs will not be written to the main pipeline log file. You can"
Expand All @@ -71,7 +71,7 @@ class Schema(ManagerSchema):
)

show_logs: bool = Field(False, description="Shows basic pipeline execution logs at stdout.")
stdout_log_packages: Tuple[str] = Field(
stdout_log_packages: Tuple[str, ...] = Field(
(DEFAULT_PACKAGES_TOKEN,),
description=(
"Names of packages for which the logs will be written to stdout. You can reference the defaults with"
Expand Down
3 changes: 2 additions & 1 deletion tests/test_config_files/global_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"manager": "eogrow.core.logging.LoggingManager",
"save_logs": true,
"show_logs": true,
"capture_warnings": false
"capture_warnings": false,
"pipeline_ignore_packages": ["...", "annoying-hypothethical-package"]
},
"storage": {
"manager": "eogrow.core.storage.StorageManager",
Expand Down

0 comments on commit 231f2f8

Please sign in to comment.