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.670201 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -11,10 +11,10 @@ import abc
|
|
|
11
11
|
import io
|
|
12
12
|
import typing
|
|
13
13
|
if typing.TYPE_CHECKING:
|
|
14
|
-
import io
|
|
15
|
-
import metaflow.metaflow_environment
|
|
16
|
-
import abc
|
|
17
14
|
import metaflow.exception
|
|
15
|
+
import abc
|
|
16
|
+
import metaflow.metaflow_environment
|
|
17
|
+
import io
|
|
18
18
|
|
|
19
19
|
from ...exception import MetaflowException as MetaflowException
|
|
20
20
|
from ...metaflow_config import get_pinned_conda_libs as get_pinned_conda_libs
|
|
@@ -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.624946 #
|
|
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.668487 #
|
|
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.670368 #
|
|
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.669393 #
|
|
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.650142 #
|
|
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.649970 #
|
|
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.652552 #
|
|
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.680310 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -10,8 +10,8 @@ import metaflow
|
|
|
10
10
|
import abc
|
|
11
11
|
import typing
|
|
12
12
|
if typing.TYPE_CHECKING:
|
|
13
|
-
import metaflow.plugins.secrets
|
|
14
13
|
import abc
|
|
14
|
+
import metaflow.plugins.secrets
|
|
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.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.680094 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,14 +1,12 @@
|
|
|
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.679803 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
9
|
import typing
|
|
10
|
-
if typing.TYPE_CHECKING:
|
|
11
|
-
import typing
|
|
12
10
|
|
|
13
11
|
from ...exception import MetaflowException as MetaflowException
|
|
14
12
|
from .secrets_spec import SecretSpec as SecretSpec
|
|
@@ -16,7 +14,7 @@ from .utils import get_secrets_backend_provider as get_secrets_backend_provider
|
|
|
16
14
|
|
|
17
15
|
DEFAULT_SECRETS_ROLE: None
|
|
18
16
|
|
|
19
|
-
def get_secret(source:
|
|
17
|
+
def get_secret(source: str | typing.Dict[str, typing.Any], role: str | None = None) -> typing.Dict[str, str]:
|
|
20
18
|
"""
|
|
21
19
|
Get secret from source
|
|
22
20
|
|
|
@@ -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.679528 #
|
|
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.679145 #
|
|
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.655675 #
|
|
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.649451 #
|
|
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.651457 #
|
|
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.decorators
|
|
13
12
|
import metaflow.exception
|
|
13
|
+
import metaflow.decorators
|
|
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.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.1 #
|
|
4
|
+
# Generated on 2025-10-28T01:39:06.655045 #
|
|
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.686347 #
|
|
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
|
from ...packaging_sys import ContentType as ContentType
|
|
@@ -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.635425 #
|
|
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.619146 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,20 +1,19 @@
|
|
|
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.724687 #
|
|
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
|
-
import metaflow.plugins.aws.step_functions.step_functions_deployer
|
|
13
12
|
import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
|
|
14
|
-
import metaflow.plugins.argo.argo_workflows_deployer
|
|
15
|
-
import metaflow.plugins.argo.argo_workflows_deployer_objects
|
|
16
|
-
import metaflow
|
|
17
13
|
import metaflow.runner.deployer
|
|
14
|
+
import metaflow.plugins.aws.step_functions.step_functions_deployer
|
|
15
|
+
import metaflow.plugins.argo.argo_workflows_deployer_objects
|
|
16
|
+
import metaflow.plugins.argo.argo_workflows_deployer
|
|
18
17
|
|
|
19
18
|
from ..exception import MetaflowNotFound as MetaflowNotFound
|
|
20
19
|
|
|
@@ -22,7 +21,7 @@ TYPE_CHECKING: bool
|
|
|
22
21
|
|
|
23
22
|
DEFAULT_FROM_DEPLOYMENT_IMPL: str
|
|
24
23
|
|
|
25
|
-
def generate_fake_flow_file_contents(flow_name: str, param_info: dict, project_name:
|
|
24
|
+
def generate_fake_flow_file_contents(flow_name: str, param_info: dict, project_name: str | None = None):
|
|
26
25
|
...
|
|
27
26
|
|
|
28
27
|
class DeployerMeta(type, metaclass=type):
|
|
@@ -56,9 +55,9 @@ class Deployer(object, metaclass=DeployerMeta):
|
|
|
56
55
|
Additional arguments that you would pass to `python myflow.py` before
|
|
57
56
|
the deployment command.
|
|
58
57
|
"""
|
|
59
|
-
def __init__(self, flow_file: str, show_output: bool = True, profile:
|
|
58
|
+
def __init__(self, flow_file: str, show_output: bool = True, profile: str | None = None, env: typing.Dict | None = None, cwd: str | None = None, file_read_timeout: int = 3600, **kwargs):
|
|
60
59
|
...
|
|
61
|
-
def argo_workflows(self, *, name:
|
|
60
|
+
def argo_workflows(self, *, name: str | None = None) -> "metaflow.plugins.argo.argo_workflows_deployer.ArgoWorkflowsDeployer":
|
|
62
61
|
"""
|
|
63
62
|
Deployer implementation for Argo Workflows.
|
|
64
63
|
|
|
@@ -68,7 +67,7 @@ class Deployer(object, metaclass=DeployerMeta):
|
|
|
68
67
|
Argo workflow name. The flow name is used instead if this option is not specified.
|
|
69
68
|
"""
|
|
70
69
|
...
|
|
71
|
-
def step_functions(self, *, name:
|
|
70
|
+
def step_functions(self, *, name: str | None = None) -> "metaflow.plugins.aws.step_functions.step_functions_deployer.StepFunctionsDeployer":
|
|
72
71
|
"""
|
|
73
72
|
Deployer implementation for AWS Step Functions.
|
|
74
73
|
|
|
@@ -85,7 +84,7 @@ class TriggeredRun(object, metaclass=type):
|
|
|
85
84
|
TriggeredRun class represents a run that has been triggered on a
|
|
86
85
|
production orchestrator.
|
|
87
86
|
"""
|
|
88
|
-
def wait_for_run(self, check_interval: int = 5, timeout:
|
|
87
|
+
def wait_for_run(self, check_interval: int = 5, timeout: int | None = None):
|
|
89
88
|
"""
|
|
90
89
|
Wait for the `run` property to become available.
|
|
91
90
|
|
|
@@ -107,7 +106,7 @@ class TriggeredRun(object, metaclass=type):
|
|
|
107
106
|
"""
|
|
108
107
|
...
|
|
109
108
|
@property
|
|
110
|
-
def run(self) ->
|
|
109
|
+
def run(self) -> ForwardRef('metaflow.Run') | None:
|
|
111
110
|
"""
|
|
112
111
|
Retrieve the `Run` object for the triggered run.
|
|
113
112
|
|
|
@@ -135,8 +134,10 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
|
|
|
135
134
|
This class is not meant to be instantiated directly. Instead, it is returned from
|
|
136
135
|
methods of `Deployer`.
|
|
137
136
|
"""
|
|
137
|
+
def __annotate_func__(format):
|
|
138
|
+
...
|
|
138
139
|
@classmethod
|
|
139
|
-
def from_deployment(cls, *, identifier: str, metadata:
|
|
140
|
+
def from_deployment(cls, *, identifier: str, metadata: str | None = None, impl: str | None = 'given by METAFLOW_DEFAULT_FROM_DEPLOYMENT_IMPL') -> ForwardRef('metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow') | ForwardRef('metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow'):
|
|
140
141
|
"""
|
|
141
142
|
Retrieves a `DeployedFlow` object from an identifier and optional
|
|
142
143
|
metadata. The `impl` parameter specifies the deployer implementation
|
|
@@ -157,12 +158,12 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
|
|
|
157
158
|
|
|
158
159
|
Returns
|
|
159
160
|
-------
|
|
160
|
-
|
|
161
|
+
ForwardRef('metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow') | ForwardRef('metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow')
|
|
161
162
|
A `DeployedFlow` object
|
|
162
163
|
"""
|
|
163
164
|
...
|
|
164
165
|
@classmethod
|
|
165
|
-
def list_deployed_flows(cls, flow_name:
|
|
166
|
+
def list_deployed_flows(cls, flow_name: str | None = None, impl: str = 'argo_workflows'):
|
|
166
167
|
"""
|
|
167
168
|
List all deployed flows for the specified implementation.
|
|
168
169
|
|
|
@@ -181,7 +182,7 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
|
|
|
181
182
|
"""
|
|
182
183
|
...
|
|
183
184
|
@classmethod
|
|
184
|
-
def get_triggered_run(cls, identifier: str, run_id: str, metadata:
|
|
185
|
+
def get_triggered_run(cls, identifier: str, run_id: str, metadata: str | None = None, impl: str = 'argo_workflows') -> TriggeredRun:
|
|
185
186
|
"""
|
|
186
187
|
Retrieves a `TriggeredRun` object from an identifier, a run id and optional
|
|
187
188
|
metadata. The `impl` parameter specifies the deployer implementation
|
|
@@ -206,7 +207,7 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
|
|
|
206
207
|
"""
|
|
207
208
|
...
|
|
208
209
|
@classmethod
|
|
209
|
-
def from_argo_workflows(cls, *, identifier: str, metadata:
|
|
210
|
+
def from_argo_workflows(cls, *, identifier: str, metadata: str | None = None) -> "metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow":
|
|
210
211
|
"""
|
|
211
212
|
Retrieves a `ArgoWorkflowsDeployedFlow` object from an identifier and optional
|
|
212
213
|
metadata.
|
|
@@ -230,10 +231,10 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
|
|
|
230
231
|
"""
|
|
231
232
|
...
|
|
232
233
|
@classmethod
|
|
233
|
-
def list_argo_workflows(cls, flow_name:
|
|
234
|
+
def list_argo_workflows(cls, flow_name: str | None = None):
|
|
234
235
|
...
|
|
235
236
|
@classmethod
|
|
236
|
-
def get_triggered_argo_workflows_run(cls, identifier: str, run_id: str, metadata:
|
|
237
|
+
def get_triggered_argo_workflows_run(cls, identifier: str, run_id: str, metadata: str | None = None):
|
|
237
238
|
...
|
|
238
239
|
@classmethod
|
|
239
240
|
def from_step_functions(cls) -> "metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow":
|
|
@@ -254,10 +255,10 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
|
|
|
254
255
|
"""
|
|
255
256
|
...
|
|
256
257
|
@classmethod
|
|
257
|
-
def list_step_functions(cls, flow_name:
|
|
258
|
+
def list_step_functions(cls, flow_name: str | None = None):
|
|
258
259
|
...
|
|
259
260
|
@classmethod
|
|
260
|
-
def get_triggered_step_functions_run(cls, identifier: str, run_id: str, metadata:
|
|
261
|
+
def get_triggered_step_functions_run(cls, identifier: str, run_id: str, metadata: str | None = None):
|
|
261
262
|
...
|
|
262
263
|
...
|
|
263
264
|
|
|
@@ -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.648829 #
|
|
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.deployer
|
|
12
11
|
import typing
|
|
12
|
+
import metaflow.runner.deployer
|
|
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
|
|
@@ -46,7 +46,7 @@ class DeployerImpl(object, metaclass=type):
|
|
|
46
46
|
Additional arguments that you would pass to `python myflow.py` before
|
|
47
47
|
the deployment command.
|
|
48
48
|
"""
|
|
49
|
-
def __init__(self, flow_file: str, show_output: bool = True, profile:
|
|
49
|
+
def __init__(self, flow_file: str, show_output: bool = True, profile: str | None = None, env: typing.Dict | None = None, cwd: str | None = None, file_read_timeout: int = 3600, **kwargs):
|
|
50
50
|
...
|
|
51
51
|
@property
|
|
52
52
|
def to_reload(self) -> typing.List[str]:
|
|
@@ -95,5 +95,7 @@ class DeployerImpl(object, metaclass=type):
|
|
|
95
95
|
Cleanup resources.
|
|
96
96
|
"""
|
|
97
97
|
...
|
|
98
|
+
def __annotate_func__(format):
|
|
99
|
+
...
|
|
98
100
|
...
|
|
99
101
|
|