metaflow-stubs 2.12.8__py2.py3-none-any.whl → 2.12.10__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.
Files changed (150) hide show
  1. metaflow-stubs/__init__.pyi +590 -541
  2. metaflow-stubs/cards.pyi +5 -5
  3. metaflow-stubs/cli.pyi +2 -2
  4. metaflow-stubs/client/__init__.pyi +3 -3
  5. metaflow-stubs/client/core.pyi +6 -6
  6. metaflow-stubs/client/filecache.pyi +2 -2
  7. metaflow-stubs/clone_util.pyi +2 -2
  8. metaflow-stubs/events.pyi +2 -2
  9. metaflow-stubs/exception.pyi +2 -2
  10. metaflow-stubs/flowspec.pyi +6 -6
  11. metaflow-stubs/generated_for.txt +1 -1
  12. metaflow-stubs/includefile.pyi +4 -4
  13. metaflow-stubs/metadata/metadata.pyi +2 -2
  14. metaflow-stubs/metadata/util.pyi +2 -2
  15. metaflow-stubs/metaflow_config.pyi +2 -2
  16. metaflow-stubs/metaflow_current.pyi +34 -11
  17. metaflow-stubs/mflog/mflog.pyi +2 -2
  18. metaflow-stubs/multicore_utils.pyi +2 -2
  19. metaflow-stubs/parameters.pyi +4 -4
  20. metaflow-stubs/plugins/__init__.pyi +6 -2
  21. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  22. metaflow-stubs/plugins/airflow/airflow.pyi +5 -5
  23. metaflow-stubs/plugins/airflow/airflow_cli.pyi +3 -3
  24. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  25. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  27. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  28. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  29. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  30. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  31. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  32. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  33. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  34. metaflow-stubs/plugins/argo/argo_workflows.pyi +48 -4
  35. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +270 -5
  36. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +229 -4
  37. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +292 -0
  38. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  39. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  40. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  41. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  42. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  43. metaflow-stubs/plugins/aws/batch/batch_cli.pyi +2 -2
  44. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  45. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +3 -3
  46. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  47. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  48. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  49. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  52. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  53. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  54. metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +24 -4
  55. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  56. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  57. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +260 -0
  58. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  59. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  60. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  61. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  62. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  63. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  64. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  65. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_cli.pyi +4 -4
  67. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  68. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  69. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  70. metaflow-stubs/plugins/cards/card_decorator.pyi +3 -3
  71. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  72. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  73. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  74. metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
  77. metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
  78. metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +2 -2
  79. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  80. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  81. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  82. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +3 -3
  83. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  84. metaflow-stubs/plugins/cards/component_serializer.pyi +4 -4
  85. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  86. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  87. metaflow-stubs/plugins/datatools/__init__.pyi +4 -4
  88. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  89. metaflow-stubs/plugins/datatools/s3/__init__.pyi +3 -3
  90. metaflow-stubs/plugins/datatools/s3/s3.pyi +6 -6
  91. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  92. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  93. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  94. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  95. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  96. metaflow-stubs/plugins/events_decorator.pyi +3 -3
  97. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  98. metaflow-stubs/plugins/frameworks/pytorch.pyi +5 -3
  99. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  100. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  101. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  102. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  103. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  104. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  105. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  106. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +18 -10
  107. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +12 -12
  108. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +26 -3
  109. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +14 -31
  110. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +26 -3
  111. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +82 -28
  112. metaflow-stubs/plugins/logs_cli.pyi +2 -2
  113. metaflow-stubs/plugins/package_cli.pyi +2 -2
  114. metaflow-stubs/plugins/parallel_decorator.pyi +47 -2
  115. metaflow-stubs/plugins/project_decorator.pyi +3 -3
  116. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  117. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/pypi/conda_environment.pyi +4 -4
  119. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  120. metaflow-stubs/plugins/pypi/pypi_environment.pyi +3 -3
  121. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  122. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  123. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  124. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  125. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  126. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +3 -3
  127. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  128. metaflow-stubs/plugins/tag_cli.pyi +5 -5
  129. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +25 -2
  130. metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  131. metaflow-stubs/procpoll.pyi +2 -2
  132. metaflow-stubs/pylint_wrapper.pyi +2 -2
  133. metaflow-stubs/runner/__init__.pyi +2 -2
  134. metaflow-stubs/runner/deployer.pyi +354 -0
  135. metaflow-stubs/runner/metaflow_runner.pyi +11 -11
  136. metaflow-stubs/runner/nbdeploy.pyi +54 -0
  137. metaflow-stubs/runner/nbrun.pyi +7 -7
  138. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  139. metaflow-stubs/runner/utils.pyi +25 -0
  140. metaflow-stubs/system/__init__.pyi +3 -3
  141. metaflow-stubs/system/system_logger.pyi +3 -3
  142. metaflow-stubs/system/system_monitor.pyi +2 -2
  143. metaflow-stubs/tagging_util.pyi +2 -2
  144. metaflow-stubs/tuple_util.pyi +2 -2
  145. metaflow-stubs/version.pyi +2 -2
  146. {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.10.dist-info}/METADATA +2 -2
  147. metaflow_stubs-2.12.10.dist-info/RECORD +150 -0
  148. {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.10.dist-info}/WHEEL +1 -1
  149. metaflow_stubs-2.12.8.dist-info/RECORD +0 -145
  150. {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.10.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,292 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.199657 #
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.graph
13
+ import metaflow.runner.deployer
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, enable_heartbeat_daemon = True):
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.8 #
4
- # Generated on 2024-07-16T15:51:55.385056 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.142440 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.407917 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.174165 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.407531 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.173778 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.407149 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.173916 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.450800 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.217986 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.452446 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.219553 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.449581 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.216566 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.451735 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.218851 #
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
  import metaflow.exception
14
14
 
15
15
  current: metaflow.metaflow_current.Current
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.8 #
4
- # Generated on 2024-07-16T15:51:55.408035 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.174280 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.458861 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.220021 #
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.secrets
11
12
  import abc
12
13
  import metaflow.exception
13
- import metaflow.plugins.secrets
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.8 #
4
- # Generated on 2024-07-16T15:51:55.407664 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.173395 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.452705 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.208176 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.453966 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.209151 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.453635 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.213605 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.453364 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.208828 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.456787 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.211931 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.458347 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.215140 #
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.decorators
14
+ import metaflow.exception
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.8 #
4
- # Generated on 2024-07-16T15:51:55.454450 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.209547 #
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.8 #
4
- # Generated on 2024-07-16T15:51:55.453163 #
3
+ # MF version: 2.12.10 #
4
+ # Generated on 2024-07-30T23:31:35.208636 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations