metaflow-stubs 2.13.6__py2.py3-none-any.whl → 2.13.8__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 +165 -165
- metaflow-stubs/cards.pyi +2 -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 +5 -5
- metaflow-stubs/client/filecache.pyi +3 -3
- metaflow-stubs/events.pyi +3 -3
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +4 -4
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +3 -3
- 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 +4 -2
- metaflow-stubs/metaflow_current.pyi +23 -23
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +7 -4
- metaflow-stubs/plugins/__init__.pyi +12 -12
- 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 +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +3 -3
- metaflow-stubs/plugins/aws/__init__.pyi +4 -4
- 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 +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +2 -2
- 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 +2 -2
- metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
- metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/card.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 +2 -2
- metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
- 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 +12 -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 +2 -2
- 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/kubernetes/spot_monitor_sidecar.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 +3 -3
- metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
- 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 +4 -4
- 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 +5 -4
- 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 +6 -6
- metaflow-stubs/user_configs/config_options.pyi +2 -2
- metaflow-stubs/user_configs/config_parameters.pyi +12 -12
- metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.13.6.dist-info → metaflow_stubs-2.13.8.dist-info}/METADATA +2 -2
- metaflow_stubs-2.13.8.dist-info/RECORD +145 -0
- metaflow_stubs-2.13.6.dist-info/RECORD +0 -145
- {metaflow_stubs-2.13.6.dist-info → metaflow_stubs-2.13.8.dist-info}/WHEEL +0 -0
- {metaflow_stubs-2.13.6.dist-info → metaflow_stubs-2.13.8.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.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.279121 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -35,8 +35,8 @@ from .user_configs.config_parameters import ConfigValue as ConfigValue
|
|
35
35
|
from .user_configs.config_parameters import config_expr as config_expr
|
36
36
|
from .user_configs.config_decorators import CustomFlowDecorator as CustomFlowDecorator
|
37
37
|
from .user_configs.config_decorators import CustomStepDecorator as CustomStepDecorator
|
38
|
-
from . import tuple_util as tuple_util
|
39
38
|
from . import events as events
|
39
|
+
from . import tuple_util as tuple_util
|
40
40
|
from . import runner as runner
|
41
41
|
from . import plugins as plugins
|
42
42
|
from .plugins.datatools.s3.s3 import S3 as S3
|
@@ -143,138 +143,91 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
|
|
143
143
|
...
|
144
144
|
|
145
145
|
@typing.overload
|
146
|
-
def
|
146
|
+
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]]]:
|
147
147
|
"""
|
148
|
-
Specifies
|
149
|
-
|
150
|
-
This decorator is useful if this step may hang indefinitely.
|
148
|
+
Specifies the resources needed when executing this step.
|
151
149
|
|
152
|
-
|
153
|
-
|
154
|
-
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
150
|
+
Use `@resources` to specify the resource requirements
|
151
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
155
152
|
|
156
|
-
|
157
|
-
|
153
|
+
You can choose the compute layer on the command line by executing e.g.
|
154
|
+
```
|
155
|
+
python myflow.py run --with batch
|
156
|
+
```
|
157
|
+
or
|
158
|
+
```
|
159
|
+
python myflow.py run --with kubernetes
|
160
|
+
```
|
161
|
+
which executes the flow on the desired system using the
|
162
|
+
requirements specified in `@resources`.
|
158
163
|
"""
|
159
164
|
...
|
160
165
|
|
161
166
|
@typing.overload
|
162
|
-
def
|
167
|
+
def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
163
168
|
...
|
164
169
|
|
165
170
|
@typing.overload
|
166
|
-
def
|
171
|
+
def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
167
172
|
...
|
168
173
|
|
169
|
-
def
|
174
|
+
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):
|
170
175
|
"""
|
171
|
-
Specifies
|
172
|
-
|
173
|
-
This decorator is useful if this step may hang indefinitely.
|
176
|
+
Specifies the resources needed when executing this step.
|
174
177
|
|
175
|
-
|
176
|
-
|
177
|
-
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
178
|
+
Use `@resources` to specify the resource requirements
|
179
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
178
180
|
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
...
|
190
|
-
|
191
|
-
@typing.overload
|
192
|
-
def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
193
|
-
...
|
194
|
-
|
195
|
-
@typing.overload
|
196
|
-
def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
197
|
-
...
|
198
|
-
|
199
|
-
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):
|
200
|
-
"""
|
201
|
-
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
181
|
+
You can choose the compute layer on the command line by executing e.g.
|
182
|
+
```
|
183
|
+
python myflow.py run --with batch
|
184
|
+
```
|
185
|
+
or
|
186
|
+
```
|
187
|
+
python myflow.py run --with kubernetes
|
188
|
+
```
|
189
|
+
which executes the flow on the desired system using the
|
190
|
+
requirements specified in `@resources`.
|
202
191
|
"""
|
203
192
|
...
|
204
193
|
|
205
194
|
@typing.overload
|
206
|
-
def
|
195
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
207
196
|
"""
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
This decorator is useful for handling transient errors, such as networking issues.
|
212
|
-
If your task contains operations that can't be retried safely, e.g. database updates,
|
213
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
214
|
-
|
215
|
-
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
216
|
-
decorator will execute a no-op task after all retries have been exhausted,
|
217
|
-
ensuring that the flow execution can continue.
|
197
|
+
Decorator prototype for all step decorators. This function gets specialized
|
198
|
+
and imported for all decorators types by _import_plugin_decorators().
|
218
199
|
"""
|
219
200
|
...
|
220
201
|
|
221
202
|
@typing.overload
|
222
|
-
def
|
223
|
-
...
|
224
|
-
|
225
|
-
@typing.overload
|
226
|
-
def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
203
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
227
204
|
...
|
228
205
|
|
229
|
-
def
|
206
|
+
def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
|
230
207
|
"""
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
This decorator is useful for handling transient errors, such as networking issues.
|
235
|
-
If your task contains operations that can't be retried safely, e.g. database updates,
|
236
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
237
|
-
|
238
|
-
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
239
|
-
decorator will execute a no-op task after all retries have been exhausted,
|
240
|
-
ensuring that the flow execution can continue.
|
208
|
+
Decorator prototype for all step decorators. This function gets specialized
|
209
|
+
and imported for all decorators types by _import_plugin_decorators().
|
241
210
|
"""
|
242
211
|
...
|
243
212
|
|
244
213
|
@typing.overload
|
245
|
-
def
|
214
|
+
def environment(*, vars: typing.Dict[str, str] = {}) -> 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]]]:
|
246
215
|
"""
|
247
|
-
Specifies
|
248
|
-
|
249
|
-
Information in this decorator will augment any
|
250
|
-
attributes set in the `@conda_base` flow-level decorator. Hence,
|
251
|
-
you can use `@conda_base` to set packages required by all
|
252
|
-
steps and use `@conda` to specify step-specific overrides.
|
216
|
+
Specifies environment variables to be set prior to the execution of a step.
|
253
217
|
"""
|
254
218
|
...
|
255
219
|
|
256
220
|
@typing.overload
|
257
|
-
def
|
221
|
+
def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
258
222
|
...
|
259
223
|
|
260
224
|
@typing.overload
|
261
|
-
def
|
262
|
-
...
|
263
|
-
|
264
|
-
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):
|
265
|
-
"""
|
266
|
-
Specifies the Conda environment for the step.
|
267
|
-
|
268
|
-
Information in this decorator will augment any
|
269
|
-
attributes set in the `@conda_base` flow-level decorator. Hence,
|
270
|
-
you can use `@conda_base` to set packages required by all
|
271
|
-
steps and use `@conda` to specify step-specific overrides.
|
272
|
-
"""
|
225
|
+
def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
273
226
|
...
|
274
227
|
|
275
|
-
def
|
228
|
+
def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
|
276
229
|
"""
|
277
|
-
Specifies
|
230
|
+
Specifies environment variables to be set prior to the execution of a step.
|
278
231
|
"""
|
279
232
|
...
|
280
233
|
|
@@ -326,34 +279,30 @@ def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typ
|
|
326
279
|
"""
|
327
280
|
...
|
328
281
|
|
282
|
+
def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: typing.Optional[str] = None, image_pull_policy: str = 'KUBERNETES_IMAGE_PULL_POLICY', service_account: str = 'METAFLOW_KUBERNETES_SERVICE_ACCOUNT', secrets: typing.Optional[typing.List[str]] = None, node_selector: typing.Union[typing.Dict[str, str], str, None] = None, namespace: str = 'METAFLOW_KUBERNETES_NAMESPACE', gpu: typing.Optional[int] = None, gpu_vendor: str = 'KUBERNETES_GPU_VENDOR', tolerations: typing.List[str] = [], labels: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_LABELS', annotations: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_ANNOTATIONS', use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = '/metaflow_temp', persistent_volume_claims: typing.Optional[typing.Dict[str, str]] = None, shared_memory: typing.Optional[int] = None, port: typing.Optional[int] = None, compute_pool: typing.Optional[str] = None, hostname_resolution_timeout: int = 600, qos: str = 'Burstable') -> 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]]]:
|
283
|
+
"""
|
284
|
+
Specifies that this step should execute on Kubernetes.
|
285
|
+
"""
|
286
|
+
...
|
287
|
+
|
329
288
|
@typing.overload
|
330
|
-
def
|
289
|
+
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]]]:
|
331
290
|
"""
|
332
|
-
Specifies
|
333
|
-
|
334
|
-
Information in this decorator will augment any
|
335
|
-
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
336
|
-
you can use `@pypi_base` to set packages required by all
|
337
|
-
steps and use `@pypi` to specify step-specific overrides.
|
291
|
+
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
338
292
|
"""
|
339
293
|
...
|
340
294
|
|
341
295
|
@typing.overload
|
342
|
-
def
|
296
|
+
def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
343
297
|
...
|
344
298
|
|
345
299
|
@typing.overload
|
346
|
-
def
|
300
|
+
def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
347
301
|
...
|
348
302
|
|
349
|
-
def
|
303
|
+
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):
|
350
304
|
"""
|
351
|
-
Specifies
|
352
|
-
|
353
|
-
Information in this decorator will augment any
|
354
|
-
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
355
|
-
you can use `@pypi_base` to set packages required by all
|
356
|
-
steps and use `@pypi` to specify step-specific overrides.
|
305
|
+
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
357
306
|
"""
|
358
307
|
...
|
359
308
|
|
@@ -389,91 +338,142 @@ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
|
|
389
338
|
...
|
390
339
|
|
391
340
|
@typing.overload
|
392
|
-
def
|
341
|
+
def pypi(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[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]]]:
|
393
342
|
"""
|
394
|
-
Specifies
|
343
|
+
Specifies the PyPI packages for the step.
|
344
|
+
|
345
|
+
Information in this decorator will augment any
|
346
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
347
|
+
you can use `@pypi_base` to set packages required by all
|
348
|
+
steps and use `@pypi` to specify step-specific overrides.
|
395
349
|
"""
|
396
350
|
...
|
397
351
|
|
398
352
|
@typing.overload
|
399
|
-
def
|
353
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
400
354
|
...
|
401
355
|
|
402
356
|
@typing.overload
|
403
|
-
def
|
357
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
404
358
|
...
|
405
359
|
|
406
|
-
def
|
360
|
+
def pypi(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
|
407
361
|
"""
|
408
|
-
Specifies
|
362
|
+
Specifies the PyPI packages for the step.
|
363
|
+
|
364
|
+
Information in this decorator will augment any
|
365
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
366
|
+
you can use `@pypi_base` to set packages required by all
|
367
|
+
steps and use `@pypi` to specify step-specific overrides.
|
409
368
|
"""
|
410
369
|
...
|
411
370
|
|
412
371
|
@typing.overload
|
413
|
-
def
|
372
|
+
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]]]:
|
414
373
|
"""
|
415
|
-
Specifies the
|
374
|
+
Specifies the number of times the task corresponding
|
375
|
+
to a step needs to be retried.
|
416
376
|
|
417
|
-
|
418
|
-
|
377
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
378
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
379
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
419
380
|
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
```
|
424
|
-
or
|
425
|
-
```
|
426
|
-
python myflow.py run --with kubernetes
|
427
|
-
```
|
428
|
-
which executes the flow on the desired system using the
|
429
|
-
requirements specified in `@resources`.
|
381
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
382
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
383
|
+
ensuring that the flow execution can continue.
|
430
384
|
"""
|
431
385
|
...
|
432
386
|
|
433
387
|
@typing.overload
|
434
|
-
def
|
388
|
+
def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
435
389
|
...
|
436
390
|
|
437
391
|
@typing.overload
|
438
|
-
def
|
392
|
+
def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
439
393
|
...
|
440
394
|
|
441
|
-
def
|
395
|
+
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):
|
442
396
|
"""
|
443
|
-
Specifies the
|
397
|
+
Specifies the number of times the task corresponding
|
398
|
+
to a step needs to be retried.
|
444
399
|
|
445
|
-
|
446
|
-
|
400
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
401
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
402
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
447
403
|
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
```
|
452
|
-
or
|
453
|
-
```
|
454
|
-
python myflow.py run --with kubernetes
|
455
|
-
```
|
456
|
-
which executes the flow on the desired system using the
|
457
|
-
requirements specified in `@resources`.
|
404
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
405
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
406
|
+
ensuring that the flow execution can continue.
|
458
407
|
"""
|
459
408
|
...
|
460
409
|
|
461
410
|
@typing.overload
|
462
|
-
def
|
411
|
+
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]]]:
|
463
412
|
"""
|
464
|
-
|
465
|
-
|
413
|
+
Specifies a timeout for your step.
|
414
|
+
|
415
|
+
This decorator is useful if this step may hang indefinitely.
|
416
|
+
|
417
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
418
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
419
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
420
|
+
|
421
|
+
Note that all the values specified in parameters are added together so if you specify
|
422
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
466
423
|
"""
|
467
424
|
...
|
468
425
|
|
469
426
|
@typing.overload
|
470
|
-
def
|
427
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
471
428
|
...
|
472
429
|
|
473
|
-
|
430
|
+
@typing.overload
|
431
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
432
|
+
...
|
433
|
+
|
434
|
+
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):
|
474
435
|
"""
|
475
|
-
|
476
|
-
|
436
|
+
Specifies a timeout for your step.
|
437
|
+
|
438
|
+
This decorator is useful if this step may hang indefinitely.
|
439
|
+
|
440
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
441
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
442
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
443
|
+
|
444
|
+
Note that all the values specified in parameters are added together so if you specify
|
445
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
446
|
+
"""
|
447
|
+
...
|
448
|
+
|
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]]]:
|
451
|
+
"""
|
452
|
+
Specifies the Conda environment for the step.
|
453
|
+
|
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.
|
458
|
+
"""
|
459
|
+
...
|
460
|
+
|
461
|
+
@typing.overload
|
462
|
+
def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
463
|
+
...
|
464
|
+
|
465
|
+
@typing.overload
|
466
|
+
def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
467
|
+
...
|
468
|
+
|
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):
|
470
|
+
"""
|
471
|
+
Specifies the Conda environment for the step.
|
472
|
+
|
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.
|
477
477
|
"""
|
478
478
|
...
|
479
479
|
|
@@ -650,6 +650,16 @@ def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly:
|
|
650
650
|
"""
|
651
651
|
...
|
652
652
|
|
653
|
+
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]]:
|
654
|
+
"""
|
655
|
+
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)
|
656
|
+
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
657
|
+
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
658
|
+
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
659
|
+
starts only after all sensors finish.
|
660
|
+
"""
|
661
|
+
...
|
662
|
+
|
653
663
|
@typing.overload
|
654
664
|
def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
655
665
|
"""
|
@@ -696,13 +706,6 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
|
|
696
706
|
"""
|
697
707
|
...
|
698
708
|
|
699
|
-
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]]:
|
700
|
-
"""
|
701
|
-
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.
|
702
|
-
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.
|
703
|
-
"""
|
704
|
-
...
|
705
|
-
|
706
709
|
def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
707
710
|
"""
|
708
711
|
Specifies what flows belong to the same project.
|
@@ -712,13 +715,10 @@ def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typ
|
|
712
715
|
"""
|
713
716
|
...
|
714
717
|
|
715
|
-
def
|
718
|
+
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]]:
|
716
719
|
"""
|
717
|
-
The `@
|
718
|
-
|
719
|
-
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
720
|
-
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
721
|
-
starts only after all sensors finish.
|
720
|
+
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.
|
721
|
+
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.
|
722
722
|
"""
|
723
723
|
...
|
724
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.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.199412 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
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.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.207772 #
|
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.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.206577 #
|
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.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.227873 #
|
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.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.199688 #
|
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.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.204117 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,11 +9,11 @@ from __future__ import annotations
|
|
9
9
|
import typing
|
10
10
|
import metaflow
|
11
11
|
if typing.TYPE_CHECKING:
|
12
|
-
import typing
|
13
|
-
import tarfile
|
14
|
-
import metaflow.events
|
15
12
|
import metaflow.client.core
|
13
|
+
import tarfile
|
14
|
+
import typing
|
16
15
|
import datetime
|
16
|
+
import metaflow.events
|
17
17
|
|
18
18
|
from ..metaflow_current import current as current
|
19
19
|
from ..events import Trigger as Trigger
|
@@ -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.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.227461 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
9
9
|
import metaflow
|
10
10
|
import typing
|
11
11
|
if typing.TYPE_CHECKING:
|
12
|
-
import metaflow.exception
|
13
12
|
import metaflow.datastore.content_addressed_store
|
13
|
+
import metaflow.exception
|
14
14
|
|
15
15
|
from ..exception import MetaflowException as MetaflowException
|
16
16
|
|
metaflow-stubs/events.pyi
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.8 #
|
4
|
+
# Generated on 2025-01-30T22:35:29.193242 #
|
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
|
12
11
|
import metaflow.events
|
12
|
+
import metaflow
|
13
13
|
|
14
14
|
|
15
15
|
TYPE_CHECKING: bool
|