metaflow-stubs 2.18.13__py2.py3-none-any.whl → 2.19.1__py2.py3-none-any.whl
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 metaflow-stubs might be problematic. Click here for more details.
- metaflow-stubs/__init__.pyi +651 -650
- metaflow-stubs/cards.pyi +2 -2
- metaflow-stubs/cli.pyi +2 -2
- metaflow-stubs/cli_components/__init__.pyi +2 -2
- metaflow-stubs/cli_components/utils.pyi +2 -2
- metaflow-stubs/client/__init__.pyi +3 -2
- metaflow-stubs/client/core.pyi +63 -32
- metaflow-stubs/client/filecache.pyi +20 -4
- metaflow-stubs/events.pyi +7 -8
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +7 -8
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +5 -5
- metaflow-stubs/meta_files.pyi +2 -2
- metaflow-stubs/metadata_provider/__init__.pyi +2 -2
- metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
- metaflow-stubs/metadata_provider/metadata.pyi +2 -2
- metaflow-stubs/metadata_provider/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +16 -2
- metaflow-stubs/metaflow_current.pyi +14 -16
- metaflow-stubs/metaflow_git.pyi +3 -5
- metaflow-stubs/multicore_utils.pyi +4 -4
- metaflow-stubs/packaging_sys/__init__.pyi +39 -40
- metaflow-stubs/packaging_sys/backend.pyi +13 -13
- metaflow-stubs/packaging_sys/distribution_support.pyi +6 -7
- metaflow-stubs/packaging_sys/tar_backend.pyi +13 -13
- metaflow-stubs/packaging_sys/utils.pyi +3 -6
- metaflow-stubs/packaging_sys/v1.pyi +5 -5
- metaflow-stubs/parameters.pyi +6 -9
- metaflow-stubs/plugins/__init__.pyi +13 -13
- metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
- metaflow-stubs/plugins/airflow/exception.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
- metaflow-stubs/plugins/argo/__init__.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +5 -3
- metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +11 -9
- metaflow-stubs/plugins/argo/exit_hooks.pyi +4 -7
- metaflow-stubs/plugins/aws/__init__.pyi +3 -3
- metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
- metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
- metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +6 -4
- metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +9 -7
- metaflow-stubs/plugins/azure/__init__.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
- metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
- metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
- metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/cards/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_client.pyi +5 -6
- metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- metaflow-stubs/plugins/cards/card_datastore.pyi +4 -2
- metaflow-stubs/plugins/cards/card_decorator.pyi +3 -3
- metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/components.pyi +14 -14
- metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/json_viewer.pyi +5 -5
- metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
- metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
- metaflow-stubs/plugins/cards/exception.pyi +2 -2
- metaflow-stubs/plugins/catch_decorator.pyi +3 -3
- metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
- metaflow-stubs/plugins/datatools/local.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/s3.pyi +27 -35
- metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
- metaflow-stubs/plugins/debug_logger.pyi +2 -2
- metaflow-stubs/plugins/debug_monitor.pyi +2 -2
- metaflow-stubs/plugins/environment_decorator.pyi +2 -2
- metaflow-stubs/plugins/events_decorator.pyi +2 -2
- metaflow-stubs/plugins/exit_hook/__init__.pyi +2 -2
- metaflow-stubs/plugins/exit_hook/exit_hook_decorator.pyi +2 -2
- metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
- metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
- metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
- metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kube_utils.pyi +3 -3
- metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
- metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- metaflow-stubs/plugins/parsers.pyi +2 -2
- metaflow-stubs/plugins/project_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
- metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
- metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
- metaflow-stubs/plugins/pypi/utils.pyi +2 -2
- metaflow-stubs/plugins/resources_decorator.pyi +2 -2
- metaflow-stubs/plugins/retry_decorator.pyi +2 -2
- metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
- metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- metaflow-stubs/plugins/secrets/secrets_func.pyi +3 -5
- metaflow-stubs/plugins/secrets/secrets_spec.pyi +2 -2
- metaflow-stubs/plugins/secrets/utils.pyi +2 -2
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +2 -2
- metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
- metaflow-stubs/plugins/uv/__init__.pyi +2 -2
- metaflow-stubs/plugins/uv/uv_environment.pyi +3 -3
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +2 -2
- metaflow-stubs/runner/deployer.pyi +23 -22
- metaflow-stubs/runner/deployer_impl.pyi +6 -4
- metaflow-stubs/runner/metaflow_runner.pyi +134 -21
- metaflow-stubs/runner/nbdeploy.pyi +3 -3
- metaflow-stubs/runner/nbrun.pyi +3 -3
- metaflow-stubs/runner/subprocess_manager.pyi +8 -8
- metaflow-stubs/runner/utils.pyi +5 -6
- metaflow-stubs/system/__init__.pyi +2 -2
- metaflow-stubs/system/system_logger.pyi +4 -5
- metaflow-stubs/system/system_monitor.pyi +3 -3
- metaflow-stubs/tagging_util.pyi +2 -2
- metaflow-stubs/tuple_util.pyi +2 -2
- metaflow-stubs/user_configs/__init__.pyi +2 -2
- metaflow-stubs/user_configs/config_options.pyi +5 -6
- metaflow-stubs/user_configs/config_parameters.pyi +8 -8
- metaflow-stubs/user_decorators/__init__.pyi +2 -2
- metaflow-stubs/user_decorators/common.pyi +6 -6
- metaflow-stubs/user_decorators/mutable_flow.pyi +8 -9
- metaflow-stubs/user_decorators/mutable_step.pyi +6 -9
- metaflow-stubs/user_decorators/user_flow_decorator.pyi +7 -8
- metaflow-stubs/user_decorators/user_step_decorator.pyi +24 -17
- metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.18.13.dist-info → metaflow_stubs-2.19.1.dist-info}/METADATA +2 -2
- metaflow_stubs-2.19.1.dist-info/RECORD +168 -0
- metaflow_stubs-2.18.13.dist-info/RECORD +0 -168
- {metaflow_stubs-2.18.13.dist-info → metaflow_stubs-2.19.1.dist-info}/WHEEL +0 -0
- {metaflow_stubs-2.18.13.dist-info → metaflow_stubs-2.19.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.638988 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,10 +9,7 @@ from __future__ import annotations
|
|
|
9
9
|
import typing
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
def
|
|
13
|
-
...
|
|
14
|
-
|
|
15
|
-
def walk(root: str, exclude_hidden: bool = True, file_filter: typing.Optional[typing.Callable[[str], bool]] = None, exclude_tl_dirs: typing.Optional[typing.List[str]] = None) -> typing.Generator[typing.Tuple[str, str], None, None]:
|
|
12
|
+
def walk(root: str, exclude_hidden: bool = True, file_filter: typing.Callable[[str], bool] | None = None, exclude_tl_dirs: typing.List[str] | None = None) -> typing.Generator[typing.Tuple[str, str], None, None]:
|
|
16
13
|
...
|
|
17
14
|
|
|
18
15
|
def suffix_filter(suffixes: typing.List[str]) -> typing.Callable[[str], bool]:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.639899 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
|
9
9
|
import metaflow
|
|
10
10
|
import typing
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
-
import metaflow.packaging_sys
|
|
13
12
|
import typing
|
|
13
|
+
import metaflow.packaging_sys
|
|
14
14
|
|
|
15
15
|
from ..exception import MetaflowException as MetaflowException
|
|
16
16
|
from ..user_decorators.user_flow_decorator import FlowMutatorMeta as FlowMutatorMeta
|
|
@@ -43,7 +43,7 @@ class MetaflowCodeContentV1(metaflow.packaging_sys.MetaflowCodeContentV1Base, me
|
|
|
43
43
|
Files or directories to exclude
|
|
44
44
|
"""
|
|
45
45
|
...
|
|
46
|
-
def content_names(self, content_types:
|
|
46
|
+
def content_names(self, content_types: int | None = None) -> typing.Generator[typing.Tuple[str, str], None, None]:
|
|
47
47
|
"""
|
|
48
48
|
Detailed list of the content of this MetaflowCodeContent. This will list all files
|
|
49
49
|
(or non files -- for the INFO or CONFIG data for example) present in the archive.
|
|
@@ -59,7 +59,7 @@ class MetaflowCodeContentV1(metaflow.packaging_sys.MetaflowCodeContentV1Base, me
|
|
|
59
59
|
Path on the filesystem and the name in the archive
|
|
60
60
|
"""
|
|
61
61
|
...
|
|
62
|
-
def contents(self, content_types:
|
|
62
|
+
def contents(self, content_types: int | None = None) -> typing.Generator[typing.Tuple[bytes | str, str], None, None]:
|
|
63
63
|
"""
|
|
64
64
|
Very similar to content_names but returns the content of the non-files
|
|
65
65
|
as well as bytes. For files, identical output as content_names
|
metaflow-stubs/parameters.pyi
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.609470 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
import metaflow
|
|
10
9
|
import typing
|
|
10
|
+
import metaflow
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
12
|
import metaflow._vendor.click.types
|
|
13
13
|
import metaflow.parameters
|
|
@@ -25,7 +25,7 @@ class ParameterContext(tuple, metaclass=type):
|
|
|
25
25
|
ParameterContext(flow_name, user_name, parameter_name, logger, ds_type, configs)
|
|
26
26
|
"""
|
|
27
27
|
@staticmethod
|
|
28
|
-
def __new__(_cls, flow_name: str, user_name: str, parameter_name: str, logger: typing.Callable[..., None], ds_type: str, configs:
|
|
28
|
+
def __new__(_cls, flow_name: str, user_name: str, parameter_name: str, logger: typing.Callable[..., None], ds_type: str, configs: ForwardRef('ConfigValue') | None):
|
|
29
29
|
"""
|
|
30
30
|
Create new instance of ParameterContext(flow_name, user_name, parameter_name, logger, ds_type, configs)
|
|
31
31
|
"""
|
|
@@ -40,10 +40,7 @@ class ParameterContext(tuple, metaclass=type):
|
|
|
40
40
|
Return self as a plain tuple. Used by copy and pickle.
|
|
41
41
|
"""
|
|
42
42
|
...
|
|
43
|
-
def
|
|
44
|
-
"""
|
|
45
|
-
The type of the None singleton.
|
|
46
|
-
"""
|
|
43
|
+
def __annotate_func__(format):
|
|
47
44
|
...
|
|
48
45
|
...
|
|
49
46
|
|
|
@@ -170,7 +167,7 @@ class Parameter(object, metaclass=type):
|
|
|
170
167
|
If True, show the default value in the help text. A value of None is equivalent
|
|
171
168
|
to True.
|
|
172
169
|
"""
|
|
173
|
-
def __init__(self, name: str, default:
|
|
170
|
+
def __init__(self, name: str, default: str | float | int | bool | typing.Dict[str, typing.Any] | typing.Callable[[metaflow.parameters.ParameterContext], str | float | int | bool | typing.Dict[str, typing.Any]] | None = None, type: typing.Type[str] | typing.Type[float] | typing.Type[int] | typing.Type[bool] | metaflow.parameters.JSONTypeClass | None = None, help: str | None = None, required: bool | None = None, show_default: bool | None = None, **kwargs: typing.Dict[str, typing.Any]):
|
|
174
171
|
...
|
|
175
172
|
def init(self, ignore_errors = False):
|
|
176
173
|
...
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.620033 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,24 +9,24 @@ from __future__ import annotations
|
|
|
9
9
|
|
|
10
10
|
from . import test_unbounded_foreach_decorator as test_unbounded_foreach_decorator
|
|
11
11
|
from .test_unbounded_foreach_decorator import InternalTestUnboundedForeachInput as InternalTestUnboundedForeachInput
|
|
12
|
-
from . import frameworks as frameworks
|
|
13
|
-
from . import parallel_decorator as parallel_decorator
|
|
14
|
-
from . import pypi as pypi
|
|
15
12
|
from . import aws as aws
|
|
16
|
-
from . import
|
|
17
|
-
from . import kubernetes as kubernetes
|
|
13
|
+
from . import retry_decorator as retry_decorator
|
|
18
14
|
from . import resources_decorator as resources_decorator
|
|
15
|
+
from . import pypi as pypi
|
|
16
|
+
from . import frameworks as frameworks
|
|
17
|
+
from . import parallel_decorator as parallel_decorator
|
|
19
18
|
from . import timeout_decorator as timeout_decorator
|
|
20
|
-
from . import
|
|
19
|
+
from . import datatools as datatools
|
|
20
|
+
from . import kubernetes as kubernetes
|
|
21
|
+
from . import airflow as airflow
|
|
22
|
+
from . import secrets as secrets
|
|
21
23
|
from . import cards as cards
|
|
22
|
-
from . import
|
|
23
|
-
from . import retry_decorator as retry_decorator
|
|
24
|
+
from . import environment_decorator as environment_decorator
|
|
24
25
|
from . import catch_decorator as catch_decorator
|
|
25
|
-
from . import
|
|
26
|
-
from . import datatools as datatools
|
|
26
|
+
from . import argo as argo
|
|
27
27
|
from . import events_decorator as events_decorator
|
|
28
|
-
from . import exit_hook as exit_hook
|
|
29
28
|
from . import project_decorator as project_decorator
|
|
29
|
+
from . import exit_hook as exit_hook
|
|
30
30
|
from . import uv as uv
|
|
31
31
|
from . import azure as azure
|
|
32
32
|
from . import storage_executor as storage_executor
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.652155 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.678406 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.678061 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.678601 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.678858 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.695432 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.695705 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.695936 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.653679 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.702314 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.684892 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.707469 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
|
9
9
|
import metaflow
|
|
10
10
|
import typing
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
-
import metaflow.graph
|
|
13
12
|
import metaflow.exception
|
|
13
|
+
import metaflow.graph
|
|
14
14
|
|
|
15
15
|
from ...parameters import JSONType as JSONType
|
|
16
16
|
from ...metaflow_current import current as current
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.685196 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
|
9
9
|
import metaflow
|
|
10
10
|
import typing
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
-
import metaflow.flowspec
|
|
13
12
|
import metaflow.decorators
|
|
13
|
+
import metaflow.flowspec
|
|
14
14
|
import metaflow.graph
|
|
15
15
|
|
|
16
16
|
from ...metaflow_current import current as current
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.685761 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,9 +9,9 @@ from __future__ import annotations
|
|
|
9
9
|
import metaflow
|
|
10
10
|
import typing
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
+
import typing
|
|
12
13
|
import metaflow.runner.deployer_impl
|
|
13
14
|
import metaflow.plugins.argo.argo_workflows_deployer_objects
|
|
14
|
-
import typing
|
|
15
15
|
|
|
16
16
|
from ...runner.deployer_impl import DeployerImpl as DeployerImpl
|
|
17
17
|
|
|
@@ -93,5 +93,7 @@ class ArgoWorkflowsDeployer(metaflow.runner.deployer_impl.DeployerImpl, metaclas
|
|
|
93
93
|
The Flow deployed to Argo Workflows.
|
|
94
94
|
"""
|
|
95
95
|
...
|
|
96
|
+
def __annotate_func__(format):
|
|
97
|
+
...
|
|
96
98
|
...
|
|
97
99
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.699753 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
|
9
9
|
import metaflow
|
|
10
10
|
import typing
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
-
import metaflow.plugins.argo.argo_workflows_deployer_objects
|
|
13
12
|
import metaflow.runner.deployer
|
|
13
|
+
import metaflow.plugins.argo.argo_workflows_deployer_objects
|
|
14
14
|
|
|
15
15
|
from ...client.core import get_metadata as get_metadata
|
|
16
16
|
from ...exception import MetaflowException as MetaflowException
|
|
@@ -75,7 +75,7 @@ class ArgoWorkflowsTriggeredRun(metaflow.runner.deployer.TriggeredRun, metaclass
|
|
|
75
75
|
True if the command was successful, False otherwise.
|
|
76
76
|
"""
|
|
77
77
|
...
|
|
78
|
-
def wait_for_completion(self, check_interval: int = 5, timeout:
|
|
78
|
+
def wait_for_completion(self, check_interval: int = 5, timeout: int | None = None):
|
|
79
79
|
"""
|
|
80
80
|
Wait for the workflow to complete or timeout.
|
|
81
81
|
|
|
@@ -106,7 +106,7 @@ class ArgoWorkflowsTriggeredRun(metaflow.runner.deployer.TriggeredRun, metaclass
|
|
|
106
106
|
"""
|
|
107
107
|
...
|
|
108
108
|
@property
|
|
109
|
-
def status(self) ->
|
|
109
|
+
def status(self) -> str | None:
|
|
110
110
|
"""
|
|
111
111
|
Get the status of the triggered run.
|
|
112
112
|
|
|
@@ -124,7 +124,7 @@ class ArgoWorkflowsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
124
124
|
A class representing a deployed Argo Workflow template.
|
|
125
125
|
"""
|
|
126
126
|
@classmethod
|
|
127
|
-
def list_deployed_flows(cls, flow_name:
|
|
127
|
+
def list_deployed_flows(cls, flow_name: str | None = None):
|
|
128
128
|
"""
|
|
129
129
|
List all deployed Argo Workflow templates.
|
|
130
130
|
|
|
@@ -142,7 +142,7 @@ class ArgoWorkflowsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
142
142
|
"""
|
|
143
143
|
...
|
|
144
144
|
@classmethod
|
|
145
|
-
def from_deployment(cls, identifier: str, metadata:
|
|
145
|
+
def from_deployment(cls, identifier: str, metadata: str | None = None):
|
|
146
146
|
"""
|
|
147
147
|
Retrieves a `ArgoWorkflowsDeployedFlow` object from an identifier and optional
|
|
148
148
|
metadata.
|
|
@@ -162,7 +162,7 @@ class ArgoWorkflowsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
162
162
|
"""
|
|
163
163
|
...
|
|
164
164
|
@classmethod
|
|
165
|
-
def get_triggered_run(cls, identifier: str, run_id: str, metadata:
|
|
165
|
+
def get_triggered_run(cls, identifier: str, run_id: str, metadata: str | None = None):
|
|
166
166
|
"""
|
|
167
167
|
Retrieves a `ArgoWorkflowsTriggeredRun` object from an identifier, a run id and
|
|
168
168
|
optional metadata.
|
|
@@ -184,7 +184,7 @@ class ArgoWorkflowsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
184
184
|
"""
|
|
185
185
|
...
|
|
186
186
|
@property
|
|
187
|
-
def production_token(self) ->
|
|
187
|
+
def production_token(self) -> str | None:
|
|
188
188
|
"""
|
|
189
189
|
Get the production token for the deployed flow.
|
|
190
190
|
|
|
@@ -230,5 +230,7 @@ class ArgoWorkflowsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
230
230
|
If there is an error during the trigger process.
|
|
231
231
|
"""
|
|
232
232
|
...
|
|
233
|
+
def __annotate_func__(format):
|
|
234
|
+
...
|
|
233
235
|
...
|
|
234
236
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.709581 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -24,15 +24,12 @@ class Hook(object, metaclass=type):
|
|
|
24
24
|
Abstraction for Argo Workflows exit hooks.
|
|
25
25
|
A hook consists of a Template, and one or more LifecycleHooks that trigger the template
|
|
26
26
|
"""
|
|
27
|
-
def
|
|
28
|
-
"""
|
|
29
|
-
The type of the None singleton.
|
|
30
|
-
"""
|
|
27
|
+
def __annotate_func__(format):
|
|
31
28
|
...
|
|
32
29
|
...
|
|
33
30
|
|
|
34
31
|
class HttpExitHook(Hook, metaclass=type):
|
|
35
|
-
def __init__(self, name: str, url: str, method: str = 'GET', headers: typing.
|
|
32
|
+
def __init__(self, name: str, url: str, method: str = 'GET', headers: typing.Dict | None = None, body: str | None = None, on_success: bool = False, on_error: bool = False):
|
|
36
33
|
...
|
|
37
34
|
...
|
|
38
35
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.649672 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
from . import step_functions as step_functions
|
|
11
|
-
from . import aws_utils as aws_utils
|
|
12
11
|
from . import batch as batch
|
|
12
|
+
from . import aws_utils as aws_utils
|
|
13
13
|
from . import aws_client as aws_client
|
|
14
14
|
from . import secrets_manager as secrets_manager
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.667848 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.667602 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.667187 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.693731 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.692913 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.694376 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.668044 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.694712 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -10,9 +10,9 @@ import metaflow
|
|
|
10
10
|
import abc
|
|
11
11
|
import typing
|
|
12
12
|
if typing.TYPE_CHECKING:
|
|
13
|
-
import metaflow.plugins.secrets
|
|
14
|
-
import abc
|
|
15
13
|
import metaflow.exception
|
|
14
|
+
import abc
|
|
15
|
+
import metaflow.plugins.secrets
|
|
16
16
|
|
|
17
17
|
from ....exception import MetaflowException as MetaflowException
|
|
18
18
|
from ...secrets import SecretsProvider as SecretsProvider
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.666961 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.690521 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.709902 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|