metaflow-stubs 2.12.8__py2.py3-none-any.whl → 2.12.9__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 +535 -486
- metaflow-stubs/cards.pyi +6 -6
- metaflow-stubs/cli.pyi +2 -2
- 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 +4 -4
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +5 -5
- metaflow-stubs/metadata/metadata.pyi +2 -2
- metaflow-stubs/metadata/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +2 -2
- metaflow-stubs/metaflow_current.pyi +32 -9
- 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 +7 -3
- metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow.pyi +5 -5
- 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 +2 -2
- metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_workflows.pyi +38 -5
- metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +270 -5
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +228 -3
- metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +292 -0
- 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 +3 -3
- metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
- metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/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 +24 -4
- 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 +260 -0
- metaflow-stubs/plugins/azure/__init__.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
- metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
- metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
- metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/cards/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_cli.pyi +3 -3
- 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 +3 -3
- 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 +3 -3
- metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
- metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- metaflow-stubs/plugins/cards/component_serializer.pyi +3 -3
- 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 +6 -6
- 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 +3 -3
- metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- metaflow-stubs/plugins/frameworks/pytorch.pyi +5 -3
- metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
- metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
- metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes.pyi +18 -10
- metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +12 -12
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +26 -3
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +14 -31
- metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +26 -3
- metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +82 -28
- metaflow-stubs/plugins/logs_cli.pyi +4 -4
- metaflow-stubs/plugins/package_cli.pyi +2 -2
- metaflow-stubs/plugins/parallel_decorator.pyi +47 -2
- metaflow-stubs/plugins/project_decorator.pyi +3 -3
- metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +4 -4
- 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 +3 -3
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +3 -3
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/tag_cli.pyi +4 -4
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +26 -3
- metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
- metaflow-stubs/procpoll.pyi +2 -2
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +2 -2
- metaflow-stubs/runner/deployer.pyi +354 -0
- metaflow-stubs/runner/metaflow_runner.pyi +10 -10
- metaflow-stubs/runner/nbdeploy.pyi +54 -0
- metaflow-stubs/runner/nbrun.pyi +7 -7
- metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- metaflow-stubs/runner/utils.pyi +25 -0
- 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/version.pyi +2 -2
- {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.9.dist-info}/METADATA +2 -2
- metaflow_stubs-2.12.9.dist-info/RECORD +150 -0
- {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.9.dist-info}/WHEEL +1 -1
- metaflow_stubs-2.12.8.dist-info/RECORD +0 -145
- {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.9.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,292 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.327127 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import typing
|
10
|
+
if typing.TYPE_CHECKING:
|
11
|
+
import metaflow.runner.subprocess_manager
|
12
|
+
import metaflow.runner.deployer
|
13
|
+
import metaflow.graph
|
14
|
+
|
15
|
+
class ArgoWorkflows(object, metaclass=type):
|
16
|
+
def __init__(self, name, graph: metaflow.graph.FlowGraph, flow, code_package_sha, code_package_url, production_token, metadata, flow_datastore, environment, event_logger, monitor, tags = None, namespace = None, username = None, max_workers = None, workflow_timeout = None, workflow_priority = None, auto_emit_argo_events = False, notify_on_error = False, notify_on_success = False, notify_slack_webhook_url = None, notify_pager_duty_integration_key = None):
|
17
|
+
...
|
18
|
+
def __str__(self):
|
19
|
+
...
|
20
|
+
def deploy(self):
|
21
|
+
...
|
22
|
+
@staticmethod
|
23
|
+
def list_templates(flow_name, all = False):
|
24
|
+
...
|
25
|
+
@staticmethod
|
26
|
+
def delete(name):
|
27
|
+
...
|
28
|
+
@classmethod
|
29
|
+
def terminate(cls, flow_name, name):
|
30
|
+
...
|
31
|
+
@staticmethod
|
32
|
+
def get_workflow_status(flow_name, name):
|
33
|
+
...
|
34
|
+
@staticmethod
|
35
|
+
def suspend(name):
|
36
|
+
...
|
37
|
+
@staticmethod
|
38
|
+
def unsuspend(name):
|
39
|
+
...
|
40
|
+
@classmethod
|
41
|
+
def trigger(cls, name, parameters = None):
|
42
|
+
...
|
43
|
+
def schedule(self):
|
44
|
+
...
|
45
|
+
def trigger_explanation(self):
|
46
|
+
...
|
47
|
+
@classmethod
|
48
|
+
def get_existing_deployment(cls, name):
|
49
|
+
...
|
50
|
+
@classmethod
|
51
|
+
def get_execution(cls, name):
|
52
|
+
...
|
53
|
+
def list_to_prose(self, items, singular):
|
54
|
+
...
|
55
|
+
...
|
56
|
+
|
57
|
+
class DeployerImpl(object, metaclass=type):
|
58
|
+
def __init__(self, flow_file: str, show_output: bool = True, profile: typing.Optional[str] = None, env: typing.Optional[typing.Dict] = None, cwd: typing.Optional[str] = None, **kwargs):
|
59
|
+
...
|
60
|
+
def __enter__(self) -> metaflow.runner.deployer.DeployerImpl:
|
61
|
+
...
|
62
|
+
def create(self, **kwargs) -> metaflow.runner.deployer.DeployedFlow:
|
63
|
+
"""
|
64
|
+
Create a deployed flow using the deployer implementation.
|
65
|
+
|
66
|
+
Parameters
|
67
|
+
----------
|
68
|
+
**kwargs : Any
|
69
|
+
Additional arguments to pass to `create` corresponding to the
|
70
|
+
command line arguments of `create`
|
71
|
+
|
72
|
+
Returns
|
73
|
+
-------
|
74
|
+
DeployedFlow
|
75
|
+
DeployedFlow object representing the deployed flow.
|
76
|
+
|
77
|
+
Raises
|
78
|
+
------
|
79
|
+
Exception
|
80
|
+
If there is an error during deployment.
|
81
|
+
"""
|
82
|
+
...
|
83
|
+
def __exit__(self, exc_type, exc_value, traceback):
|
84
|
+
"""
|
85
|
+
Cleanup resources on exit.
|
86
|
+
"""
|
87
|
+
...
|
88
|
+
def cleanup(self):
|
89
|
+
"""
|
90
|
+
Cleanup resources.
|
91
|
+
"""
|
92
|
+
...
|
93
|
+
...
|
94
|
+
|
95
|
+
class DeployedFlow(object, metaclass=type):
|
96
|
+
def __init__(self, deployer: metaflow.runner.deployer.DeployerImpl):
|
97
|
+
...
|
98
|
+
...
|
99
|
+
|
100
|
+
class TriggeredRun(object, metaclass=type):
|
101
|
+
def __init__(self, deployer: metaflow.runner.deployer.DeployerImpl, content: str):
|
102
|
+
...
|
103
|
+
@property
|
104
|
+
def run(self):
|
105
|
+
"""
|
106
|
+
Retrieve the `Run` object for the triggered run.
|
107
|
+
|
108
|
+
Note that Metaflow `Run` becomes available only when the `start` task
|
109
|
+
has started executing.
|
110
|
+
|
111
|
+
Returns
|
112
|
+
-------
|
113
|
+
Run, optional
|
114
|
+
Metaflow Run object if the `start` step has started executing, otherwise None.
|
115
|
+
"""
|
116
|
+
...
|
117
|
+
...
|
118
|
+
|
119
|
+
def get_lower_level_group(api, top_level_kwargs: typing.Dict, _type: typing.Optional[str], deployer_kwargs: typing.Dict):
|
120
|
+
"""
|
121
|
+
Retrieve a lower-level group from the API based on the type and provided arguments.
|
122
|
+
|
123
|
+
Parameters
|
124
|
+
----------
|
125
|
+
api : MetaflowAPI
|
126
|
+
Metaflow API instance.
|
127
|
+
top_level_kwargs : Dict
|
128
|
+
Top-level keyword arguments to pass to the API.
|
129
|
+
_type : str
|
130
|
+
Type of the deployer implementation to target.
|
131
|
+
deployer_kwargs : Dict
|
132
|
+
Keyword arguments specific to the deployer.
|
133
|
+
|
134
|
+
Returns
|
135
|
+
-------
|
136
|
+
Any
|
137
|
+
The lower-level group object retrieved from the API.
|
138
|
+
|
139
|
+
Raises
|
140
|
+
------
|
141
|
+
ValueError
|
142
|
+
If the `_type` is None.
|
143
|
+
"""
|
144
|
+
...
|
145
|
+
|
146
|
+
def handle_timeout(tfp_runner_attribute, command_obj: metaflow.runner.subprocess_manager.CommandManager):
|
147
|
+
"""
|
148
|
+
Handle the timeout for a running subprocess command that reads a file
|
149
|
+
and raises an error with appropriate logs if a TimeoutError occurs.
|
150
|
+
|
151
|
+
Parameters
|
152
|
+
----------
|
153
|
+
tfp_runner_attribute : NamedTemporaryFile
|
154
|
+
Temporary file that stores runner attribute data.
|
155
|
+
command_obj : CommandManager
|
156
|
+
Command manager object that encapsulates the running command details.
|
157
|
+
|
158
|
+
Returns
|
159
|
+
-------
|
160
|
+
str
|
161
|
+
Content read from the temporary file.
|
162
|
+
|
163
|
+
Raises
|
164
|
+
------
|
165
|
+
RuntimeError
|
166
|
+
If a TimeoutError occurs, it raises a RuntimeError with the command's
|
167
|
+
stdout and stderr logs.
|
168
|
+
"""
|
169
|
+
...
|
170
|
+
|
171
|
+
def suspend(instance: metaflow.runner.deployer.TriggeredRun, **kwargs):
|
172
|
+
"""
|
173
|
+
Suspend the running workflow.
|
174
|
+
|
175
|
+
Parameters
|
176
|
+
----------
|
177
|
+
**kwargs : Any
|
178
|
+
Additional arguments to pass to the suspend command.
|
179
|
+
|
180
|
+
Returns
|
181
|
+
-------
|
182
|
+
bool
|
183
|
+
True if the command was successful, False otherwise.
|
184
|
+
"""
|
185
|
+
...
|
186
|
+
|
187
|
+
def unsuspend(instance: metaflow.runner.deployer.TriggeredRun, **kwargs):
|
188
|
+
"""
|
189
|
+
Unsuspend the suspended workflow.
|
190
|
+
|
191
|
+
Parameters
|
192
|
+
----------
|
193
|
+
**kwargs : Any
|
194
|
+
Additional arguments to pass to the unsuspend command.
|
195
|
+
|
196
|
+
Returns
|
197
|
+
-------
|
198
|
+
bool
|
199
|
+
True if the command was successful, False otherwise.
|
200
|
+
"""
|
201
|
+
...
|
202
|
+
|
203
|
+
def terminate(instance: metaflow.runner.deployer.TriggeredRun, **kwargs):
|
204
|
+
"""
|
205
|
+
Terminate the running workflow.
|
206
|
+
|
207
|
+
Parameters
|
208
|
+
----------
|
209
|
+
**kwargs : Any
|
210
|
+
Additional arguments to pass to the terminate command.
|
211
|
+
|
212
|
+
Returns
|
213
|
+
-------
|
214
|
+
bool
|
215
|
+
True if the command was successful, False otherwise.
|
216
|
+
"""
|
217
|
+
...
|
218
|
+
|
219
|
+
def status(instance: metaflow.runner.deployer.TriggeredRun):
|
220
|
+
"""
|
221
|
+
Get the status of the triggered run.
|
222
|
+
|
223
|
+
Returns
|
224
|
+
-------
|
225
|
+
str, optional
|
226
|
+
The status of the workflow considering the run object, or None if the status could not be retrieved.
|
227
|
+
"""
|
228
|
+
...
|
229
|
+
|
230
|
+
def production_token(instance: metaflow.runner.deployer.DeployedFlow):
|
231
|
+
"""
|
232
|
+
Get the production token for the deployed flow.
|
233
|
+
|
234
|
+
Returns
|
235
|
+
-------
|
236
|
+
str, optional
|
237
|
+
The production token, None if it cannot be retrieved.
|
238
|
+
"""
|
239
|
+
...
|
240
|
+
|
241
|
+
def delete(instance: metaflow.runner.deployer.DeployedFlow, **kwargs):
|
242
|
+
"""
|
243
|
+
Delete the deployed flow.
|
244
|
+
|
245
|
+
Parameters
|
246
|
+
----------
|
247
|
+
**kwargs : Any
|
248
|
+
Additional arguments to pass to the delete command.
|
249
|
+
|
250
|
+
Returns
|
251
|
+
-------
|
252
|
+
bool
|
253
|
+
True if the command was successful, False otherwise.
|
254
|
+
"""
|
255
|
+
...
|
256
|
+
|
257
|
+
def trigger(instance: metaflow.runner.deployer.DeployedFlow, **kwargs):
|
258
|
+
"""
|
259
|
+
Trigger a new run for the deployed flow.
|
260
|
+
|
261
|
+
Parameters
|
262
|
+
----------
|
263
|
+
**kwargs : Any
|
264
|
+
Additional arguments to pass to the trigger command, `Parameters` in particular
|
265
|
+
|
266
|
+
Returns
|
267
|
+
-------
|
268
|
+
ArgoWorkflowsTriggeredRun
|
269
|
+
The triggered run instance.
|
270
|
+
|
271
|
+
Raises
|
272
|
+
------
|
273
|
+
Exception
|
274
|
+
If there is an error during the trigger process.
|
275
|
+
"""
|
276
|
+
...
|
277
|
+
|
278
|
+
class ArgoWorkflowsDeployer(metaflow.runner.deployer.DeployerImpl, metaclass=type):
|
279
|
+
def __init__(self, deployer_kwargs, **kwargs):
|
280
|
+
"""
|
281
|
+
Initialize the ArgoWorkflowsDeployer.
|
282
|
+
|
283
|
+
Parameters
|
284
|
+
----------
|
285
|
+
deployer_kwargs : dict
|
286
|
+
The deployer-specific keyword arguments.
|
287
|
+
**kwargs : Any
|
288
|
+
Additional arguments to pass to the superclass constructor.
|
289
|
+
"""
|
290
|
+
...
|
291
|
+
...
|
292
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.269690 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.297914 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.297407 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.297536 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.338636 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.340452 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.337291 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,16 +1,16 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.339693 #
|
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.decorators
|
12
11
|
import metaflow.metaflow_current
|
13
12
|
import metaflow.exception
|
13
|
+
import metaflow.decorators
|
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.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.298032 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,16 +1,16 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.348253 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
|
-
import abc
|
12
|
-
import metaflow.exception
|
13
11
|
import metaflow.plugins.secrets
|
12
|
+
import metaflow.exception
|
13
|
+
import abc
|
14
14
|
|
15
15
|
class MetaflowException(Exception, metaclass=type):
|
16
16
|
def __init__(self, msg = "", lineno = None):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.297662 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.340706 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.341688 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.346043 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.341359 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.344356 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,22 +1,42 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.347716 #
|
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.decorators
|
12
11
|
import metaflow.parameters
|
13
|
-
import metaflow.exception
|
14
12
|
import metaflow.metaflow_current
|
13
|
+
import metaflow.exception
|
14
|
+
import metaflow.decorators
|
15
15
|
|
16
16
|
JSONType: metaflow.parameters.JSONTypeClass
|
17
17
|
|
18
18
|
current: metaflow.metaflow_current.Current
|
19
19
|
|
20
|
+
def get_metadata() -> str:
|
21
|
+
"""
|
22
|
+
Returns the current Metadata provider.
|
23
|
+
|
24
|
+
If this is not set explicitly using `metadata`, the default value is
|
25
|
+
determined through the Metaflow configuration. You can use this call to
|
26
|
+
check that your configuration is set up properly.
|
27
|
+
|
28
|
+
If multiple configuration profiles are present, this call returns the one
|
29
|
+
selected through the `METAFLOW_PROFILE` environment variable.
|
30
|
+
|
31
|
+
Returns
|
32
|
+
-------
|
33
|
+
str
|
34
|
+
Information about the Metadata provider currently selected. This information typically
|
35
|
+
returns provider specific information (like URL for remote providers or local paths for
|
36
|
+
local providers).
|
37
|
+
"""
|
38
|
+
...
|
39
|
+
|
20
40
|
class MetaflowException(Exception, metaclass=type):
|
21
41
|
def __init__(self, msg = "", lineno = None):
|
22
42
|
...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.342049 #
|
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-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.341167 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|