metaflow-stubs 2.12.7__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 +446 -397
- metaflow-stubs/cards.pyi +5 -5
- 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 +2 -2
- metaflow-stubs/clone_util.pyi +2 -2
- metaflow-stubs/events.pyi +3 -3
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +6 -6
- 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 +2 -2
- metaflow-stubs/metaflow_current.pyi +44 -21
- metaflow-stubs/mflog/mflog.pyi +2 -2
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +4 -4
- metaflow-stubs/plugins/__init__.pyi +6 -2
- 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 +4 -4
- metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +4 -4
- 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 +230 -5
- 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 +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 +3 -3
- metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/basic.pyi +4 -4
- 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 +4 -4
- 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 +7 -7
- 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 +13 -13
- 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 +3 -3
- 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 +3 -3
- metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
- metaflow-stubs/plugins/pypi/utils.pyi +2 -2
- metaflow-stubs/plugins/resources_decorator.pyi +2 -2
- metaflow-stubs/plugins/retry_decorator.pyi +2 -2
- metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
- metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +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 +9 -9
- 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 +3 -3
- metaflow-stubs/system/system_logger.pyi +3 -3
- 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.7.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.7.dist-info → metaflow_stubs-2.12.9.dist-info}/WHEEL +1 -1
- metaflow_stubs-2.12.7.dist-info/RECORD +0 -145
- {metaflow_stubs-2.12.7.dist-info → metaflow_stubs-2.12.9.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,260 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.345765 #
|
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
|
+
|
14
|
+
class StepFunctions(object, metaclass=type):
|
15
|
+
def __init__(self, name, graph, 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, is_project = False, use_distributed_map = False):
|
16
|
+
...
|
17
|
+
def to_json(self):
|
18
|
+
...
|
19
|
+
def trigger_explanation(self):
|
20
|
+
...
|
21
|
+
def deploy(self, log_execution_history):
|
22
|
+
...
|
23
|
+
def schedule(self):
|
24
|
+
...
|
25
|
+
@classmethod
|
26
|
+
def delete(cls, name):
|
27
|
+
...
|
28
|
+
@classmethod
|
29
|
+
def terminate(cls, flow_name, name):
|
30
|
+
...
|
31
|
+
@classmethod
|
32
|
+
def trigger(cls, name, parameters):
|
33
|
+
...
|
34
|
+
@classmethod
|
35
|
+
def list(cls, name, states):
|
36
|
+
...
|
37
|
+
@classmethod
|
38
|
+
def get_existing_deployment(cls, name):
|
39
|
+
...
|
40
|
+
@classmethod
|
41
|
+
def get_execution(cls, state_machine_name, name):
|
42
|
+
...
|
43
|
+
...
|
44
|
+
|
45
|
+
class DeployerImpl(object, metaclass=type):
|
46
|
+
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):
|
47
|
+
...
|
48
|
+
def __enter__(self) -> metaflow.runner.deployer.DeployerImpl:
|
49
|
+
...
|
50
|
+
def create(self, **kwargs) -> metaflow.runner.deployer.DeployedFlow:
|
51
|
+
"""
|
52
|
+
Create a deployed flow using the deployer implementation.
|
53
|
+
|
54
|
+
Parameters
|
55
|
+
----------
|
56
|
+
**kwargs : Any
|
57
|
+
Additional arguments to pass to `create` corresponding to the
|
58
|
+
command line arguments of `create`
|
59
|
+
|
60
|
+
Returns
|
61
|
+
-------
|
62
|
+
DeployedFlow
|
63
|
+
DeployedFlow object representing the deployed flow.
|
64
|
+
|
65
|
+
Raises
|
66
|
+
------
|
67
|
+
Exception
|
68
|
+
If there is an error during deployment.
|
69
|
+
"""
|
70
|
+
...
|
71
|
+
def __exit__(self, exc_type, exc_value, traceback):
|
72
|
+
"""
|
73
|
+
Cleanup resources on exit.
|
74
|
+
"""
|
75
|
+
...
|
76
|
+
def cleanup(self):
|
77
|
+
"""
|
78
|
+
Cleanup resources.
|
79
|
+
"""
|
80
|
+
...
|
81
|
+
...
|
82
|
+
|
83
|
+
class DeployedFlow(object, metaclass=type):
|
84
|
+
def __init__(self, deployer: metaflow.runner.deployer.DeployerImpl):
|
85
|
+
...
|
86
|
+
...
|
87
|
+
|
88
|
+
class TriggeredRun(object, metaclass=type):
|
89
|
+
def __init__(self, deployer: metaflow.runner.deployer.DeployerImpl, content: str):
|
90
|
+
...
|
91
|
+
@property
|
92
|
+
def run(self):
|
93
|
+
"""
|
94
|
+
Retrieve the `Run` object for the triggered run.
|
95
|
+
|
96
|
+
Note that Metaflow `Run` becomes available only when the `start` task
|
97
|
+
has started executing.
|
98
|
+
|
99
|
+
Returns
|
100
|
+
-------
|
101
|
+
Run, optional
|
102
|
+
Metaflow Run object if the `start` step has started executing, otherwise None.
|
103
|
+
"""
|
104
|
+
...
|
105
|
+
...
|
106
|
+
|
107
|
+
def get_lower_level_group(api, top_level_kwargs: typing.Dict, _type: typing.Optional[str], deployer_kwargs: typing.Dict):
|
108
|
+
"""
|
109
|
+
Retrieve a lower-level group from the API based on the type and provided arguments.
|
110
|
+
|
111
|
+
Parameters
|
112
|
+
----------
|
113
|
+
api : MetaflowAPI
|
114
|
+
Metaflow API instance.
|
115
|
+
top_level_kwargs : Dict
|
116
|
+
Top-level keyword arguments to pass to the API.
|
117
|
+
_type : str
|
118
|
+
Type of the deployer implementation to target.
|
119
|
+
deployer_kwargs : Dict
|
120
|
+
Keyword arguments specific to the deployer.
|
121
|
+
|
122
|
+
Returns
|
123
|
+
-------
|
124
|
+
Any
|
125
|
+
The lower-level group object retrieved from the API.
|
126
|
+
|
127
|
+
Raises
|
128
|
+
------
|
129
|
+
ValueError
|
130
|
+
If the `_type` is None.
|
131
|
+
"""
|
132
|
+
...
|
133
|
+
|
134
|
+
def handle_timeout(tfp_runner_attribute, command_obj: metaflow.runner.subprocess_manager.CommandManager):
|
135
|
+
"""
|
136
|
+
Handle the timeout for a running subprocess command that reads a file
|
137
|
+
and raises an error with appropriate logs if a TimeoutError occurs.
|
138
|
+
|
139
|
+
Parameters
|
140
|
+
----------
|
141
|
+
tfp_runner_attribute : NamedTemporaryFile
|
142
|
+
Temporary file that stores runner attribute data.
|
143
|
+
command_obj : CommandManager
|
144
|
+
Command manager object that encapsulates the running command details.
|
145
|
+
|
146
|
+
Returns
|
147
|
+
-------
|
148
|
+
str
|
149
|
+
Content read from the temporary file.
|
150
|
+
|
151
|
+
Raises
|
152
|
+
------
|
153
|
+
RuntimeError
|
154
|
+
If a TimeoutError occurs, it raises a RuntimeError with the command's
|
155
|
+
stdout and stderr logs.
|
156
|
+
"""
|
157
|
+
...
|
158
|
+
|
159
|
+
def terminate(instance: metaflow.runner.deployer.TriggeredRun, **kwargs):
|
160
|
+
"""
|
161
|
+
Terminate the running workflow.
|
162
|
+
|
163
|
+
Parameters
|
164
|
+
----------
|
165
|
+
**kwargs : Any
|
166
|
+
Additional arguments to pass to the terminate command.
|
167
|
+
|
168
|
+
Returns
|
169
|
+
-------
|
170
|
+
bool
|
171
|
+
True if the command was successful, False otherwise.
|
172
|
+
"""
|
173
|
+
...
|
174
|
+
|
175
|
+
def production_token(instance: metaflow.runner.deployer.DeployedFlow):
|
176
|
+
"""
|
177
|
+
Get the production token for the deployed flow.
|
178
|
+
|
179
|
+
Returns
|
180
|
+
-------
|
181
|
+
str, optional
|
182
|
+
The production token, None if it cannot be retrieved.
|
183
|
+
"""
|
184
|
+
...
|
185
|
+
|
186
|
+
def list_runs(instance: metaflow.runner.deployer.DeployedFlow, states: typing.Optional[typing.List[str]] = None):
|
187
|
+
"""
|
188
|
+
List runs of the deployed flow.
|
189
|
+
|
190
|
+
Parameters
|
191
|
+
----------
|
192
|
+
states : Optional[List[str]], optional
|
193
|
+
A list of states to filter the runs by. Allowed values are:
|
194
|
+
RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED.
|
195
|
+
If not provided, all states will be considered.
|
196
|
+
|
197
|
+
Returns
|
198
|
+
-------
|
199
|
+
List[TriggeredRun]
|
200
|
+
A list of TriggeredRun objects representing the runs of the deployed flow.
|
201
|
+
|
202
|
+
Raises
|
203
|
+
------
|
204
|
+
ValueError
|
205
|
+
If any of the provided states are invalid or if there are duplicate states.
|
206
|
+
"""
|
207
|
+
...
|
208
|
+
|
209
|
+
def delete(instance: metaflow.runner.deployer.DeployedFlow, **kwargs):
|
210
|
+
"""
|
211
|
+
Delete the deployed flow.
|
212
|
+
|
213
|
+
Parameters
|
214
|
+
----------
|
215
|
+
**kwargs : Any
|
216
|
+
Additional arguments to pass to the delete command.
|
217
|
+
|
218
|
+
Returns
|
219
|
+
-------
|
220
|
+
bool
|
221
|
+
True if the command was successful, False otherwise.
|
222
|
+
"""
|
223
|
+
...
|
224
|
+
|
225
|
+
def trigger(instance: metaflow.runner.deployer.DeployedFlow, **kwargs):
|
226
|
+
"""
|
227
|
+
Trigger a new run for the deployed flow.
|
228
|
+
|
229
|
+
Parameters
|
230
|
+
----------
|
231
|
+
**kwargs : Any
|
232
|
+
Additional arguments to pass to the trigger command, `Parameters` in particular
|
233
|
+
|
234
|
+
Returns
|
235
|
+
-------
|
236
|
+
StepFunctionsTriggeredRun
|
237
|
+
The triggered run instance.
|
238
|
+
|
239
|
+
Raises
|
240
|
+
------
|
241
|
+
Exception
|
242
|
+
If there is an error during the trigger process.
|
243
|
+
"""
|
244
|
+
...
|
245
|
+
|
246
|
+
class StepFunctionsDeployer(metaflow.runner.deployer.DeployerImpl, metaclass=type):
|
247
|
+
def __init__(self, deployer_kwargs, **kwargs):
|
248
|
+
"""
|
249
|
+
Initialize the StepFunctionsDeployer.
|
250
|
+
|
251
|
+
Parameters
|
252
|
+
----------
|
253
|
+
deployer_kwargs : dict
|
254
|
+
The deployer-specific keyword arguments.
|
255
|
+
**kwargs : Any
|
256
|
+
Additional arguments to pass to the superclass constructor.
|
257
|
+
"""
|
258
|
+
...
|
259
|
+
...
|
260
|
+
|
@@ -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.275034 #
|
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.331791 #
|
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.332047 #
|
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.333483 #
|
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 SecretsProvider(abc.ABC, metaclass=abc.ABCMeta):
|
16
16
|
def get_secret_as_dict(self, secret_id, options = {}, role = None) -> typing.Dict[str, str]:
|
@@ -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.332563 #
|
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.332967 #
|
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.267438 #
|
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.269812 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,18 +1,18 @@
|
|
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.306572 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
|
+
import datetime
|
12
|
+
import typing
|
11
13
|
import metaflow.client.core
|
12
14
|
import metaflow.parameters
|
13
15
|
import metaflow.exception
|
14
|
-
import typing
|
15
|
-
import datetime
|
16
16
|
|
17
17
|
class Task(metaflow.client.core.MetaflowObject, metaclass=type):
|
18
18
|
def __init__(self, *args, **kwargs):
|
@@ -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.284038 #
|
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
12
|
import metaflow.plugins.cards.card_client
|
12
13
|
import metaflow.exception
|
13
|
-
import metaflow
|
14
14
|
|
15
15
|
TYPE_CHECKING: bool
|
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.301575 #
|
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.303352 #
|
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.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.302436 #
|
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
|
12
|
+
import metaflow.decorators
|
13
13
|
|
14
14
|
current: metaflow.metaflow_current.Current
|
15
15
|
|
@@ -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.298581 #
|
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.278590 #
|
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.plugins.cards.card_modules.basic
|
12
|
-
import metaflow.plugins.cards.card_modules.card
|
13
11
|
import metaflow
|
12
|
+
import metaflow.plugins.cards.card_modules.card
|
13
|
+
import metaflow.plugins.cards.card_modules.basic
|
14
14
|
|
15
15
|
class MetaflowCard(object, metaclass=type):
|
16
16
|
def __init__(self, options = {}, components = [], graph = 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.284559 #
|
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.348639 #
|
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.351976 #
|
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.351646 #
|
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.351524 #
|
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.351071 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,17 +1,17 @@
|
|
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.286735 #
|
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.plugins.cards.card_modules.components
|
11
12
|
import metaflow.plugins.cards.card_modules.basic
|
12
|
-
import metaflow.plugins.cards.card_modules.card
|
13
13
|
import typing
|
14
|
-
import metaflow.plugins.cards.card_modules.
|
14
|
+
import metaflow.plugins.cards.card_modules.card
|
15
15
|
|
16
16
|
class LogComponent(metaflow.plugins.cards.card_modules.basic.DefaultComponent, metaclass=type):
|
17
17
|
def __init__(self, data = 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.335275 #
|
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.335502 #
|
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.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.9 #
|
4
|
+
# Generated on 2024-07-25T18:20:16.279996 #
|
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.plugins.cards.card_modules.card
|
12
11
|
import metaflow
|
12
|
+
import metaflow.plugins.cards.card_modules.card
|
13
13
|
|
14
14
|
class MetaflowCard(object, metaclass=type):
|
15
15
|
def __init__(self, options = {}, components = [], graph = 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.303942 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,17 +1,17 @@
|
|
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.301278 #
|
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.plugins.cards.card_modules.components
|
11
12
|
import metaflow.plugins.cards.card_modules.basic
|
12
|
-
import metaflow.plugins.cards.card_modules.card
|
13
13
|
import metaflow.exception
|
14
|
-
import metaflow.plugins.cards.card_modules.
|
14
|
+
import metaflow.plugins.cards.card_modules.card
|
15
15
|
|
16
16
|
class MetaflowCardComponent(object, metaclass=type):
|
17
17
|
@property
|