metaflow-stubs 2.15.18__py2.py3-none-any.whl → 2.15.19__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 +472 -468
- 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 +2 -2
- metaflow-stubs/client/core.pyi +6 -6
- metaflow-stubs/client/filecache.pyi +3 -3
- metaflow-stubs/events.pyi +2 -2
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +5 -5
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +4 -4
- metaflow-stubs/info_file.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 +3 -3
- metaflow-stubs/metadata_provider/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +2 -2
- metaflow-stubs/metaflow_current.pyi +18 -18
- metaflow-stubs/metaflow_git.pyi +2 -2
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +4 -4
- metaflow-stubs/plugins/__init__.pyi +17 -15
- 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 +6 -33
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
- metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +3 -3
- metaflow-stubs/plugins/argo/exit_hooks.pyi +48 -0
- 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 +5 -5
- metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
- 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 +2 -2
- metaflow-stubs/plugins/cards/card_creator.pyi +4 -3
- metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
- metaflow-stubs/plugins/cards/card_decorator.pyi +13 -2
- 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 +3 -3
- metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +10 -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 +2 -2
- 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 +4 -4
- 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 +11 -0
- metaflow-stubs/plugins/exit_hook/exit_hook_decorator.pyi +20 -0
- 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/project_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +6 -6
- 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 +7 -3
- metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +4 -4
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +9 -49
- metaflow-stubs/plugins/secrets/secrets_func.pyi +32 -0
- metaflow-stubs/plugins/secrets/secrets_spec.pyi +42 -0
- metaflow-stubs/plugins/secrets/utils.pyi +28 -0
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
- metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
- 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 +30 -30
- metaflow-stubs/runner/deployer_impl.pyi +3 -3
- metaflow-stubs/runner/metaflow_runner.pyi +4 -4
- metaflow-stubs/runner/nbdeploy.pyi +2 -2
- metaflow-stubs/runner/nbrun.pyi +2 -2
- metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- metaflow-stubs/runner/utils.pyi +4 -4
- metaflow-stubs/system/__init__.pyi +2 -2
- metaflow-stubs/system/system_logger.pyi +3 -3
- metaflow-stubs/system/system_monitor.pyi +2 -2
- 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_decorators.pyi +6 -6
- metaflow-stubs/user_configs/config_options.pyi +4 -4
- metaflow-stubs/user_configs/config_parameters.pyi +6 -6
- metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.15.18.dist-info → metaflow_stubs-2.15.19.dist-info}/METADATA +2 -2
- metaflow_stubs-2.15.19.dist-info/RECORD +155 -0
- metaflow_stubs-2.15.18.dist-info/RECORD +0 -149
- {metaflow_stubs-2.15.18.dist-info → metaflow_stubs-2.15.19.dist-info}/WHEEL +0 -0
- {metaflow_stubs-2.15.18.dist-info → metaflow_stubs-2.15.19.dist-info}/top_level.txt +0 -0
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.875073 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
import abc
|
|
10
9
|
import typing
|
|
10
|
+
import abc
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
12
|
import abc
|
|
13
13
|
|
|
14
|
+
from . import utils as utils
|
|
15
|
+
from . import secrets_spec as secrets_spec
|
|
16
|
+
from . import secrets_func as secrets_func
|
|
17
|
+
from .secrets_func import get_secrets as get_secrets
|
|
14
18
|
from . import secrets_decorator as secrets_decorator
|
|
15
19
|
from . import inline_secrets_provider as inline_secrets_provider
|
|
16
20
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.903458 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
import abc
|
|
10
9
|
import metaflow
|
|
10
|
+
import abc
|
|
11
11
|
import typing
|
|
12
12
|
if typing.TYPE_CHECKING:
|
|
13
|
-
import abc
|
|
14
13
|
import metaflow.plugins.secrets
|
|
14
|
+
import abc
|
|
15
15
|
|
|
16
16
|
from . import SecretsProvider as SecretsProvider
|
|
17
17
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.903262 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -12,58 +12,16 @@ if typing.TYPE_CHECKING:
|
|
|
12
12
|
import metaflow.decorators
|
|
13
13
|
|
|
14
14
|
from ...exception import MetaflowException as MetaflowException
|
|
15
|
+
from .secrets_spec import SecretSpec as SecretSpec
|
|
16
|
+
from .utils import get_secrets_backend_provider as get_secrets_backend_provider
|
|
17
|
+
from .utils import validate_env_vars as validate_env_vars
|
|
18
|
+
from .utils import validate_env_vars_across_secrets as validate_env_vars_across_secrets
|
|
19
|
+
from .utils import validate_env_vars_vs_existing_env as validate_env_vars_vs_existing_env
|
|
15
20
|
|
|
16
21
|
DEFAULT_SECRETS_ROLE: None
|
|
17
22
|
|
|
18
23
|
UBF_TASK: str
|
|
19
24
|
|
|
20
|
-
DISALLOWED_SECRETS_ENV_VAR_PREFIXES: list
|
|
21
|
-
|
|
22
|
-
def get_default_secrets_backend_type():
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
class SecretSpec(object, metaclass=type):
|
|
26
|
-
def __init__(self, secrets_backend_type, secret_id, options = {}, role = None):
|
|
27
|
-
...
|
|
28
|
-
@property
|
|
29
|
-
def secrets_backend_type(self):
|
|
30
|
-
...
|
|
31
|
-
@property
|
|
32
|
-
def secret_id(self):
|
|
33
|
-
...
|
|
34
|
-
@property
|
|
35
|
-
def options(self):
|
|
36
|
-
...
|
|
37
|
-
@property
|
|
38
|
-
def role(self):
|
|
39
|
-
...
|
|
40
|
-
def to_json(self):
|
|
41
|
-
"""
|
|
42
|
-
Mainly used for testing... not the same as the input dict in secret_spec_from_dict()!
|
|
43
|
-
"""
|
|
44
|
-
...
|
|
45
|
-
def __str__(self):
|
|
46
|
-
...
|
|
47
|
-
@staticmethod
|
|
48
|
-
def secret_spec_from_str(secret_spec_str, role):
|
|
49
|
-
...
|
|
50
|
-
@staticmethod
|
|
51
|
-
def secret_spec_from_dict(secret_spec_dict, role):
|
|
52
|
-
...
|
|
53
|
-
...
|
|
54
|
-
|
|
55
|
-
def validate_env_vars_across_secrets(all_secrets_env_vars):
|
|
56
|
-
...
|
|
57
|
-
|
|
58
|
-
def validate_env_vars_vs_existing_env(all_secrets_env_vars):
|
|
59
|
-
...
|
|
60
|
-
|
|
61
|
-
def validate_env_vars(env_vars):
|
|
62
|
-
...
|
|
63
|
-
|
|
64
|
-
def get_secrets_backend_provider(secrets_backend_type):
|
|
65
|
-
...
|
|
66
|
-
|
|
67
25
|
class SecretsDecorator(metaflow.decorators.StepDecorator, metaclass=type):
|
|
68
26
|
"""
|
|
69
27
|
Specifies secrets to be retrieved and injected as environment variables prior to
|
|
@@ -73,6 +31,8 @@ class SecretsDecorator(metaflow.decorators.StepDecorator, metaclass=type):
|
|
|
73
31
|
----------
|
|
74
32
|
sources : List[Union[str, Dict[str, Any]]], default: []
|
|
75
33
|
List of secret specs, defining how the secrets are to be retrieved
|
|
34
|
+
role : str, optional, default: None
|
|
35
|
+
Role to use for fetching secrets
|
|
76
36
|
"""
|
|
77
37
|
def task_pre_step(self, step_name, task_datastore, metadata, run_id, task_id, flow, graph, retry_count, max_user_code_retries, ubf_context, inputs):
|
|
78
38
|
...
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
######################################################################################################
|
|
2
|
+
# Auto-generated Metaflow stub file #
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.902941 #
|
|
5
|
+
######################################################################################################
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
import typing
|
|
10
|
+
if typing.TYPE_CHECKING:
|
|
11
|
+
import metaflow.plugins.secrets.secrets_spec
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
from ...exception import MetaflowException as MetaflowException
|
|
15
|
+
from .secrets_spec import SecretSpec as SecretSpec
|
|
16
|
+
from .utils import get_secrets_backend_provider as get_secrets_backend_provider
|
|
17
|
+
|
|
18
|
+
DEFAULT_SECRETS_ROLE: None
|
|
19
|
+
|
|
20
|
+
def get_secrets(sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = [], role: typing.Optional[str] = None) -> typing.Dict[metaflow.plugins.secrets.secrets_spec.SecretSpec, typing.Dict[str, str]]:
|
|
21
|
+
"""
|
|
22
|
+
Get secrets from sources
|
|
23
|
+
|
|
24
|
+
Parameters
|
|
25
|
+
----------
|
|
26
|
+
sources : List[Union[str, Dict[str, Any]]], default: []
|
|
27
|
+
List of secret specs, defining how the secrets are to be retrieved
|
|
28
|
+
role : str, optional
|
|
29
|
+
Role to use for fetching secrets
|
|
30
|
+
"""
|
|
31
|
+
...
|
|
32
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
######################################################################################################
|
|
2
|
+
# Auto-generated Metaflow stub file #
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.902664 #
|
|
5
|
+
######################################################################################################
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
from ...exception import MetaflowException as MetaflowException
|
|
11
|
+
from .utils import get_default_secrets_backend_type as get_default_secrets_backend_type
|
|
12
|
+
|
|
13
|
+
class SecretSpec(object, metaclass=type):
|
|
14
|
+
def __init__(self, secrets_backend_type, secret_id, options = {}, role = None):
|
|
15
|
+
...
|
|
16
|
+
@property
|
|
17
|
+
def secrets_backend_type(self):
|
|
18
|
+
...
|
|
19
|
+
@property
|
|
20
|
+
def secret_id(self):
|
|
21
|
+
...
|
|
22
|
+
@property
|
|
23
|
+
def options(self):
|
|
24
|
+
...
|
|
25
|
+
@property
|
|
26
|
+
def role(self):
|
|
27
|
+
...
|
|
28
|
+
def to_json(self):
|
|
29
|
+
"""
|
|
30
|
+
Mainly used for testing... not the same as the input dict in secret_spec_from_dict()!
|
|
31
|
+
"""
|
|
32
|
+
...
|
|
33
|
+
def __str__(self):
|
|
34
|
+
...
|
|
35
|
+
@staticmethod
|
|
36
|
+
def secret_spec_from_str(secret_spec_str, role):
|
|
37
|
+
...
|
|
38
|
+
@staticmethod
|
|
39
|
+
def secret_spec_from_dict(secret_spec_dict, role):
|
|
40
|
+
...
|
|
41
|
+
...
|
|
42
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
######################################################################################################
|
|
2
|
+
# Auto-generated Metaflow stub file #
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.902300 #
|
|
5
|
+
######################################################################################################
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
from ...exception import MetaflowException as MetaflowException
|
|
11
|
+
|
|
12
|
+
DISALLOWED_SECRETS_ENV_VAR_PREFIXES: list
|
|
13
|
+
|
|
14
|
+
def get_default_secrets_backend_type():
|
|
15
|
+
...
|
|
16
|
+
|
|
17
|
+
def validate_env_vars_across_secrets(all_secrets_env_vars):
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
def validate_env_vars_vs_existing_env(all_secrets_env_vars):
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
def validate_env_vars(env_vars):
|
|
24
|
+
...
|
|
25
|
+
|
|
26
|
+
def get_secrets_backend_provider(secrets_backend_type):
|
|
27
|
+
...
|
|
28
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.877353 #
|
|
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.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.871243 #
|
|
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.unbounded_foreach
|
|
13
12
|
import metaflow.decorators
|
|
13
|
+
import metaflow.unbounded_foreach
|
|
14
14
|
|
|
15
15
|
from ..exception import MetaflowException as MetaflowException
|
|
16
16
|
from ..metadata_provider.metadata import MetaDatum as MetaDatum
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.873389 #
|
|
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.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.876777 #
|
|
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.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.907200 #
|
|
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.metaflow_environment
|
|
13
12
|
import metaflow.exception
|
|
13
|
+
import metaflow.metaflow_environment
|
|
14
14
|
|
|
15
15
|
from ...exception import MetaflowException as MetaflowException
|
|
16
16
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.863891 #
|
|
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.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.848763 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.945982 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
import typing
|
|
10
9
|
import metaflow
|
|
10
|
+
import typing
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
12
|
import metaflow
|
|
13
|
-
import metaflow.plugins.argo.argo_workflows_deployer_objects
|
|
14
|
-
import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
|
|
15
|
-
import metaflow.plugins.aws.step_functions.step_functions_deployer
|
|
16
13
|
import metaflow.plugins.argo.argo_workflows_deployer
|
|
14
|
+
import metaflow.plugins.aws.step_functions.step_functions_deployer
|
|
15
|
+
import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
|
|
17
16
|
import metaflow.runner.deployer
|
|
17
|
+
import metaflow.plugins.argo.argo_workflows_deployer_objects
|
|
18
18
|
|
|
19
19
|
from ..exception import MetaflowNotFound as MetaflowNotFound
|
|
20
20
|
|
|
@@ -58,24 +58,24 @@ class Deployer(object, metaclass=DeployerMeta):
|
|
|
58
58
|
"""
|
|
59
59
|
def __init__(self, flow_file: str, show_output: bool = True, profile: typing.Optional[str] = None, env: typing.Optional[typing.Dict] = None, cwd: typing.Optional[str] = None, file_read_timeout: int = 3600, **kwargs):
|
|
60
60
|
...
|
|
61
|
-
def
|
|
61
|
+
def step_functions(self, *, name: typing.Optional[str] = None) -> "metaflow.plugins.aws.step_functions.step_functions_deployer.StepFunctionsDeployer":
|
|
62
62
|
"""
|
|
63
|
-
Deployer implementation for
|
|
63
|
+
Deployer implementation for AWS Step Functions.
|
|
64
64
|
|
|
65
65
|
Parameters
|
|
66
66
|
----------
|
|
67
67
|
name : str, optional, default None
|
|
68
|
-
|
|
68
|
+
State Machine name. The flow name is used instead if this option is not specified.
|
|
69
69
|
"""
|
|
70
70
|
...
|
|
71
|
-
def
|
|
71
|
+
def argo_workflows(self, *, name: typing.Optional[str] = None) -> "metaflow.plugins.argo.argo_workflows_deployer.ArgoWorkflowsDeployer":
|
|
72
72
|
"""
|
|
73
|
-
Deployer implementation for
|
|
73
|
+
Deployer implementation for Argo Workflows.
|
|
74
74
|
|
|
75
75
|
Parameters
|
|
76
76
|
----------
|
|
77
77
|
name : str, optional, default None
|
|
78
|
-
|
|
78
|
+
Argo workflow name. The flow name is used instead if this option is not specified.
|
|
79
79
|
"""
|
|
80
80
|
...
|
|
81
81
|
...
|
|
@@ -162,45 +162,45 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
|
|
|
162
162
|
"""
|
|
163
163
|
...
|
|
164
164
|
@classmethod
|
|
165
|
-
def
|
|
165
|
+
def from_step_functions(cls) -> "metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow":
|
|
166
166
|
"""
|
|
167
|
-
|
|
168
|
-
metadata.
|
|
169
|
-
|
|
167
|
+
This method is not currently implemented for Step Functions.
|
|
170
168
|
|
|
169
|
+
Raises
|
|
170
|
+
------
|
|
171
|
+
NotImplementedError
|
|
172
|
+
This method is not implemented for Step Functions.
|
|
171
173
|
|
|
172
174
|
Parameters
|
|
173
175
|
----------
|
|
174
|
-
identifier : str
|
|
175
|
-
Deployer specific identifier for the workflow to retrieve
|
|
176
|
-
metadata : str, optional, default None
|
|
177
|
-
Optional deployer specific metadata.
|
|
178
|
-
|
|
179
176
|
|
|
180
177
|
|
|
181
178
|
Returns
|
|
182
179
|
-------
|
|
183
|
-
ArgoWorkflowsDeployedFlow
|
|
184
|
-
A `ArgoWorkflowsDeployedFlow` object representing the
|
|
185
|
-
deployed flow on argo workflows.
|
|
186
180
|
"""
|
|
187
181
|
...
|
|
188
182
|
@classmethod
|
|
189
|
-
def
|
|
183
|
+
def from_argo_workflows(cls, *, identifier: str, metadata: typing.Optional[str] = None) -> "metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow":
|
|
190
184
|
"""
|
|
191
|
-
|
|
185
|
+
Retrieves a `ArgoWorkflowsDeployedFlow` object from an identifier and optional
|
|
186
|
+
metadata.
|
|
187
|
+
|
|
192
188
|
|
|
193
|
-
Raises
|
|
194
|
-
------
|
|
195
|
-
NotImplementedError
|
|
196
|
-
This method is not implemented for Step Functions.
|
|
197
189
|
|
|
198
190
|
Parameters
|
|
199
191
|
----------
|
|
192
|
+
identifier : str
|
|
193
|
+
Deployer specific identifier for the workflow to retrieve
|
|
194
|
+
metadata : str, optional, default None
|
|
195
|
+
Optional deployer specific metadata.
|
|
196
|
+
|
|
200
197
|
|
|
201
198
|
|
|
202
199
|
Returns
|
|
203
200
|
-------
|
|
201
|
+
ArgoWorkflowsDeployedFlow
|
|
202
|
+
A `ArgoWorkflowsDeployedFlow` object representing the
|
|
203
|
+
deployed flow on argo workflows.
|
|
204
204
|
"""
|
|
205
205
|
...
|
|
206
206
|
...
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.870607 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
9
|
import typing
|
|
10
10
|
if typing.TYPE_CHECKING:
|
|
11
|
-
import typing
|
|
12
11
|
import metaflow.runner.deployer
|
|
12
|
+
import typing
|
|
13
13
|
|
|
14
14
|
from .subprocess_manager import SubprocessManager as SubprocessManager
|
|
15
15
|
from .utils import get_lower_level_group as get_lower_level_group
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.862079 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
import typing
|
|
10
9
|
import metaflow
|
|
10
|
+
import typing
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
-
import metaflow.runner.metaflow_runner
|
|
13
12
|
import metaflow.runner.subprocess_manager
|
|
13
|
+
import metaflow.runner.metaflow_runner
|
|
14
14
|
import metaflow.client.core
|
|
15
15
|
|
|
16
16
|
from ..client.core import Run as Run
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.863080 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/runner/nbrun.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.862672 #
|
|
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.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.869983 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/runner/utils.pyi
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.868758 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
9
|
import typing
|
|
10
10
|
if typing.TYPE_CHECKING:
|
|
11
|
+
import metaflow.runner.click_api
|
|
11
12
|
import metaflow.runner.subprocess_manager
|
|
12
|
-
import typing
|
|
13
13
|
import types
|
|
14
|
-
import
|
|
14
|
+
import typing
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
TYPE_CHECKING: bool
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.863613 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.887289 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
9
|
import typing
|
|
10
10
|
if typing.TYPE_CHECKING:
|
|
11
|
-
import typing
|
|
12
11
|
import metaflow.event_logger
|
|
12
|
+
import typing
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class SystemLogger(object, metaclass=type):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.886883 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/tagging_util.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.842249 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/tuple_util.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.847825 #
|
|
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.15.
|
|
4
|
-
# Generated on 2025-
|
|
3
|
+
# MF version: 2.15.19 #
|
|
4
|
+
# Generated on 2025-07-10T01:18:40.841902 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|