metaflow-stubs 2.13.2__py2.py3-none-any.whl → 2.13.4__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 +186 -186
- metaflow-stubs/cards.pyi +3 -2
- metaflow-stubs/cli.pyi +2 -2
- metaflow-stubs/cli_components/__init__.pyi +2 -2
- metaflow-stubs/cli_components/utils.pyi +2 -2
- metaflow-stubs/client/__init__.pyi +2 -2
- metaflow-stubs/client/core.pyi +4 -4
- metaflow-stubs/client/filecache.pyi +3 -3
- metaflow-stubs/events.pyi +2 -2
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +6 -6
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +2 -2
- metaflow-stubs/info_file.pyi +2 -2
- metaflow-stubs/metadata_provider/__init__.pyi +2 -2
- metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
- metaflow-stubs/metadata_provider/metadata.pyi +2 -2
- metaflow-stubs/metadata_provider/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +2 -2
- metaflow-stubs/metaflow_current.pyi +34 -34
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +2 -2
- metaflow-stubs/plugins/__init__.pyi +9 -9
- metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
- metaflow-stubs/plugins/airflow/exception.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
- metaflow-stubs/plugins/argo/__init__.pyi +2 -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 +2 -2
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +4 -4
- metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
- metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +2 -2
- metaflow-stubs/plugins/aws/__init__.pyi +3 -3
- metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
- metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +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/schedule_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
- metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
- metaflow-stubs/plugins/azure/__init__.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
- 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_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 +4 -2
- metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/basic.pyi +15 -7
- metaflow-stubs/plugins/cards/card_modules/card.pyi +9 -3
- metaflow-stubs/plugins/cards/card_modules/components.pyi +47 -9
- 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 +6 -6
- 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 +2 -2
- metaflow-stubs/plugins/datatools/local.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/s3.pyi +3 -3
- metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
- metaflow-stubs/plugins/debug_logger.pyi +2 -2
- metaflow-stubs/plugins/debug_monitor.pyi +2 -2
- metaflow-stubs/plugins/environment_decorator.pyi +2 -2
- metaflow-stubs/plugins/events_decorator.pyi +2 -2
- metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
- metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
- 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/kube_utils.pyi +3 -3
- metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
- metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- metaflow-stubs/plugins/project_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
- 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 +2 -2
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +2 -2
- metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +2 -2
- metaflow-stubs/runner/deployer.pyi +30 -30
- metaflow-stubs/runner/deployer_impl.pyi +2 -2
- metaflow-stubs/runner/metaflow_runner.pyi +3 -3
- metaflow-stubs/runner/nbdeploy.pyi +2 -2
- metaflow-stubs/runner/nbrun.pyi +2 -2
- metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- metaflow-stubs/runner/utils.pyi +3 -3
- metaflow-stubs/system/__init__.pyi +2 -2
- metaflow-stubs/system/system_logger.pyi +2 -2
- metaflow-stubs/system/system_monitor.pyi +2 -2
- metaflow-stubs/tagging_util.pyi +2 -2
- metaflow-stubs/tuple_util.pyi +2 -2
- metaflow-stubs/user_configs/__init__.pyi +2 -2
- metaflow-stubs/user_configs/config_decorators.pyi +5 -5
- metaflow-stubs/user_configs/config_options.pyi +3 -3
- metaflow-stubs/user_configs/config_parameters.pyi +7 -7
- metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.13.2.dist-info → metaflow_stubs-2.13.4.dist-info}/METADATA +13 -3
- metaflow_stubs-2.13.4.dist-info/RECORD +144 -0
- {metaflow_stubs-2.13.2.dist-info → metaflow_stubs-2.13.4.dist-info}/WHEEL +1 -1
- metaflow_stubs-2.13.2.dist-info/RECORD +0 -144
- {metaflow_stubs-2.13.2.dist-info → metaflow_stubs-2.13.4.dist-info}/top_level.txt +0 -0
metaflow-stubs/__init__.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.4 #
|
4
|
+
# Generated on 2025-01-15T17:53:58.657195 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -142,6 +142,25 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
|
|
142
142
|
"""
|
143
143
|
...
|
144
144
|
|
145
|
+
@typing.overload
|
146
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
147
|
+
"""
|
148
|
+
Decorator prototype for all step decorators. This function gets specialized
|
149
|
+
and imported for all decorators types by _import_plugin_decorators().
|
150
|
+
"""
|
151
|
+
...
|
152
|
+
|
153
|
+
@typing.overload
|
154
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
155
|
+
...
|
156
|
+
|
157
|
+
def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
|
158
|
+
"""
|
159
|
+
Decorator prototype for all step decorators. This function gets specialized
|
160
|
+
and imported for all decorators types by _import_plugin_decorators().
|
161
|
+
"""
|
162
|
+
...
|
163
|
+
|
145
164
|
@typing.overload
|
146
165
|
def card(*, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
147
166
|
"""
|
@@ -191,33 +210,41 @@ def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
|
|
191
210
|
...
|
192
211
|
|
193
212
|
@typing.overload
|
194
|
-
def
|
213
|
+
def retry(*, times: int = 3, minutes_between_retries: int = 2) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
195
214
|
"""
|
196
|
-
Specifies
|
215
|
+
Specifies the number of times the task corresponding
|
216
|
+
to a step needs to be retried.
|
197
217
|
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
218
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
219
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
220
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
221
|
+
|
222
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
223
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
224
|
+
ensuring that the flow execution can continue.
|
202
225
|
"""
|
203
226
|
...
|
204
227
|
|
205
228
|
@typing.overload
|
206
|
-
def
|
229
|
+
def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
207
230
|
...
|
208
231
|
|
209
232
|
@typing.overload
|
210
|
-
def
|
233
|
+
def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
211
234
|
...
|
212
235
|
|
213
|
-
def
|
236
|
+
def retry(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, times: int = 3, minutes_between_retries: int = 2):
|
214
237
|
"""
|
215
|
-
Specifies
|
238
|
+
Specifies the number of times the task corresponding
|
239
|
+
to a step needs to be retried.
|
216
240
|
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
241
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
242
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
243
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
244
|
+
|
245
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
246
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
247
|
+
ensuring that the flow execution can continue.
|
221
248
|
"""
|
222
249
|
...
|
223
250
|
|
@@ -228,161 +255,93 @@ def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: ty
|
|
228
255
|
...
|
229
256
|
|
230
257
|
@typing.overload
|
231
|
-
def
|
258
|
+
def timeout(*, seconds: int = 0, minutes: int = 0, hours: int = 0) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
232
259
|
"""
|
233
|
-
Specifies
|
260
|
+
Specifies a timeout for your step.
|
234
261
|
|
235
|
-
|
236
|
-
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
262
|
+
This decorator is useful if this step may hang indefinitely.
|
237
263
|
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
python myflow.py run --with kubernetes
|
245
|
-
```
|
246
|
-
which executes the flow on the desired system using the
|
247
|
-
requirements specified in `@resources`.
|
264
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
265
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
266
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
267
|
+
|
268
|
+
Note that all the values specified in parameters are added together so if you specify
|
269
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
248
270
|
"""
|
249
271
|
...
|
250
272
|
|
251
273
|
@typing.overload
|
252
|
-
def
|
274
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
253
275
|
...
|
254
276
|
|
255
277
|
@typing.overload
|
256
|
-
def
|
278
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
257
279
|
...
|
258
280
|
|
259
|
-
def
|
281
|
+
def timeout(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, seconds: int = 0, minutes: int = 0, hours: int = 0):
|
260
282
|
"""
|
261
|
-
Specifies
|
283
|
+
Specifies a timeout for your step.
|
262
284
|
|
263
|
-
|
264
|
-
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
285
|
+
This decorator is useful if this step may hang indefinitely.
|
265
286
|
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
python myflow.py run --with kubernetes
|
273
|
-
```
|
274
|
-
which executes the flow on the desired system using the
|
275
|
-
requirements specified in `@resources`.
|
276
|
-
"""
|
277
|
-
...
|
278
|
-
|
279
|
-
@typing.overload
|
280
|
-
def batch(*, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[str]] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
281
|
-
"""
|
282
|
-
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
283
|
-
"""
|
284
|
-
...
|
285
|
-
|
286
|
-
@typing.overload
|
287
|
-
def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
288
|
-
...
|
289
|
-
|
290
|
-
@typing.overload
|
291
|
-
def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
292
|
-
...
|
293
|
-
|
294
|
-
def batch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[str]] = None):
|
295
|
-
"""
|
296
|
-
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
297
|
-
"""
|
298
|
-
...
|
299
|
-
|
300
|
-
@typing.overload
|
301
|
-
def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
302
|
-
"""
|
303
|
-
Decorator prototype for all step decorators. This function gets specialized
|
304
|
-
and imported for all decorators types by _import_plugin_decorators().
|
305
|
-
"""
|
306
|
-
...
|
307
|
-
|
308
|
-
@typing.overload
|
309
|
-
def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
310
|
-
...
|
311
|
-
|
312
|
-
def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
|
313
|
-
"""
|
314
|
-
Decorator prototype for all step decorators. This function gets specialized
|
315
|
-
and imported for all decorators types by _import_plugin_decorators().
|
287
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
288
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
289
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
290
|
+
|
291
|
+
Note that all the values specified in parameters are added together so if you specify
|
292
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
316
293
|
"""
|
317
294
|
...
|
318
295
|
|
319
296
|
@typing.overload
|
320
|
-
def
|
297
|
+
def catch(*, var: typing.Optional[str] = None, print_exception: bool = True) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
321
298
|
"""
|
322
|
-
Specifies the
|
323
|
-
to a step needs to be retried.
|
324
|
-
|
325
|
-
This decorator is useful for handling transient errors, such as networking issues.
|
326
|
-
If your task contains operations that can't be retried safely, e.g. database updates,
|
327
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
299
|
+
Specifies that the step will success under all circumstances.
|
328
300
|
|
329
|
-
|
330
|
-
|
331
|
-
|
301
|
+
The decorator will create an optional artifact, specified by `var`, which
|
302
|
+
contains the exception raised. You can use it to detect the presence
|
303
|
+
of errors, indicating that all happy-path artifacts produced by the step
|
304
|
+
are missing.
|
332
305
|
"""
|
333
306
|
...
|
334
307
|
|
335
308
|
@typing.overload
|
336
|
-
def
|
309
|
+
def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
337
310
|
...
|
338
311
|
|
339
312
|
@typing.overload
|
340
|
-
def
|
313
|
+
def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
341
314
|
...
|
342
315
|
|
343
|
-
def
|
316
|
+
def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, var: typing.Optional[str] = None, print_exception: bool = True):
|
344
317
|
"""
|
345
|
-
Specifies the
|
346
|
-
to a step needs to be retried.
|
347
|
-
|
348
|
-
This decorator is useful for handling transient errors, such as networking issues.
|
349
|
-
If your task contains operations that can't be retried safely, e.g. database updates,
|
350
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
318
|
+
Specifies that the step will success under all circumstances.
|
351
319
|
|
352
|
-
|
353
|
-
|
354
|
-
|
320
|
+
The decorator will create an optional artifact, specified by `var`, which
|
321
|
+
contains the exception raised. You can use it to detect the presence
|
322
|
+
of errors, indicating that all happy-path artifacts produced by the step
|
323
|
+
are missing.
|
355
324
|
"""
|
356
325
|
...
|
357
326
|
|
358
327
|
@typing.overload
|
359
|
-
def
|
328
|
+
def batch(*, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[str]] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
360
329
|
"""
|
361
|
-
Specifies
|
362
|
-
|
363
|
-
Information in this decorator will augment any
|
364
|
-
attributes set in the `@conda_base` flow-level decorator. Hence,
|
365
|
-
you can use `@conda_base` to set packages required by all
|
366
|
-
steps and use `@conda` to specify step-specific overrides.
|
330
|
+
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
367
331
|
"""
|
368
332
|
...
|
369
333
|
|
370
334
|
@typing.overload
|
371
|
-
def
|
335
|
+
def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
372
336
|
...
|
373
337
|
|
374
338
|
@typing.overload
|
375
|
-
def
|
339
|
+
def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
376
340
|
...
|
377
341
|
|
378
|
-
def
|
342
|
+
def batch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[str]] = None):
|
379
343
|
"""
|
380
|
-
Specifies
|
381
|
-
|
382
|
-
Information in this decorator will augment any
|
383
|
-
attributes set in the `@conda_base` flow-level decorator. Hence,
|
384
|
-
you can use `@conda_base` to set packages required by all
|
385
|
-
steps and use `@conda` to specify step-specific overrides.
|
344
|
+
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
386
345
|
"""
|
387
346
|
...
|
388
347
|
|
@@ -439,90 +398,82 @@ def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], Non
|
|
439
398
|
...
|
440
399
|
|
441
400
|
@typing.overload
|
442
|
-
def
|
401
|
+
def resources(*, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
443
402
|
"""
|
444
|
-
Specifies
|
445
|
-
|
446
|
-
This decorator is useful if this step may hang indefinitely.
|
403
|
+
Specifies the resources needed when executing this step.
|
447
404
|
|
448
|
-
|
449
|
-
|
450
|
-
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
405
|
+
Use `@resources` to specify the resource requirements
|
406
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
451
407
|
|
452
|
-
|
453
|
-
|
408
|
+
You can choose the compute layer on the command line by executing e.g.
|
409
|
+
```
|
410
|
+
python myflow.py run --with batch
|
411
|
+
```
|
412
|
+
or
|
413
|
+
```
|
414
|
+
python myflow.py run --with kubernetes
|
415
|
+
```
|
416
|
+
which executes the flow on the desired system using the
|
417
|
+
requirements specified in `@resources`.
|
454
418
|
"""
|
455
419
|
...
|
456
420
|
|
457
421
|
@typing.overload
|
458
|
-
def
|
422
|
+
def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
459
423
|
...
|
460
424
|
|
461
425
|
@typing.overload
|
462
|
-
def
|
426
|
+
def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
463
427
|
...
|
464
428
|
|
465
|
-
def
|
429
|
+
def resources(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None):
|
466
430
|
"""
|
467
|
-
Specifies
|
468
|
-
|
469
|
-
This decorator is useful if this step may hang indefinitely.
|
431
|
+
Specifies the resources needed when executing this step.
|
470
432
|
|
471
|
-
|
472
|
-
|
473
|
-
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
433
|
+
Use `@resources` to specify the resource requirements
|
434
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
474
435
|
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
486
|
-
starts only after all sensors finish.
|
436
|
+
You can choose the compute layer on the command line by executing e.g.
|
437
|
+
```
|
438
|
+
python myflow.py run --with batch
|
439
|
+
```
|
440
|
+
or
|
441
|
+
```
|
442
|
+
python myflow.py run --with kubernetes
|
443
|
+
```
|
444
|
+
which executes the flow on the desired system using the
|
445
|
+
requirements specified in `@resources`.
|
487
446
|
"""
|
488
447
|
...
|
489
448
|
|
490
|
-
|
449
|
+
@typing.overload
|
450
|
+
def conda(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
491
451
|
"""
|
492
|
-
Specifies
|
452
|
+
Specifies the Conda environment for the step.
|
493
453
|
|
494
|
-
|
495
|
-
|
454
|
+
Information in this decorator will augment any
|
455
|
+
attributes set in the `@conda_base` flow-level decorator. Hence,
|
456
|
+
you can use `@conda_base` to set packages required by all
|
457
|
+
steps and use `@conda` to specify step-specific overrides.
|
496
458
|
"""
|
497
459
|
...
|
498
460
|
|
499
461
|
@typing.overload
|
500
|
-
def
|
501
|
-
"""
|
502
|
-
Specifies the PyPI packages for all steps of the flow.
|
503
|
-
|
504
|
-
Use `@pypi_base` to set common packages required by all
|
505
|
-
steps and use `@pypi` to specify step-specific overrides.
|
506
|
-
"""
|
462
|
+
def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
507
463
|
...
|
508
464
|
|
509
465
|
@typing.overload
|
510
|
-
def
|
466
|
+
def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
511
467
|
...
|
512
468
|
|
513
|
-
def
|
469
|
+
def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
|
514
470
|
"""
|
515
|
-
Specifies the
|
471
|
+
Specifies the Conda environment for the step.
|
516
472
|
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
def airflow_external_task_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, external_dag_id: str, external_task_ids: typing.List[str], allowed_states: typing.List[str], failed_states: typing.List[str], execution_delta: "datetime.timedelta", check_existence: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
523
|
-
"""
|
524
|
-
The `@airflow_external_task_sensor` decorator attaches a Airflow [ExternalTaskSensor](https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/sensors/external_task/index.html#airflow.sensors.external_task.ExternalTaskSensor) before the start step of the flow.
|
525
|
-
This decorator only works when a flow is scheduled on Airflow and is compiled using `airflow create`. More than one `@airflow_external_task_sensor` can be added as a flow decorators. Adding more than one decorator will ensure that `start` step starts only after all sensors finish.
|
473
|
+
Information in this decorator will augment any
|
474
|
+
attributes set in the `@conda_base` flow-level decorator. Hence,
|
475
|
+
you can use `@conda_base` to set packages required by all
|
476
|
+
steps and use `@conda` to specify step-specific overrides.
|
526
477
|
"""
|
527
478
|
...
|
528
479
|
|
@@ -599,22 +550,29 @@ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: t
|
|
599
550
|
"""
|
600
551
|
...
|
601
552
|
|
602
|
-
|
603
|
-
def schedule(*, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
553
|
+
def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
604
554
|
"""
|
605
|
-
Specifies
|
606
|
-
|
555
|
+
Specifies what flows belong to the same project.
|
556
|
+
|
557
|
+
A project-specific namespace is created for all flows that
|
558
|
+
use the same `@project(name)`.
|
607
559
|
"""
|
608
560
|
...
|
609
561
|
|
610
|
-
|
611
|
-
|
562
|
+
def airflow_external_task_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, external_dag_id: str, external_task_ids: typing.List[str], allowed_states: typing.List[str], failed_states: typing.List[str], execution_delta: "datetime.timedelta", check_existence: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
563
|
+
"""
|
564
|
+
The `@airflow_external_task_sensor` decorator attaches a Airflow [ExternalTaskSensor](https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/sensors/external_task/index.html#airflow.sensors.external_task.ExternalTaskSensor) before the start step of the flow.
|
565
|
+
This decorator only works when a flow is scheduled on Airflow and is compiled using `airflow create`. More than one `@airflow_external_task_sensor` can be added as a flow decorators. Adding more than one decorator will ensure that `start` step starts only after all sensors finish.
|
566
|
+
"""
|
612
567
|
...
|
613
568
|
|
614
|
-
def
|
569
|
+
def airflow_s3_key_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, bucket_key: typing.Union[str, typing.List[str]], bucket_name: str, wildcard_match: bool, aws_conn_id: str, verify: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
615
570
|
"""
|
616
|
-
|
617
|
-
|
571
|
+
The `@airflow_s3_key_sensor` decorator attaches a Airflow [S3KeySensor](https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/_api/airflow/providers/amazon/aws/sensors/s3/index.html#airflow.providers.amazon.aws.sensors.s3.S3KeySensor)
|
572
|
+
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
573
|
+
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
574
|
+
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
575
|
+
starts only after all sensors finish.
|
618
576
|
"""
|
619
577
|
...
|
620
578
|
|
@@ -699,6 +657,29 @@ def trigger_on_finish(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *
|
|
699
657
|
"""
|
700
658
|
...
|
701
659
|
|
660
|
+
@typing.overload
|
661
|
+
def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
662
|
+
"""
|
663
|
+
Specifies the PyPI packages for all steps of the flow.
|
664
|
+
|
665
|
+
Use `@pypi_base` to set common packages required by all
|
666
|
+
steps and use `@pypi` to specify step-specific overrides.
|
667
|
+
"""
|
668
|
+
...
|
669
|
+
|
670
|
+
@typing.overload
|
671
|
+
def pypi_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
672
|
+
...
|
673
|
+
|
674
|
+
def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
|
675
|
+
"""
|
676
|
+
Specifies the PyPI packages for all steps of the flow.
|
677
|
+
|
678
|
+
Use `@pypi_base` to set common packages required by all
|
679
|
+
steps and use `@pypi` to specify step-specific overrides.
|
680
|
+
"""
|
681
|
+
...
|
682
|
+
|
702
683
|
@typing.overload
|
703
684
|
def conda_base(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
704
685
|
"""
|
@@ -722,3 +703,22 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
|
|
722
703
|
"""
|
723
704
|
...
|
724
705
|
|
706
|
+
@typing.overload
|
707
|
+
def schedule(*, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
708
|
+
"""
|
709
|
+
Specifies the times when the flow should be run when running on a
|
710
|
+
production scheduler.
|
711
|
+
"""
|
712
|
+
...
|
713
|
+
|
714
|
+
@typing.overload
|
715
|
+
def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
716
|
+
...
|
717
|
+
|
718
|
+
def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None):
|
719
|
+
"""
|
720
|
+
Specifies the times when the flow should be run when running on a
|
721
|
+
production scheduler.
|
722
|
+
"""
|
723
|
+
...
|
724
|
+
|
metaflow-stubs/cards.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.4 #
|
4
|
+
# Generated on 2025-01-15T17:53:58.577858 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -17,6 +17,7 @@ from .plugins.cards.card_modules.components import Error as Error
|
|
17
17
|
from .plugins.cards.card_modules.components import Markdown as Markdown
|
18
18
|
from .plugins.cards.card_modules.components import VegaChart as VegaChart
|
19
19
|
from .plugins.cards.card_modules.components import ProgressBar as ProgressBar
|
20
|
+
from .plugins.cards.card_modules.components import PythonCode as PythonCode
|
20
21
|
from .plugins.cards.card_modules.basic import DefaultCard as DefaultCard
|
21
22
|
from .plugins.cards.card_modules.basic import PageComponent as PageComponent
|
22
23
|
from .plugins.cards.card_modules.basic import ErrorCard as ErrorCard
|
metaflow-stubs/cli.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.4 #
|
4
|
+
# Generated on 2025-01-15T17:53:58.586744 #
|
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.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.4 #
|
4
|
+
# Generated on 2025-01-15T17:53:58.585465 #
|
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.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.4 #
|
4
|
+
# Generated on 2025-01-15T17:53:58.607960 #
|
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.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.4 #
|
4
|
+
# Generated on 2025-01-15T17:53:58.578177 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/client/core.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.4 #
|
4
|
+
# Generated on 2025-01-15T17:53:58.582878 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,10 +9,10 @@ from __future__ import annotations
|
|
9
9
|
import metaflow
|
10
10
|
import typing
|
11
11
|
if typing.TYPE_CHECKING:
|
12
|
-
import typing
|
13
12
|
import tarfile
|
14
|
-
import metaflow.client.core
|
15
13
|
import datetime
|
14
|
+
import typing
|
15
|
+
import metaflow.client.core
|
16
16
|
import metaflow.events
|
17
17
|
|
18
18
|
from ..metaflow_current import current as current
|