metaflow-stubs 2.12.36__py2.py3-none-any.whl → 2.12.37__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.
- metaflow-stubs/__init__.pyi +193 -189
- metaflow-stubs/cards.pyi +2 -2
- metaflow-stubs/cli.pyi +9 -21
- metaflow-stubs/{plugins/cards/card_modules/chevron/metadata.pyi → cli_components/__init__.pyi} +3 -4
- metaflow-stubs/cli_components/utils.pyi +35 -0
- metaflow-stubs/client/__init__.pyi +2 -2
- metaflow-stubs/client/core.pyi +5 -5
- metaflow-stubs/client/filecache.pyi +3 -3
- metaflow-stubs/events.pyi +2 -2
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +10 -3
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +19 -12
- 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 +2 -2
- metaflow-stubs/metadata_provider/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +4 -2
- metaflow-stubs/metaflow_current.pyi +5 -5
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +34 -17
- metaflow-stubs/plugins/__init__.pyi +13 -13
- metaflow-stubs/plugins/airflow/__init__.pyi +2 -4
- 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 -5
- 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 +4 -3
- 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 +4 -4
- 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 -3
- 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 +3 -3
- metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +5 -5
- metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -7
- 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 +3 -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 +5 -5
- 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 -3
- metaflow-stubs/plugins/cards/card_client.pyi +2 -2
- metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
- metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -3
- metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
- metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
- 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 +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 +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/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 +5 -5
- 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 -3
- metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes.pyi +3 -3
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +3 -3
- metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.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 +6 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +6 -6
- 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 +3 -3
- metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +4 -4
- metaflow-stubs/plugins/secrets/secrets_decorator.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 +4 -4
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +2 -2
- metaflow-stubs/runner/deployer.pyi +7 -7
- 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 +3 -3
- metaflow-stubs/system/__init__.pyi +2 -2
- metaflow-stubs/system/system_logger.pyi +2 -2
- metaflow-stubs/system/system_monitor.pyi +2 -2
- metaflow-stubs/tagging_util.pyi +2 -2
- metaflow-stubs/tuple_util.pyi +2 -2
- metaflow-stubs/{plugins/package_cli.pyi → user_configs/__init__.pyi} +5 -3
- metaflow-stubs/user_configs/config_decorators.pyi +253 -0
- metaflow-stubs/user_configs/config_options.pyi +82 -0
- metaflow-stubs/user_configs/config_parameters.pyi +217 -0
- metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.12.36.dist-info → metaflow_stubs-2.12.37.dist-info}/METADATA +2 -2
- metaflow_stubs-2.12.37.dist-info/RECORD +144 -0
- metaflow-stubs/clone_util.pyi +0 -14
- metaflow-stubs/mflog/__init__.pyi +0 -6
- metaflow-stubs/mflog/mflog.pyi +0 -69
- metaflow-stubs/plugins/airflow/airflow.pyi +0 -89
- metaflow-stubs/plugins/airflow/airflow_cli.pyi +0 -37
- metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +0 -103
- metaflow-stubs/plugins/aws/batch/batch_cli.pyi +0 -25
- metaflow-stubs/plugins/aws/step_functions/production_token.pyi +0 -19
- metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +0 -69
- metaflow-stubs/plugins/cards/card_cli.pyi +0 -146
- metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +0 -17
- metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +0 -22
- metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +0 -77
- metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +0 -76
- metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +0 -33
- metaflow-stubs/plugins/logs_cli.pyi +0 -46
- metaflow-stubs/plugins/tag_cli.pyi +0 -19
- metaflow-stubs/procpoll.pyi +0 -53
- metaflow_stubs-2.12.36.dist-info/RECORD +0 -158
- {metaflow_stubs-2.12.36.dist-info → metaflow_stubs-2.12.37.dist-info}/WHEEL +0 -0
- {metaflow_stubs-2.12.36.dist-info → metaflow_stubs-2.12.37.dist-info}/top_level.txt +0 -0
metaflow-stubs/cards.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.543117 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/cli.pyi
CHANGED
@@ -1,23 +1,26 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.552847 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
|
10
10
|
from ._vendor import click as click
|
11
|
-
from .client.core import get_metadata as get_metadata
|
12
|
-
from .client.core import namespace as namespace
|
13
11
|
from . import parameters as parameters
|
14
12
|
from . import plugins as plugins
|
13
|
+
from .cli_components.utils import LazyGroup as LazyGroup
|
14
|
+
from .cli_components.utils import LazyPluginCommandCollection as LazyPluginCommandCollection
|
15
15
|
from .exception import CommandException as CommandException
|
16
16
|
from .exception import MetaflowException as MetaflowException
|
17
17
|
from .metaflow_current import current as current
|
18
|
-
from .mflog import mflog as mflog
|
19
18
|
from .pylint_wrapper import PyLint as PyLint
|
20
|
-
from .
|
19
|
+
from .user_configs.config_options import LocalFileInput as LocalFileInput
|
20
|
+
from .user_configs.config_options import config_options as config_options
|
21
|
+
from .user_configs.config_parameters import ConfigValue as ConfigValue
|
22
|
+
from .cli_components.utils import cli as cli
|
23
|
+
from .cli_components.utils import start as start
|
21
24
|
|
22
25
|
DECOSPECS: str
|
23
26
|
|
@@ -33,8 +36,6 @@ DEFAULT_MONITOR: str
|
|
33
36
|
|
34
37
|
DEFAULT_PACKAGE_SUFFIXES: str
|
35
38
|
|
36
|
-
LOG_SOURCES: list
|
37
|
-
|
38
39
|
DATASTORES: list
|
39
40
|
|
40
41
|
ENVIRONMENTS: list
|
@@ -45,10 +46,6 @@ METADATA_PROVIDERS: list
|
|
45
46
|
|
46
47
|
MONITOR_SIDECARS: dict
|
47
48
|
|
48
|
-
UBF_CONTROL: str
|
49
|
-
|
50
|
-
UBF_TASK: str
|
51
|
-
|
52
49
|
ERASE_TO_EOL: str
|
53
50
|
|
54
51
|
HIGHLIGHT: str
|
@@ -73,15 +70,6 @@ def logger(body = '', system_msg = False, head = '', bad = False, timestamp = Tr
|
|
73
70
|
def config_merge_cb(ctx, param, value):
|
74
71
|
...
|
75
72
|
|
76
|
-
def common_run_options(func):
|
77
|
-
...
|
78
|
-
|
79
|
-
def write_file(file_path, content):
|
80
|
-
...
|
81
|
-
|
82
|
-
def before_run(obj, tags, decospecs):
|
83
|
-
...
|
84
|
-
|
85
73
|
def print_metaflow_exception(ex):
|
86
74
|
...
|
87
75
|
|
metaflow-stubs/{plugins/cards/card_modules/chevron/metadata.pyi → cli_components/__init__.pyi}
RENAMED
@@ -1,12 +1,11 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.551414 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
|
10
|
-
|
11
|
-
version: str
|
10
|
+
from . import utils as utils
|
12
11
|
|
@@ -0,0 +1,35 @@
|
|
1
|
+
######################################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.576018 #
|
5
|
+
######################################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import metaflow
|
10
|
+
import typing
|
11
|
+
if typing.TYPE_CHECKING:
|
12
|
+
import metaflow._vendor.click.core
|
13
|
+
|
14
|
+
from .._vendor import click as click
|
15
|
+
|
16
|
+
class LazyPluginCommandCollection(metaflow._vendor.click.core.CommandCollection, metaclass=type):
|
17
|
+
def __init__(self, *args, lazy_sources = None, **kwargs):
|
18
|
+
...
|
19
|
+
def invoke(self, ctx):
|
20
|
+
...
|
21
|
+
def list_commands(self, ctx):
|
22
|
+
...
|
23
|
+
def get_command(self, ctx, cmd_name):
|
24
|
+
...
|
25
|
+
...
|
26
|
+
|
27
|
+
class LazyGroup(metaflow._vendor.click.core.Group, metaclass=type):
|
28
|
+
def __init__(self, *args, lazy_subcommands = None, **kwargs):
|
29
|
+
...
|
30
|
+
def list_commands(self, ctx):
|
31
|
+
...
|
32
|
+
def get_command(self, ctx, cmd_name):
|
33
|
+
...
|
34
|
+
...
|
35
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.543468 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/client/core.pyi
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.548660 #
|
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 typing
|
13
12
|
import metaflow.events
|
14
|
-
import
|
13
|
+
import typing
|
15
14
|
import metaflow.client.core
|
15
|
+
import datetime
|
16
16
|
import tarfile
|
17
17
|
|
18
18
|
from ..metaflow_current import current as current
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.575611 #
|
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.datastore.content_addressed_store
|
13
12
|
import metaflow.exception
|
13
|
+
import metaflow.datastore.content_addressed_store
|
14
14
|
|
15
15
|
from ..exception import MetaflowException as MetaflowException
|
16
16
|
|
metaflow-stubs/events.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.536975 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/exception.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.527300 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/flowspec.pyi
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.532852 #
|
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 typing
|
13
13
|
import metaflow.flowspec
|
@@ -20,7 +20,14 @@ from .parameters import DelayedEvaluationParameter as DelayedEvaluationParameter
|
|
20
20
|
from .parameters import Parameter as Parameter
|
21
21
|
from .exception import MetaflowException as MetaflowException
|
22
22
|
from .exception import MissingInMergeArtifactsException as MissingInMergeArtifactsException
|
23
|
+
from .exception import MetaflowInternalError as MetaflowInternalError
|
23
24
|
from .exception import UnhandledInMergeArtifactsException as UnhandledInMergeArtifactsException
|
25
|
+
from .user_configs.config_decorators import CustomFlowDecorator as CustomFlowDecorator
|
26
|
+
from .user_configs.config_decorators import CustomStepDecorator as CustomStepDecorator
|
27
|
+
from .user_configs.config_decorators import MutableFlow as MutableFlow
|
28
|
+
from .user_configs.config_decorators import MutableStep as MutableStep
|
29
|
+
|
30
|
+
TYPE_CHECKING: bool
|
24
31
|
|
25
32
|
INCLUDE_FOREACH_STACK: bool
|
26
33
|
|
metaflow-stubs/generated_for.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.12.
|
1
|
+
2.12.37 2024-12-07T08:10:43.525476
|
metaflow-stubs/includefile.pyi
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.542838 #
|
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 typing
|
13
12
|
import metaflow.parameters
|
14
13
|
import metaflow._vendor.click.types
|
14
|
+
import typing
|
15
15
|
|
16
16
|
from ._vendor import click as click
|
17
17
|
from .exception import MetaflowException as MetaflowException
|
@@ -19,6 +19,7 @@ from .parameters import DelayedEvaluationParameter as DelayedEvaluationParameter
|
|
19
19
|
from .parameters import DeployTimeField as DeployTimeField
|
20
20
|
from .parameters import Parameter as Parameter
|
21
21
|
from .parameters import ParameterContext as ParameterContext
|
22
|
+
from .user_configs.config_parameters import ConfigValue as ConfigValue
|
22
23
|
|
23
24
|
DATACLIENTS: list
|
24
25
|
|
@@ -61,20 +62,26 @@ class IncludeFile(metaflow.parameters.Parameter, metaclass=type):
|
|
61
62
|
default : Union[str, Callable[ParameterContext, str]]
|
62
63
|
Default path to a local file. A function
|
63
64
|
implies that the parameter corresponds to a *deploy-time parameter*.
|
64
|
-
is_text : bool, default
|
65
|
+
is_text : bool, optional, default None
|
65
66
|
Convert the file contents to a string using the provided `encoding`.
|
66
|
-
If False, the artifact is stored in `bytes`.
|
67
|
-
|
68
|
-
|
69
|
-
|
67
|
+
If False, the artifact is stored in `bytes`. A value of None is equivalent to
|
68
|
+
True.
|
69
|
+
encoding : str, optional, default None
|
70
|
+
Use this encoding to decode the file contexts if `is_text=True`. A value of None
|
71
|
+
is equivalent to "utf-8".
|
72
|
+
required : bool, optional, default None
|
70
73
|
Require that the user specified a value for the parameter.
|
71
|
-
`required=True` implies that the `default` is not used.
|
74
|
+
`required=True` implies that the `default` is not used. A value of None is
|
75
|
+
equivalent to False
|
72
76
|
help : str, optional
|
73
77
|
Help text to show in `run --help`.
|
74
78
|
show_default : bool, default True
|
75
|
-
If True, show the default value in the help text.
|
79
|
+
If True, show the default value in the help text. A value of None is equivalent
|
80
|
+
to True.
|
76
81
|
"""
|
77
|
-
def __init__(self, name: str, required: bool =
|
82
|
+
def __init__(self, name: str, required: typing.Optional[bool] = None, is_text: typing.Optional[bool] = None, encoding: typing.Optional[str] = None, help: typing.Optional[str] = None, **kwargs: typing.Dict[str, str]):
|
83
|
+
...
|
84
|
+
def init(self):
|
78
85
|
...
|
79
86
|
def load_parameter(self, v):
|
80
87
|
...
|
metaflow-stubs/info_file.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.526416 #
|
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.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.531539 #
|
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.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.555938 #
|
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.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.555347 #
|
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.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.555618 #
|
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.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.528672 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -259,6 +259,8 @@ DEBUG_TRACING: bool
|
|
259
259
|
|
260
260
|
DEBUG_STUBGEN: bool
|
261
261
|
|
262
|
+
DEBUG_USERCONF: bool
|
263
|
+
|
262
264
|
AWS_SANDBOX_ENABLED: bool
|
263
265
|
|
264
266
|
AWS_SANDBOX_STS_ENDPOINT_URL: None
|
@@ -1,18 +1,18 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.630833 #
|
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
|
-
import metaflow
|
13
11
|
import metaflow.events
|
14
|
-
import
|
12
|
+
import typing
|
15
13
|
import metaflow.metaflow_current
|
14
|
+
import metaflow.plugins.cards.component_serializer
|
15
|
+
import metaflow
|
16
16
|
|
17
17
|
|
18
18
|
TYPE_CHECKING: bool
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.529193 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/parameters.pyi
CHANGED
@@ -1,31 +1,33 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.530658 #
|
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 typing
|
13
12
|
import metaflow.parameters
|
14
13
|
import metaflow._vendor.click.types
|
14
|
+
import typing
|
15
15
|
|
16
16
|
from ._vendor import click as click
|
17
17
|
from .exception import ParameterFieldFailed as ParameterFieldFailed
|
18
18
|
from .exception import ParameterFieldTypeMismatch as ParameterFieldTypeMismatch
|
19
19
|
from .exception import MetaflowException as MetaflowException
|
20
20
|
|
21
|
+
TYPE_CHECKING: bool
|
22
|
+
|
21
23
|
class ParameterContext(tuple, metaclass=type):
|
22
24
|
"""
|
23
|
-
ParameterContext(flow_name, user_name, parameter_name, logger, ds_type)
|
25
|
+
ParameterContext(flow_name, user_name, parameter_name, logger, ds_type, configs)
|
24
26
|
"""
|
25
27
|
@staticmethod
|
26
|
-
def __new__(_cls, flow_name: str, user_name: str, parameter_name: str, logger: typing.Callable[..., None], ds_type: str):
|
28
|
+
def __new__(_cls, flow_name: str, user_name: str, parameter_name: str, logger: typing.Callable[..., None], ds_type: str, configs: typing.Optional["ConfigValue"]):
|
27
29
|
"""
|
28
|
-
Create new instance of ParameterContext(flow_name, user_name, parameter_name, logger, ds_type)
|
30
|
+
Create new instance of ParameterContext(flow_name, user_name, parameter_name, logger, ds_type, configs)
|
29
31
|
"""
|
30
32
|
...
|
31
33
|
def __repr__(self):
|
@@ -38,7 +40,7 @@ class ParameterContext(tuple, metaclass=type):
|
|
38
40
|
Return self as a plain tuple. Used by copy and pickle.
|
39
41
|
"""
|
40
42
|
...
|
41
|
-
def __init__(self, flow_name: str, user_name: str, parameter_name: str, logger: typing.Callable[..., None], ds_type: str):
|
43
|
+
def __init__(self, flow_name: str, user_name: str, parameter_name: str, logger: typing.Callable[..., None], ds_type: str, configs: typing.Optional["ConfigValue"]):
|
42
44
|
...
|
43
45
|
...
|
44
46
|
|
@@ -52,6 +54,13 @@ def flow_context(flow_cls):
|
|
52
54
|
|
53
55
|
context_proto: None
|
54
56
|
|
57
|
+
def replace_flow_context(flow_cls):
|
58
|
+
"""
|
59
|
+
Replace the current flow context with a new flow class. This is used
|
60
|
+
when we change the current flow class after having run user configuration functions
|
61
|
+
"""
|
62
|
+
...
|
63
|
+
|
55
64
|
class JSONTypeClass(metaflow._vendor.click.types.ParamType, metaclass=type):
|
56
65
|
def convert(self, value, param, ctx):
|
57
66
|
...
|
@@ -86,7 +95,7 @@ class DeployTimeField(object, metaclass=type):
|
|
86
95
|
def deploy_time_eval(value):
|
87
96
|
...
|
88
97
|
|
89
|
-
def set_parameter_context(flow_name, echo, datastore):
|
98
|
+
def set_parameter_context(flow_name, echo, datastore, configs):
|
90
99
|
...
|
91
100
|
|
92
101
|
class DelayedEvaluationParameter(object, metaclass=type):
|
@@ -135,7 +144,11 @@ class Parameter(object, metaclass=type):
|
|
135
144
|
----------
|
136
145
|
name : str
|
137
146
|
User-visible parameter name.
|
138
|
-
default : str
|
147
|
+
default : Union[str, float, int, bool, Dict[str, Any],
|
148
|
+
Callable[
|
149
|
+
[ParameterContext], Union[str, float, int, bool, Dict[str, Any]]
|
150
|
+
],
|
151
|
+
], optional, default None
|
139
152
|
Default value for the parameter. Use a special `JSONType` class to
|
140
153
|
indicate that the value must be a valid JSON object. A function
|
141
154
|
implies that the parameter corresponds to a *deploy-time parameter*.
|
@@ -144,15 +157,19 @@ class Parameter(object, metaclass=type):
|
|
144
157
|
If `default` is not specified, define the parameter type. Specify
|
145
158
|
one of `str`, `float`, `int`, `bool`, or `JSONType`. If None, defaults
|
146
159
|
to the type of `default` or `str` if none specified.
|
147
|
-
help : str, optional
|
160
|
+
help : str, optional, default None
|
148
161
|
Help text to show in `run --help`.
|
149
|
-
required : bool, default
|
150
|
-
Require that the user specified a value for the parameter.
|
151
|
-
|
152
|
-
|
153
|
-
|
162
|
+
required : bool, optional, default None
|
163
|
+
Require that the user specified a value for the parameter. Note that if
|
164
|
+
a default is provide, the required flag is ignored.
|
165
|
+
A value of None is equivalent to False.
|
166
|
+
show_default : bool, optional, default None
|
167
|
+
If True, show the default value in the help text. A value of None is equivalent
|
168
|
+
to True.
|
154
169
|
"""
|
155
|
-
def __init__(self, name: str, default: typing.Union[str, float, int, bool, typing.Dict[str, typing.Any], typing.Callable[[], typing.Union[str, float, int, bool, typing.Dict[str, typing.Any]]], None] = None, type: typing.Union[typing.Type[str], typing.Type[float], typing.Type[int], typing.Type[bool], JSONTypeClass, None] = None, help: typing.Optional[str] = None, required: bool =
|
170
|
+
def __init__(self, name: str, default: typing.Union[str, float, int, bool, typing.Dict[str, typing.Any], typing.Callable[[ParameterContext], typing.Union[str, float, int, bool, typing.Dict[str, typing.Any]]], None] = None, type: typing.Union[typing.Type[str], typing.Type[float], typing.Type[int], typing.Type[bool], JSONTypeClass, None] = None, help: typing.Optional[str] = None, required: typing.Optional[bool] = None, show_default: typing.Optional[bool] = None, **kwargs: typing.Dict[str, typing.Any]):
|
171
|
+
...
|
172
|
+
def init(self):
|
156
173
|
...
|
157
174
|
def __repr__(self):
|
158
175
|
...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.538123 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,21 +9,21 @@ from __future__ import annotations
|
|
9
9
|
|
10
10
|
from . import test_unbounded_foreach_decorator as test_unbounded_foreach_decorator
|
11
11
|
from .test_unbounded_foreach_decorator import InternalTestUnboundedForeachInput as InternalTestUnboundedForeachInput
|
12
|
+
from . import retry_decorator as retry_decorator
|
13
|
+
from . import pypi as pypi
|
14
|
+
from . import parallel_decorator as parallel_decorator
|
15
|
+
from . import airflow as airflow
|
16
|
+
from . import aws as aws
|
17
|
+
from . import frameworks as frameworks
|
12
18
|
from . import kubernetes as kubernetes
|
13
19
|
from . import resources_decorator as resources_decorator
|
14
20
|
from . import timeout_decorator as timeout_decorator
|
15
|
-
from . import aws as aws
|
16
|
-
from . import catch_decorator as catch_decorator
|
17
21
|
from . import secrets as secrets
|
18
|
-
from . import
|
19
|
-
from . import frameworks as frameworks
|
20
|
-
from . import retry_decorator as retry_decorator
|
22
|
+
from . import datatools as datatools
|
21
23
|
from . import cards as cards
|
22
|
-
from . import pypi as pypi
|
23
|
-
from . import airflow as airflow
|
24
24
|
from . import argo as argo
|
25
|
-
from . import datatools as datatools
|
26
25
|
from . import environment_decorator as environment_decorator
|
26
|
+
from . import catch_decorator as catch_decorator
|
27
27
|
from . import events_decorator as events_decorator
|
28
28
|
from . import project_decorator as project_decorator
|
29
29
|
from . import gcp as gcp
|
@@ -45,9 +45,6 @@ from .cards.card_modules.test_cards import TestPathSpecCard as TestPathSpecCard
|
|
45
45
|
from .cards.card_modules.test_cards import TestTimeoutCard as TestTimeoutCard
|
46
46
|
from .cards.card_modules.test_cards import TestRefreshCard as TestRefreshCard
|
47
47
|
from .cards.card_modules.test_cards import TestRefreshComponentCard as TestRefreshComponentCard
|
48
|
-
from . import tag_cli as tag_cli
|
49
|
-
from . import logs_cli as logs_cli
|
50
|
-
from . import package_cli as package_cli
|
51
48
|
|
52
49
|
CLIS_DESC: list
|
53
50
|
|
@@ -84,6 +81,9 @@ DEPLOYER_IMPL_PROVIDERS_DESC: list
|
|
84
81
|
def get_plugin_cli():
|
85
82
|
...
|
86
83
|
|
84
|
+
def get_plugin_cli_path():
|
85
|
+
...
|
86
|
+
|
87
87
|
STEP_DECORATORS: list
|
88
88
|
|
89
89
|
FLOW_DECORATORS: list
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.561074 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -11,6 +11,4 @@ from . import airflow_utils as airflow_utils
|
|
11
11
|
from . import airflow_decorator as airflow_decorator
|
12
12
|
from . import exception as exception
|
13
13
|
from . import sensors as sensors
|
14
|
-
from . import airflow as airflow
|
15
|
-
from . import airflow_cli as airflow_cli
|
16
14
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.580894 #
|
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.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.37 #
|
4
|
+
# Generated on 2024-12-07T08:10:43.580534 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|