metaflow-stubs 2.11.15__py2.py3-none-any.whl → 2.12.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.
- metaflow-stubs/__init__.pyi +606 -407
- metaflow-stubs/cards.pyi +4 -4
- metaflow-stubs/cli.pyi +42 -22
- metaflow-stubs/client/__init__.pyi +3 -3
- metaflow-stubs/client/core.pyi +7 -7
- metaflow-stubs/client/filecache.pyi +3 -3
- metaflow-stubs/clone_util.pyi +2 -2
- metaflow-stubs/events.pyi +2 -2
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +3 -3
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +4 -4
- metaflow-stubs/metadata/metadata.pyi +2 -2
- metaflow-stubs/metadata/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +14 -2
- metaflow-stubs/metaflow_current.pyi +5 -5
- metaflow-stubs/mflog/mflog.pyi +2 -2
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +3 -3
- metaflow-stubs/plugins/__init__.pyi +10 -2
- metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow.pyi +12 -4
- metaflow-stubs/plugins/airflow/airflow_cli.pyi +3 -3
- 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 +3 -3
- metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +3 -3
- metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +3 -3
- metaflow-stubs/plugins/argo/__init__.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_client.pyi +4 -2
- metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_workflows.pyi +7 -3
- metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
- metaflow-stubs/plugins/aws/__init__.pyi +2 -2
- 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_cli.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/production_token.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_cli.pyi +3 -3
- 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/azure/__init__.pyi +5 -2
- metaflow-stubs/plugins/azure/azure_credential.pyi +28 -0
- metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +58 -0
- metaflow-stubs/plugins/azure/azure_utils.pyi +5 -5
- metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +5 -5
- metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/cards/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_cli.pyi +4 -4
- metaflow-stubs/plugins/cards/card_client.pyi +3 -3
- 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 -2
- 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/chevron/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.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 +3 -3
- metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- metaflow-stubs/plugins/cards/component_serializer.pyi +5 -5
- metaflow-stubs/plugins/cards/exception.pyi +2 -2
- metaflow-stubs/plugins/catch_decorator.pyi +3 -3
- metaflow-stubs/plugins/datatools/__init__.pyi +3 -3
- metaflow-stubs/plugins/datatools/local.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/__init__.pyi +3 -3
- metaflow-stubs/plugins/datatools/s3/s3.pyi +8 -5
- 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 +3 -3
- metaflow-stubs/plugins/gcp/__init__.pyi +5 -2
- metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +73 -0
- metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +16 -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/kubernetes.pyi +15 -3
- metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +16 -5
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +13 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +21 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +15 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +127 -0
- metaflow-stubs/plugins/logs_cli.pyi +3 -3
- metaflow-stubs/plugins/package_cli.pyi +2 -2
- metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- metaflow-stubs/plugins/project_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +3 -3
- metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/pypi_environment.pyi +3 -3
- 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 +2 -2
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/tag_cli.pyi +4 -4
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
- metaflow-stubs/plugins/timeout_decorator.pyi +5 -3
- metaflow-stubs/procpoll.pyi +2 -2
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +9 -0
- metaflow-stubs/runner/metaflow_runner.pyi +696 -0
- metaflow-stubs/runner/nbrun.pyi +224 -0
- metaflow-stubs/runner/subprocess_manager.pyi +221 -0
- metaflow-stubs/tagging_util.pyi +2 -2
- metaflow-stubs/tuple_util.pyi +14 -0
- metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.11.15.dist-info → metaflow_stubs-2.12.0.dist-info}/METADATA +2 -2
- metaflow_stubs-2.12.0.dist-info/RECORD +142 -0
- metaflow_stubs-2.11.15.dist-info/RECORD +0 -133
- {metaflow_stubs-2.11.15.dist-info → metaflow_stubs-2.12.0.dist-info}/WHEEL +0 -0
- {metaflow_stubs-2.11.15.dist-info → metaflow_stubs-2.12.0.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.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.178939 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -10,10 +10,10 @@ import typing
|
|
10
10
|
if typing.TYPE_CHECKING:
|
11
11
|
import metaflow
|
12
12
|
import metaflow.plugins.cards.card_modules.card
|
13
|
-
import metaflow.plugins.cards.card_modules.basic
|
14
13
|
import metaflow.plugins.cards.card_modules.components
|
15
|
-
import metaflow.plugins.cards.card_client
|
16
14
|
import typing
|
15
|
+
import metaflow.plugins.cards.card_client
|
16
|
+
import metaflow.plugins.cards.card_modules.basic
|
17
17
|
|
18
18
|
def get_cards(task: typing.Union[str, "metaflow.Task"], id: typing.Optional[str] = None, type: typing.Optional[str] = None, follow_resumed: bool = True) -> metaflow.plugins.cards.card_client.CardContainer:
|
19
19
|
"""
|
metaflow-stubs/cli.pyi
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.188718 #
|
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.exception
|
12
11
|
import metaflow.metaflow_current
|
12
|
+
import metaflow.exception
|
13
13
|
|
14
14
|
def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
|
15
15
|
"""
|
@@ -31,16 +31,23 @@ def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
|
|
31
31
|
"""
|
32
32
|
...
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
def validate_tags(tags, existing_tags = None):
|
34
|
+
def get_metadata() -> str:
|
37
35
|
"""
|
38
|
-
|
36
|
+
Returns the current Metadata provider.
|
39
37
|
|
40
|
-
|
41
|
-
|
38
|
+
If this is not set explicitly using `metadata`, the default value is
|
39
|
+
determined through the Metaflow configuration. You can use this call to
|
40
|
+
check that your configuration is set up properly.
|
42
41
|
|
43
|
-
|
42
|
+
If multiple configuration profiles are present, this call returns the one
|
43
|
+
selected through the `METAFLOW_PROFILE` environment variable.
|
44
|
+
|
45
|
+
Returns
|
46
|
+
-------
|
47
|
+
str
|
48
|
+
Information about the Metadata provider currently selected. This information typically
|
49
|
+
returns provider specific information (like URL for remote providers or local paths for
|
50
|
+
local providers).
|
44
51
|
"""
|
45
52
|
...
|
46
53
|
|
@@ -54,16 +61,6 @@ class MetaflowException(Exception, metaclass=type):
|
|
54
61
|
...
|
55
62
|
...
|
56
63
|
|
57
|
-
DATASTORES: list
|
58
|
-
|
59
|
-
ENVIRONMENTS: list
|
60
|
-
|
61
|
-
LOGGING_SIDECARS: dict
|
62
|
-
|
63
|
-
METADATA_PROVIDERS: list
|
64
|
-
|
65
|
-
MONITOR_SIDECARS: dict
|
66
|
-
|
67
64
|
DEFAULT_DATASTORE: str
|
68
65
|
|
69
66
|
DEFAULT_ENVIRONMENT: str
|
@@ -76,6 +73,20 @@ DEFAULT_MONITOR: str
|
|
76
73
|
|
77
74
|
DEFAULT_PACKAGE_SUFFIXES: str
|
78
75
|
|
76
|
+
current: metaflow.metaflow_current.Current
|
77
|
+
|
78
|
+
LOG_SOURCES: list
|
79
|
+
|
80
|
+
DATASTORES: list
|
81
|
+
|
82
|
+
ENVIRONMENTS: list
|
83
|
+
|
84
|
+
LOGGING_SIDECARS: dict
|
85
|
+
|
86
|
+
METADATA_PROVIDERS: list
|
87
|
+
|
88
|
+
MONITOR_SIDECARS: dict
|
89
|
+
|
79
90
|
class PyLint(object, metaclass=type):
|
80
91
|
def __init__(self, fname):
|
81
92
|
...
|
@@ -85,7 +96,16 @@ class PyLint(object, metaclass=type):
|
|
85
96
|
...
|
86
97
|
...
|
87
98
|
|
88
|
-
|
99
|
+
def validate_tags(tags, existing_tags = None):
|
100
|
+
"""
|
101
|
+
Raises MetaflowTaggingError if invalid based on these rules:
|
102
|
+
|
103
|
+
Tag set size is too large. But it's OK if tag set is not larger
|
104
|
+
than an existing tag set (if provided).
|
105
|
+
|
106
|
+
Then, we validate each tag. See validate_tag()
|
107
|
+
"""
|
108
|
+
...
|
89
109
|
|
90
110
|
UBF_CONTROL: str
|
91
111
|
|
@@ -115,7 +135,7 @@ def logger(body = "", system_msg = False, head = "", bad = False, timestamp = Tr
|
|
115
135
|
def common_run_options(func):
|
116
136
|
...
|
117
137
|
|
118
|
-
def
|
138
|
+
def write_file(file_path, content):
|
119
139
|
...
|
120
140
|
|
121
141
|
def before_run(obj, tags, decospecs):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.181932 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
11
|
import metaflow.client.core
|
12
|
-
import datetime
|
13
12
|
import metaflow.events
|
13
|
+
import datetime
|
14
14
|
import typing
|
15
15
|
|
16
16
|
def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
|
metaflow-stubs/client/core.pyi
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.165323 #
|
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.events
|
12
|
-
import datetime
|
13
11
|
import metaflow
|
12
|
+
import datetime
|
14
13
|
import metaflow.client.core
|
15
|
-
import metaflow.exception
|
16
|
-
import tarfile
|
17
|
-
import metaflow.metaflow_current
|
18
14
|
import typing
|
15
|
+
import metaflow.metaflow_current
|
16
|
+
import metaflow.events
|
17
|
+
import tarfile
|
18
|
+
import metaflow.exception
|
19
19
|
|
20
20
|
current: metaflow.metaflow_current.Current
|
21
21
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.189755 #
|
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.exception
|
12
11
|
import metaflow.datastore.content_addressed_store
|
12
|
+
import metaflow.exception
|
13
13
|
|
14
14
|
class MetaflowException(Exception, metaclass=type):
|
15
15
|
def __init__(self, msg = "", lineno = None):
|
metaflow-stubs/clone_util.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.187329 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/events.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.167869 #
|
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.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.156081 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/flowspec.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.166982 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,10 +9,10 @@ from __future__ import annotations
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
11
|
import metaflow.parameters
|
12
|
-
import metaflow.exception
|
13
12
|
import metaflow.datastore.inputs
|
14
13
|
import metaflow.unbounded_foreach
|
15
14
|
import typing
|
15
|
+
import metaflow.exception
|
16
16
|
|
17
17
|
class DelayedEvaluationParameter(object, metaclass=type):
|
18
18
|
def __init__(self, name, field, fun):
|
metaflow-stubs/generated_for.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.12.0 2024-05-28T09:55:27.139119
|
metaflow-stubs/includefile.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.176873 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,10 +9,10 @@ from __future__ import annotations
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
11
|
import metaflow.parameters
|
12
|
-
import io
|
13
|
-
import metaflow.plugins.datatools.s3.s3
|
14
12
|
import metaflow._vendor.click.types
|
13
|
+
import metaflow.plugins.datatools.s3.s3
|
15
14
|
import typing
|
15
|
+
import io
|
16
16
|
|
17
17
|
class MetaflowException(Exception, metaclass=type):
|
18
18
|
def __init__(self, msg = "", lineno = None):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.211687 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/metadata/util.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.263111 #
|
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 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.157447 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -28,6 +28,8 @@ DEFAULT_PACKAGE_SUFFIXES: str
|
|
28
28
|
|
29
29
|
DEFAULT_AWS_CLIENT_PROVIDER: str
|
30
30
|
|
31
|
+
DEFAULT_GCP_CLIENT_PROVIDER: str
|
32
|
+
|
31
33
|
DEFAULT_SECRETS_BACKEND_TYPE: None
|
32
34
|
|
33
35
|
DEFAULT_SECRETS_ROLE: None
|
@@ -84,6 +86,10 @@ DATATOOLS_LOCALROOT: None
|
|
84
86
|
|
85
87
|
AWS_SECRETS_MANAGER_DEFAULT_REGION: None
|
86
88
|
|
89
|
+
GCP_SECRET_MANAGER_PREFIX: None
|
90
|
+
|
91
|
+
AZURE_KEY_VAULT_PREFIX: None
|
92
|
+
|
87
93
|
ARTIFACT_LOCALROOT: str
|
88
94
|
|
89
95
|
CARD_SUFFIX: str
|
@@ -126,6 +132,8 @@ INCLUDE_FOREACH_STACK: bool
|
|
126
132
|
|
127
133
|
MAXIMUM_FOREACH_VALUE_CHARS: int
|
128
134
|
|
135
|
+
DEFAULT_RUNTIME_LIMIT: int
|
136
|
+
|
129
137
|
UI_URL: None
|
130
138
|
|
131
139
|
CONTACT_INFO: dict
|
@@ -194,6 +202,10 @@ ARGO_WORKFLOWS_KUBERNETES_SECRETS: str
|
|
194
202
|
|
195
203
|
ARGO_WORKFLOWS_ENV_VARS_TO_SKIP: str
|
196
204
|
|
205
|
+
KUBERNETES_JOBSET_GROUP: str
|
206
|
+
|
207
|
+
KUBERNETES_JOBSET_VERSION: str
|
208
|
+
|
197
209
|
ARGO_EVENTS_SERVICE_ACCOUNT: None
|
198
210
|
|
199
211
|
ARGO_EVENTS_EVENT_BUS: str
|
@@ -1,18 +1,18 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.268101 #
|
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.
|
11
|
+
import metaflow.plugins.cards.component_serializer
|
12
12
|
import metaflow
|
13
|
-
import metaflow.metaflow_current
|
14
13
|
import typing
|
15
|
-
import metaflow.
|
14
|
+
import metaflow.metaflow_current
|
15
|
+
import metaflow.events
|
16
16
|
|
17
17
|
TYPE_CHECKING: bool
|
18
18
|
|
metaflow-stubs/mflog/mflog.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.212074 #
|
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 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.157949 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/parameters.pyi
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.159363 #
|
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.exception
|
12
11
|
import metaflow.parameters
|
13
12
|
import typing
|
14
13
|
import metaflow._vendor.click.types
|
14
|
+
import metaflow.exception
|
15
15
|
|
16
16
|
class ParameterFieldFailed(metaflow.exception.MetaflowException, metaclass=type):
|
17
17
|
def __init__(self, name, field):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.169745 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -52,6 +52,10 @@ SENSOR_FLOW_DECORATORS: list
|
|
52
52
|
|
53
53
|
SECRETS_PROVIDERS_DESC: list
|
54
54
|
|
55
|
+
GCP_CLIENT_PROVIDERS_DESC: list
|
56
|
+
|
57
|
+
AZURE_CLIENT_PROVIDERS_DESC: list
|
58
|
+
|
55
59
|
def get_plugin_cli():
|
56
60
|
...
|
57
61
|
|
@@ -75,6 +79,10 @@ AWS_CLIENT_PROVIDERS: list
|
|
75
79
|
|
76
80
|
SECRETS_PROVIDERS: list
|
77
81
|
|
82
|
+
AZURE_CLIENT_PROVIDERS: list
|
83
|
+
|
84
|
+
GCP_CLIENT_PROVIDERS: list
|
85
|
+
|
78
86
|
MF_EXTERNAL_CARDS: list
|
79
87
|
|
80
88
|
class BlankCard(metaflow.plugins.cards.card_modules.card.MetaflowCard, metaclass=type):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.194893 #
|
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 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.244542 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
11
|
import metaflow.exception
|
12
|
-
import metaflow.metaflow_current
|
13
12
|
import metaflow._vendor.click.types
|
13
|
+
import metaflow.metaflow_current
|
14
14
|
|
15
15
|
current: metaflow.metaflow_current.Current
|
16
16
|
|
@@ -42,6 +42,8 @@ AIRFLOW_KUBERNETES_STARTUP_TIMEOUT_SECONDS: int
|
|
42
42
|
|
43
43
|
AWS_SECRETS_MANAGER_DEFAULT_REGION: None
|
44
44
|
|
45
|
+
GCP_SECRET_MANAGER_PREFIX: None
|
46
|
+
|
45
47
|
AZURE_STORAGE_BLOB_SERVICE_ENDPOINT: None
|
46
48
|
|
47
49
|
CARD_AZUREROOT: None
|
@@ -70,6 +72,8 @@ SERVICE_HEADERS: dict
|
|
70
72
|
|
71
73
|
SERVICE_INTERNAL_URL: None
|
72
74
|
|
75
|
+
AZURE_KEY_VAULT_PREFIX: None
|
76
|
+
|
73
77
|
class DelayedEvaluationParameter(object, metaclass=type):
|
74
78
|
def __init__(self, name, field, fun):
|
75
79
|
...
|
@@ -94,7 +98,11 @@ class Kubernetes(object, metaclass=type):
|
|
94
98
|
...
|
95
99
|
def launch_job(self, **kwargs):
|
96
100
|
...
|
97
|
-
def
|
101
|
+
def create_jobset(self, job_spec = None, run_id = None, step_name = None, task_id = None, namespace = None, env = None, num_parallel = None, port = None, annotations = None, labels = None):
|
102
|
+
...
|
103
|
+
def create_job_object(self, flow_name, run_id, step_name, task_id, attempt, user, code_package_sha, code_package_url, code_package_ds, step_cli, docker_image, docker_image_pull_policy, service_account = None, secrets = None, node_selector = None, namespace = None, cpu = None, gpu = None, gpu_vendor = None, disk = None, memory = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, run_time_limit = None, env = None, persistent_volume_claims = None, tolerations = None, labels = None, shared_memory = None, port = None, name_pattern = None, num_parallel = None):
|
104
|
+
...
|
105
|
+
def create_k8sjob(self, job):
|
98
106
|
...
|
99
107
|
def wait(self, stdout_location, stderr_location, echo = None):
|
100
108
|
...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.245677 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
11
|
import metaflow.exception
|
12
|
-
import metaflow.metaflow_current
|
13
12
|
import metaflow.decorators
|
13
|
+
import metaflow.metaflow_current
|
14
14
|
|
15
15
|
current: metaflow.metaflow_current.Current
|
16
16
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.242239 #
|
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 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.241793 #
|
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 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.242497 #
|
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 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.242766 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,15 +1,15 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.264525 #
|
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.exception
|
12
11
|
import metaflow.decorators
|
12
|
+
import metaflow.exception
|
13
13
|
|
14
14
|
class AirflowException(metaflow.exception.MetaflowException, metaclass=type):
|
15
15
|
def __init__(self, msg):
|
@@ -1,16 +1,16 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.
|
4
|
-
# Generated on 2024-05-
|
3
|
+
# MF version: 2.12.0 #
|
4
|
+
# Generated on 2024-05-28T09:55:27.265007 #
|
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.exception
|
12
11
|
import metaflow.decorators
|
13
12
|
import metaflow.plugins.airflow.sensors.base_sensor
|
13
|
+
import metaflow.exception
|
14
14
|
|
15
15
|
class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
|
16
16
|
def __init__(self, *args, **kwargs):
|