metaflow-stubs 2.18.12__py2.py3-none-any.whl → 2.19.0__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 +503 -502
- 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 +62 -31
- 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 +4 -4
- 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 +32 -34
- 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 +11 -11
- metaflow-stubs/packaging_sys/utils.pyi +3 -6
- metaflow-stubs/packaging_sys/v1.pyi +4 -4
- metaflow-stubs/parameters.pyi +6 -9
- metaflow-stubs/plugins/__init__.pyi +11 -11
- 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 +4 -4
- 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 +3 -3
- 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 -3
- 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 +3 -3
- 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 +2 -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 +14 -14
- metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/json_viewer.pyi +4 -4
- 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 +3 -3
- 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 +2 -2
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +3 -3
- 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 +3 -3
- 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 +20 -19
- 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 +4 -5
- 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 +9 -9
- metaflow-stubs/user_decorators/__init__.pyi +2 -2
- metaflow-stubs/user_decorators/common.pyi +6 -6
- metaflow-stubs/user_decorators/mutable_flow.pyi +6 -7
- metaflow-stubs/user_decorators/mutable_step.pyi +6 -9
- metaflow-stubs/user_decorators/user_flow_decorator.pyi +6 -7
- metaflow-stubs/user_decorators/user_step_decorator.pyi +22 -15
- metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.18.12.dist-info → metaflow_stubs-2.19.0.dist-info}/METADATA +2 -2
- metaflow_stubs-2.19.0.dist-info/RECORD +168 -0
- metaflow_stubs-2.18.12.dist-info/RECORD +0 -168
- {metaflow_stubs-2.18.12.dist-info → metaflow_stubs-2.19.0.dist-info}/WHEEL +0 -0
- {metaflow_stubs-2.18.12.dist-info → metaflow_stubs-2.19.0.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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.800871 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -11,8 +11,8 @@ import metaflow
|
|
|
11
11
|
import typing
|
|
12
12
|
if typing.TYPE_CHECKING:
|
|
13
13
|
import metaflow.exception
|
|
14
|
-
import abc
|
|
15
14
|
import metaflow.plugins.secrets
|
|
15
|
+
import abc
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.781394 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.799487 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.816702 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.799958 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.815818 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.817087 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.799747 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.800535 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -10,8 +10,8 @@ import typing
|
|
|
10
10
|
import metaflow
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
12
|
import metaflow.runner.deployer_impl
|
|
13
|
-
import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
|
|
14
13
|
import typing
|
|
14
|
+
import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
|
|
15
15
|
|
|
16
16
|
from ....runner.deployer_impl import DeployerImpl as DeployerImpl
|
|
17
17
|
|
|
@@ -84,5 +84,7 @@ class StepFunctionsDeployer(metaflow.runner.deployer_impl.DeployerImpl, metaclas
|
|
|
84
84
|
The Flow deployed to AWS Step Functions.
|
|
85
85
|
"""
|
|
86
86
|
...
|
|
87
|
+
def __annotate_func__(format):
|
|
88
|
+
...
|
|
87
89
|
...
|
|
88
90
|
|
|
@@ -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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.808262 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -45,7 +45,7 @@ class StepFunctionsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
45
45
|
A class representing a deployed AWS Step Functions state machine.
|
|
46
46
|
"""
|
|
47
47
|
@classmethod
|
|
48
|
-
def list_deployed_flows(cls, flow_name:
|
|
48
|
+
def list_deployed_flows(cls, flow_name: str | None = None):
|
|
49
49
|
"""
|
|
50
50
|
This method is not currently implemented for Step Functions.
|
|
51
51
|
|
|
@@ -56,7 +56,7 @@ class StepFunctionsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
56
56
|
"""
|
|
57
57
|
...
|
|
58
58
|
@classmethod
|
|
59
|
-
def from_deployment(cls, identifier: str, metadata:
|
|
59
|
+
def from_deployment(cls, identifier: str, metadata: str | None = None):
|
|
60
60
|
"""
|
|
61
61
|
This method is not currently implemented for Step Functions.
|
|
62
62
|
|
|
@@ -67,7 +67,7 @@ class StepFunctionsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
67
67
|
"""
|
|
68
68
|
...
|
|
69
69
|
@classmethod
|
|
70
|
-
def get_triggered_run(cls, identifier: str, run_id: str, metadata:
|
|
70
|
+
def get_triggered_run(cls, identifier: str, run_id: str, metadata: str | None = None):
|
|
71
71
|
"""
|
|
72
72
|
This method is not currently implemented for Step Functions.
|
|
73
73
|
|
|
@@ -78,7 +78,7 @@ class StepFunctionsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
78
78
|
"""
|
|
79
79
|
...
|
|
80
80
|
@property
|
|
81
|
-
def production_token(self: metaflow.runner.deployer.DeployedFlow) ->
|
|
81
|
+
def production_token(self: metaflow.runner.deployer.DeployedFlow) -> str | None:
|
|
82
82
|
"""
|
|
83
83
|
Get the production token for the deployed flow.
|
|
84
84
|
|
|
@@ -88,7 +88,7 @@ class StepFunctionsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
88
88
|
The production token, None if it cannot be retrieved.
|
|
89
89
|
"""
|
|
90
90
|
...
|
|
91
|
-
def list_runs(self, states: typing.
|
|
91
|
+
def list_runs(self, states: typing.List[str] | None = None) -> typing.List[metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsTriggeredRun]:
|
|
92
92
|
"""
|
|
93
93
|
List runs of the deployed flow.
|
|
94
94
|
|
|
@@ -146,5 +146,7 @@ class StepFunctionsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass
|
|
|
146
146
|
If there is an error during the trigger process.
|
|
147
147
|
"""
|
|
148
148
|
...
|
|
149
|
+
def __annotate_func__(format):
|
|
150
|
+
...
|
|
149
151
|
...
|
|
150
152
|
|
|
@@ -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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.760997 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.792722 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.792890 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.794339 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -11,8 +11,8 @@ import metaflow
|
|
|
11
11
|
import typing
|
|
12
12
|
if typing.TYPE_CHECKING:
|
|
13
13
|
import metaflow.exception
|
|
14
|
-
import abc
|
|
15
14
|
import metaflow.plugins.secrets
|
|
15
|
+
import abc
|
|
16
16
|
|
|
17
17
|
from ..secrets import SecretsProvider as SecretsProvider
|
|
18
18
|
from ...exception import MetaflowException as MetaflowException
|
|
@@ -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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.793220 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.793493 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.793976 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.758460 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.766916 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,7 +9,6 @@ from __future__ import annotations
|
|
|
9
9
|
import typing
|
|
10
10
|
if typing.TYPE_CHECKING:
|
|
11
11
|
import metaflow.plugins.cards.card_client
|
|
12
|
-
import metaflow
|
|
13
12
|
|
|
14
13
|
from .card_resolver import resolve_paths_from_task as resolve_paths_from_task
|
|
15
14
|
from .card_resolver import resumed_info as resumed_info
|
|
@@ -34,7 +33,7 @@ class Card(object, metaclass=type):
|
|
|
34
33
|
"""
|
|
35
34
|
def __init__(self, card_ds, type, path, hash, id = None, html = None, created_on = None, from_resumed = False, origin_pathspec = None):
|
|
36
35
|
...
|
|
37
|
-
def get_data(self) ->
|
|
36
|
+
def get_data(self) -> dict | None:
|
|
38
37
|
...
|
|
39
38
|
def get(self) -> str:
|
|
40
39
|
"""
|
|
@@ -60,7 +59,7 @@ class Card(object, metaclass=type):
|
|
|
60
59
|
"""
|
|
61
60
|
...
|
|
62
61
|
@property
|
|
63
|
-
def id(self) ->
|
|
62
|
+
def id(self) -> str | None:
|
|
64
63
|
"""
|
|
65
64
|
The ID of the card, if specified with `@card(id=ID)`.
|
|
66
65
|
|
|
@@ -116,7 +115,7 @@ class CardContainer(object, metaclass=type):
|
|
|
116
115
|
...
|
|
117
116
|
...
|
|
118
117
|
|
|
119
|
-
def get_cards(task:
|
|
118
|
+
def get_cards(task: str | ForwardRef('metaflow.Task'), id: str | None = None, type: str | None = None, follow_resumed: bool = True) -> CardContainer:
|
|
120
119
|
"""
|
|
121
120
|
Get cards related to a `Task`.
|
|
122
121
|
|
|
@@ -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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.785673 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.787096 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -16,6 +16,8 @@ CARD_LOCALROOT: None
|
|
|
16
16
|
|
|
17
17
|
DATASTORE_LOCAL_DIR: str
|
|
18
18
|
|
|
19
|
+
DATASTORE_SPIN_LOCAL_DIR: str
|
|
20
|
+
|
|
19
21
|
CARD_SUFFIX: str
|
|
20
22
|
|
|
21
23
|
CARD_AZUREROOT: None
|
|
@@ -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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.786277 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.783346 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.764632 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.767504 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.769988 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,10 +9,10 @@ from __future__ import annotations
|
|
|
9
9
|
import typing
|
|
10
10
|
import metaflow
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
+
import typing
|
|
12
13
|
import metaflow.plugins.cards.card_modules.card
|
|
13
14
|
import metaflow.plugins.cards.card_modules.json_viewer
|
|
14
15
|
import metaflow.plugins.cards.card_modules.components
|
|
15
|
-
import typing
|
|
16
16
|
|
|
17
17
|
from .basic import LogComponent as LogComponent
|
|
18
18
|
from .basic import ErrorComponent as ErrorComponent
|
|
@@ -62,7 +62,7 @@ class Artifact(UserComponent, metaclass=type):
|
|
|
62
62
|
"""
|
|
63
63
|
def update(self, artifact):
|
|
64
64
|
...
|
|
65
|
-
def __init__(self, artifact: typing.Any, name:
|
|
65
|
+
def __init__(self, artifact: typing.Any, name: str | None = None, compressed: bool = True):
|
|
66
66
|
...
|
|
67
67
|
def render(self, *args, **kwargs):
|
|
68
68
|
...
|
|
@@ -110,7 +110,7 @@ class Table(UserComponent, metaclass=type):
|
|
|
110
110
|
"""
|
|
111
111
|
def update(self, *args, **kwargs):
|
|
112
112
|
...
|
|
113
|
-
def __init__(self, data: typing.
|
|
113
|
+
def __init__(self, data: typing.List[typing.List[str | metaflow.plugins.cards.card_modules.card.MetaflowCardComponent]] | None = None, headers: typing.List[str] | None = None, disable_updates: bool = False):
|
|
114
114
|
...
|
|
115
115
|
@classmethod
|
|
116
116
|
def from_dataframe(cls, dataframe = None, truncate: bool = True):
|
|
@@ -185,7 +185,7 @@ class Image(UserComponent, metaclass=type):
|
|
|
185
185
|
def __init__(self, src = None, label = None, disable_updates: bool = True):
|
|
186
186
|
...
|
|
187
187
|
@classmethod
|
|
188
|
-
def from_pil_image(cls, pilimage, label:
|
|
188
|
+
def from_pil_image(cls, pilimage, label: str | None = None, disable_updates: bool = False):
|
|
189
189
|
"""
|
|
190
190
|
Create an `Image` from a PIL image.
|
|
191
191
|
|
|
@@ -198,7 +198,7 @@ class Image(UserComponent, metaclass=type):
|
|
|
198
198
|
"""
|
|
199
199
|
...
|
|
200
200
|
@classmethod
|
|
201
|
-
def from_matplotlib(cls, plot, label:
|
|
201
|
+
def from_matplotlib(cls, plot, label: str | None = None, disable_updates: bool = False):
|
|
202
202
|
"""
|
|
203
203
|
Create an `Image` from a Matplotlib plot.
|
|
204
204
|
|
|
@@ -327,9 +327,9 @@ class ProgressBar(UserComponent, metaclass=type):
|
|
|
327
327
|
metadata : str, optional, default None
|
|
328
328
|
Optional additional information to show on the progress bar.
|
|
329
329
|
"""
|
|
330
|
-
def __init__(self, max: int = 100, label:
|
|
330
|
+
def __init__(self, max: int = 100, label: str | None = None, value: int = 0, unit: str | None = None, metadata: str | None = None):
|
|
331
331
|
...
|
|
332
|
-
def update(self, new_value: int, metadata:
|
|
332
|
+
def update(self, new_value: int, metadata: str | None = None):
|
|
333
333
|
...
|
|
334
334
|
def render(self, *args, **kwargs):
|
|
335
335
|
...
|
|
@@ -391,9 +391,9 @@ class ValueBox(UserComponent, metaclass=type):
|
|
|
391
391
|
Text indicating change or additional context (e.g., "Up 30% VS PREVIOUS 30 DAYS").
|
|
392
392
|
Must be 200 characters or less.
|
|
393
393
|
"""
|
|
394
|
-
def __init__(self, title:
|
|
394
|
+
def __init__(self, title: str | None = None, value: str | int | float = '', subtitle: str | None = None, theme: str | None = None, change_indicator: str | None = None):
|
|
395
395
|
...
|
|
396
|
-
def update(self, title:
|
|
396
|
+
def update(self, title: str | None = None, value: str | int | float | None = None, subtitle: str | None = None, theme: str | None = None, change_indicator: str | None = None):
|
|
397
397
|
"""
|
|
398
398
|
Update the value box with new data.
|
|
399
399
|
|
|
@@ -471,7 +471,7 @@ class PythonCode(UserComponent, metaclass=type):
|
|
|
471
471
|
A string containing Python code to display.
|
|
472
472
|
Either code_func or code_string must be provided.
|
|
473
473
|
"""
|
|
474
|
-
def __init__(self, code_func: typing.
|
|
474
|
+
def __init__(self, code_func: typing.Callable[..., typing.Any] | None = None, code_string: str | None = None):
|
|
475
475
|
...
|
|
476
476
|
def render(self, *args, **kwargs):
|
|
477
477
|
...
|
|
@@ -549,9 +549,9 @@ class EventsTimeline(UserComponent, metaclass=type):
|
|
|
549
549
|
Maximum number of events to display. Older events are removed from display
|
|
550
550
|
but total count is still tracked. Stats and relative time display are always enabled.
|
|
551
551
|
"""
|
|
552
|
-
def __init__(self, title:
|
|
552
|
+
def __init__(self, title: str | None = None, max_events: int = 100):
|
|
553
553
|
...
|
|
554
|
-
def update(self, event_data: dict, style_theme:
|
|
554
|
+
def update(self, event_data: dict, style_theme: str | None = None, priority: str | None = None, payloads: dict | None = None, finished: bool | None = None):
|
|
555
555
|
"""
|
|
556
556
|
Add a new event to the timeline.
|
|
557
557
|
|
|
@@ -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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.796209 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.801803 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -50,7 +50,7 @@ class JSONViewer(metaflow.plugins.cards.card_modules.card.MetaflowCardComponent,
|
|
|
50
50
|
show_copy_button : bool, default True
|
|
51
51
|
Whether to show a copy-to-clipboard button.
|
|
52
52
|
"""
|
|
53
|
-
def __init__(self, data: typing.Any, collapsible: bool = True, max_height:
|
|
53
|
+
def __init__(self, data: typing.Any, collapsible: bool = True, max_height: str | None = None, show_copy_button: bool = True, title: str | None = None):
|
|
54
54
|
...
|
|
55
55
|
def update(self, data: typing.Any):
|
|
56
56
|
"""
|
|
@@ -101,7 +101,7 @@ class YAMLViewer(metaflow.plugins.cards.card_modules.card.MetaflowCardComponent,
|
|
|
101
101
|
show_copy_button : bool, default True
|
|
102
102
|
Whether to show a copy-to-clipboard button.
|
|
103
103
|
"""
|
|
104
|
-
def __init__(self, data: typing.Any, collapsible: bool = True, max_height:
|
|
104
|
+
def __init__(self, data: typing.Any, collapsible: bool = True, max_height: str | None = None, show_copy_button: bool = True, title: str | None = None):
|
|
105
105
|
...
|
|
106
106
|
def update(self, data: typing.Any):
|
|
107
107
|
"""
|
|
@@ -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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.796385 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.765744 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.787308 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.785271 #
|
|
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.0 #
|
|
4
|
+
# Generated on 2025-10-26T02:29:29.784019 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|