From eb193af44d195587d8381bb330e0dbd1423d7d93 Mon Sep 17 00:00:00 2001 From: YolanFery Date: Wed, 1 Apr 2026 11:49:41 +0200 Subject: [PATCH 1/2] fix: typing --- openhexa/sdk/pipelines/parameter.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openhexa/sdk/pipelines/parameter.py b/openhexa/sdk/pipelines/parameter.py index d4faf7e5..175c4b31 100644 --- a/openhexa/sdk/pipelines/parameter.py +++ b/openhexa/sdk/pipelines/parameter.py @@ -445,6 +445,7 @@ def __init__( | S3Connection | CustomConnection | Dataset + | File ], name: str | None = None, choices: typing.Sequence | None = None, @@ -628,6 +629,7 @@ def parameter( | S3Connection | CustomConnection | Dataset + | File ], name: str | None = None, choices: typing.Sequence | None = None, @@ -647,7 +649,7 @@ def parameter( ---------- code : str The parameter identifier (must be unique for a given pipeline) - type : {str, int, bool, float, DHIS2Connection, IASOConnection, PostgreSQLConnection, GCSConnection, S3Connection} + type : {str, int, bool, float, DHIS2Connection, IASOConnection, PostgreSQLConnection, GCSConnection, S3Connection, CustomConnection, Dataset, File} The parameter Python type name : str, optional A name for the parameter (will be used instead of the code in the web interface) @@ -668,7 +670,7 @@ def parameter( Whether this parameter should be provided multiple values (if True, the value must be provided as a list of values of the chosen type) directory : str, optional - An optional parameter to force file selection to specific directory (only used for parater type File). If the directory does not exist, it will be ignored. + An optional parameter to force file selection to specific directory (only used for parameter type File). If the directory does not exist, it will be ignored. Returns ------- From d9d5f13546980ca88829c8531b1541f08542e18d Mon Sep 17 00:00:00 2001 From: YolanFery Date: Wed, 1 Apr 2026 12:01:42 +0200 Subject: [PATCH 2/2] fix: conda conflict --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2d6e76b4..61374293 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ requires-python = ">=3.11,<3.15" # the main constraint for supported Python vers dependencies = [ "urllib3<3", "multiprocess~=0.70.15", - "requests>=2.31,<2.33", + "requests>=2.31,<2.34", "PyYAML~=6.0", "click~=8.1.3", "jinja2>3,<4",