metaflow-stubs 2.13.1__py2.py3-none-any.whl → 2.13.3__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 +190 -190
- 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 +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 +6 -6
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +4 -4
- 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 +16 -16
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +4 -4
- metaflow-stubs/plugins/__init__.pyi +21 -13
- 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 +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
- metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -4
- 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 +5 -5
- 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 +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 +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 +2 -2
- 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 +4 -4
- 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 +2 -2
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +6 -6
- 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 +2 -2
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +2 -2
- metaflow-stubs/runner/deployer.pyi +6 -6
- metaflow-stubs/runner/deployer_impl.pyi +3 -3
- metaflow-stubs/runner/metaflow_runner.pyi +14 -6
- 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 +4 -4
- metaflow-stubs/system/__init__.pyi +2 -2
- metaflow-stubs/system/system_logger.pyi +3 -3
- metaflow-stubs/system/system_monitor.pyi +2 -2
- metaflow-stubs/tagging_util.pyi +2 -2
- metaflow-stubs/tuple_util.pyi +2 -2
- metaflow-stubs/user_configs/__init__.pyi +2 -2
- metaflow-stubs/user_configs/config_decorators.pyi +5 -5
- metaflow-stubs/user_configs/config_options.pyi +4 -4
- metaflow-stubs/user_configs/config_parameters.pyi +6 -6
- metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.13.1.dist-info → metaflow_stubs-2.13.3.dist-info}/METADATA +13 -3
- metaflow_stubs-2.13.3.dist-info/RECORD +144 -0
- {metaflow_stubs-2.13.1.dist-info → metaflow_stubs-2.13.3.dist-info}/WHEEL +1 -1
- metaflow_stubs-2.13.1.dist-info/RECORD +0 -144
- {metaflow_stubs-2.13.1.dist-info → metaflow_stubs-2.13.3.dist-info}/top_level.txt +0 -0
metaflow-stubs/__init__.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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:16.057741 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
|
-
import datetime
|
12
11
|
import typing
|
12
|
+
import datetime
|
13
13
|
FlowSpecDerived = typing.TypeVar("FlowSpecDerived", bound="FlowSpec", contravariant=False, covariant=False)
|
14
14
|
StepFlag = typing.NewType("StepFlag", bool)
|
15
15
|
|
@@ -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 events as events
|
39
38
|
from . import tuple_util as tuple_util
|
39
|
+
from . import events as events
|
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,41 +143,74 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
|
|
143
143
|
...
|
144
144
|
|
145
145
|
@typing.overload
|
146
|
-
def
|
146
|
+
def secrets(*, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []) -> 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
|
-
|
148
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
149
|
+
the execution of a step.
|
150
|
+
"""
|
151
|
+
...
|
152
|
+
|
153
|
+
@typing.overload
|
154
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
155
|
+
...
|
156
|
+
|
157
|
+
@typing.overload
|
158
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
159
|
+
...
|
160
|
+
|
161
|
+
def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []):
|
162
|
+
"""
|
163
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
164
|
+
the execution of a step.
|
165
|
+
"""
|
166
|
+
...
|
167
|
+
|
168
|
+
@typing.overload
|
169
|
+
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]]]:
|
170
|
+
"""
|
171
|
+
Specifies the resources needed when executing this step.
|
150
172
|
|
151
|
-
|
152
|
-
|
153
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
173
|
+
Use `@resources` to specify the resource requirements
|
174
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
154
175
|
|
155
|
-
|
156
|
-
|
157
|
-
|
176
|
+
You can choose the compute layer on the command line by executing e.g.
|
177
|
+
```
|
178
|
+
python myflow.py run --with batch
|
179
|
+
```
|
180
|
+
or
|
181
|
+
```
|
182
|
+
python myflow.py run --with kubernetes
|
183
|
+
```
|
184
|
+
which executes the flow on the desired system using the
|
185
|
+
requirements specified in `@resources`.
|
158
186
|
"""
|
159
187
|
...
|
160
188
|
|
161
189
|
@typing.overload
|
162
|
-
def
|
190
|
+
def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
163
191
|
...
|
164
192
|
|
165
193
|
@typing.overload
|
166
|
-
def
|
194
|
+
def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
167
195
|
...
|
168
196
|
|
169
|
-
def
|
197
|
+
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
198
|
"""
|
171
|
-
Specifies the
|
172
|
-
to a step needs to be retried.
|
199
|
+
Specifies the resources needed when executing this step.
|
173
200
|
|
174
|
-
|
175
|
-
|
176
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
201
|
+
Use `@resources` to specify the resource requirements
|
202
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
177
203
|
|
178
|
-
|
179
|
-
|
180
|
-
|
204
|
+
You can choose the compute layer on the command line by executing e.g.
|
205
|
+
```
|
206
|
+
python myflow.py run --with batch
|
207
|
+
```
|
208
|
+
or
|
209
|
+
```
|
210
|
+
python myflow.py run --with kubernetes
|
211
|
+
```
|
212
|
+
which executes the flow on the desired system using the
|
213
|
+
requirements specified in `@resources`.
|
181
214
|
"""
|
182
215
|
...
|
183
216
|
|
@@ -252,6 +285,31 @@ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
|
|
252
285
|
"""
|
253
286
|
...
|
254
287
|
|
288
|
+
@typing.overload
|
289
|
+
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]]]:
|
290
|
+
"""
|
291
|
+
Creates a human-readable report, a Metaflow Card, after this step completes.
|
292
|
+
|
293
|
+
Note that you may add multiple `@card` decorators in a step with different parameters.
|
294
|
+
"""
|
295
|
+
...
|
296
|
+
|
297
|
+
@typing.overload
|
298
|
+
def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
299
|
+
...
|
300
|
+
|
301
|
+
@typing.overload
|
302
|
+
def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
303
|
+
...
|
304
|
+
|
305
|
+
def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45):
|
306
|
+
"""
|
307
|
+
Creates a human-readable report, a Metaflow Card, after this step completes.
|
308
|
+
|
309
|
+
Note that you may add multiple `@card` decorators in a step with different parameters.
|
310
|
+
"""
|
311
|
+
...
|
312
|
+
|
255
313
|
@typing.overload
|
256
314
|
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]]]:
|
257
315
|
"""
|
@@ -322,60 +380,6 @@ def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
|
|
322
380
|
"""
|
323
381
|
...
|
324
382
|
|
325
|
-
@typing.overload
|
326
|
-
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]]]:
|
327
|
-
"""
|
328
|
-
Creates a human-readable report, a Metaflow Card, after this step completes.
|
329
|
-
|
330
|
-
Note that you may add multiple `@card` decorators in a step with different parameters.
|
331
|
-
"""
|
332
|
-
...
|
333
|
-
|
334
|
-
@typing.overload
|
335
|
-
def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
336
|
-
...
|
337
|
-
|
338
|
-
@typing.overload
|
339
|
-
def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
340
|
-
...
|
341
|
-
|
342
|
-
def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45):
|
343
|
-
"""
|
344
|
-
Creates a human-readable report, a Metaflow Card, after this step completes.
|
345
|
-
|
346
|
-
Note that you may add multiple `@card` decorators in a step with different parameters.
|
347
|
-
"""
|
348
|
-
...
|
349
|
-
|
350
|
-
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]]]:
|
351
|
-
"""
|
352
|
-
Specifies that this step should execute on Kubernetes.
|
353
|
-
"""
|
354
|
-
...
|
355
|
-
|
356
|
-
@typing.overload
|
357
|
-
def secrets(*, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []) -> 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]]]:
|
358
|
-
"""
|
359
|
-
Specifies secrets to be retrieved and injected as environment variables prior to
|
360
|
-
the execution of a step.
|
361
|
-
"""
|
362
|
-
...
|
363
|
-
|
364
|
-
@typing.overload
|
365
|
-
def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
366
|
-
...
|
367
|
-
|
368
|
-
@typing.overload
|
369
|
-
def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
370
|
-
...
|
371
|
-
|
372
|
-
def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []):
|
373
|
-
"""
|
374
|
-
Specifies secrets to be retrieved and injected as environment variables prior to
|
375
|
-
the execution of a step.
|
376
|
-
"""
|
377
|
-
...
|
378
|
-
|
379
383
|
@typing.overload
|
380
384
|
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]]]:
|
381
385
|
"""
|
@@ -408,51 +412,47 @@ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
|
|
408
412
|
...
|
409
413
|
|
410
414
|
@typing.overload
|
411
|
-
def
|
415
|
+
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]]]:
|
412
416
|
"""
|
413
|
-
Specifies the
|
417
|
+
Specifies the number of times the task corresponding
|
418
|
+
to a step needs to be retried.
|
414
419
|
|
415
|
-
|
416
|
-
|
420
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
421
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
422
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
417
423
|
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
```
|
422
|
-
or
|
423
|
-
```
|
424
|
-
python myflow.py run --with kubernetes
|
425
|
-
```
|
426
|
-
which executes the flow on the desired system using the
|
427
|
-
requirements specified in `@resources`.
|
424
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
425
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
426
|
+
ensuring that the flow execution can continue.
|
428
427
|
"""
|
429
428
|
...
|
430
429
|
|
431
430
|
@typing.overload
|
432
|
-
def
|
431
|
+
def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
433
432
|
...
|
434
433
|
|
435
434
|
@typing.overload
|
436
|
-
def
|
435
|
+
def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
437
436
|
...
|
438
437
|
|
439
|
-
def
|
438
|
+
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):
|
440
439
|
"""
|
441
|
-
Specifies the
|
440
|
+
Specifies the number of times the task corresponding
|
441
|
+
to a step needs to be retried.
|
442
442
|
|
443
|
-
|
444
|
-
|
443
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
444
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
445
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
445
446
|
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
requirements specified in `@resources`.
|
447
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
448
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
449
|
+
ensuring that the flow execution can continue.
|
450
|
+
"""
|
451
|
+
...
|
452
|
+
|
453
|
+
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]]]:
|
454
|
+
"""
|
455
|
+
Specifies that this step should execute on Kubernetes.
|
456
456
|
"""
|
457
457
|
...
|
458
458
|
|
@@ -500,92 +500,29 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
|
|
500
500
|
"""
|
501
501
|
...
|
502
502
|
|
503
|
-
|
503
|
+
@typing.overload
|
504
|
+
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]]:
|
504
505
|
"""
|
505
|
-
|
506
|
-
|
506
|
+
Specifies the times when the flow should be run when running on a
|
507
|
+
production scheduler.
|
507
508
|
"""
|
508
509
|
...
|
509
510
|
|
510
|
-
|
511
|
-
|
512
|
-
Specifies what flows belong to the same project.
|
513
|
-
|
514
|
-
A project-specific namespace is created for all flows that
|
515
|
-
use the same `@project(name)`.
|
516
|
-
"""
|
511
|
+
@typing.overload
|
512
|
+
def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
517
513
|
...
|
518
514
|
|
519
|
-
|
520
|
-
def trigger(*, event: typing.Union[str, typing.Dict[str, typing.Any], None] = None, events: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = [], options: typing.Dict[str, typing.Any] = {}) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
515
|
+
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):
|
521
516
|
"""
|
522
|
-
Specifies the
|
523
|
-
|
524
|
-
```
|
525
|
-
@trigger(event='foo')
|
526
|
-
```
|
527
|
-
or
|
528
|
-
```
|
529
|
-
@trigger(events=['foo', 'bar'])
|
530
|
-
```
|
531
|
-
|
532
|
-
Additionally, you can specify the parameter mappings
|
533
|
-
to map event payload to Metaflow parameters for the flow.
|
534
|
-
```
|
535
|
-
@trigger(event={'name':'foo', 'parameters':{'flow_param': 'event_field'}})
|
536
|
-
```
|
537
|
-
or
|
538
|
-
```
|
539
|
-
@trigger(events=[{'name':'foo', 'parameters':{'flow_param_1': 'event_field_1'},
|
540
|
-
{'name':'bar', 'parameters':{'flow_param_2': 'event_field_2'}])
|
541
|
-
```
|
542
|
-
|
543
|
-
'parameters' can also be a list of strings and tuples like so:
|
544
|
-
```
|
545
|
-
@trigger(event={'name':'foo', 'parameters':['common_name', ('flow_param', 'event_field')]})
|
546
|
-
```
|
547
|
-
This is equivalent to:
|
548
|
-
```
|
549
|
-
@trigger(event={'name':'foo', 'parameters':{'common_name': 'common_name', 'flow_param': 'event_field'}})
|
550
|
-
```
|
517
|
+
Specifies the times when the flow should be run when running on a
|
518
|
+
production scheduler.
|
551
519
|
"""
|
552
520
|
...
|
553
521
|
|
554
|
-
|
555
|
-
def trigger(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
556
|
-
...
|
557
|
-
|
558
|
-
def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: typing.Union[str, typing.Dict[str, typing.Any], None] = None, events: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = [], options: typing.Dict[str, typing.Any] = {}):
|
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]]:
|
559
523
|
"""
|
560
|
-
|
561
|
-
|
562
|
-
```
|
563
|
-
@trigger(event='foo')
|
564
|
-
```
|
565
|
-
or
|
566
|
-
```
|
567
|
-
@trigger(events=['foo', 'bar'])
|
568
|
-
```
|
569
|
-
|
570
|
-
Additionally, you can specify the parameter mappings
|
571
|
-
to map event payload to Metaflow parameters for the flow.
|
572
|
-
```
|
573
|
-
@trigger(event={'name':'foo', 'parameters':{'flow_param': 'event_field'}})
|
574
|
-
```
|
575
|
-
or
|
576
|
-
```
|
577
|
-
@trigger(events=[{'name':'foo', 'parameters':{'flow_param_1': 'event_field_1'},
|
578
|
-
{'name':'bar', 'parameters':{'flow_param_2': 'event_field_2'}])
|
579
|
-
```
|
580
|
-
|
581
|
-
'parameters' can also be a list of strings and tuples like so:
|
582
|
-
```
|
583
|
-
@trigger(event={'name':'foo', 'parameters':['common_name', ('flow_param', 'event_field')]})
|
584
|
-
```
|
585
|
-
This is equivalent to:
|
586
|
-
```
|
587
|
-
@trigger(event={'name':'foo', 'parameters':{'common_name': 'common_name', 'flow_param': 'event_field'}})
|
588
|
-
```
|
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.
|
589
526
|
"""
|
590
527
|
...
|
591
528
|
|
@@ -703,22 +640,85 @@ def airflow_s3_key_sensor(*, timeout: int, poke_interval: int, mode: str, expone
|
|
703
640
|
"""
|
704
641
|
...
|
705
642
|
|
643
|
+
def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
644
|
+
"""
|
645
|
+
Specifies what flows belong to the same project.
|
646
|
+
|
647
|
+
A project-specific namespace is created for all flows that
|
648
|
+
use the same `@project(name)`.
|
649
|
+
"""
|
650
|
+
...
|
651
|
+
|
706
652
|
@typing.overload
|
707
|
-
def
|
653
|
+
def trigger(*, event: typing.Union[str, typing.Dict[str, typing.Any], None] = None, events: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = [], options: typing.Dict[str, typing.Any] = {}) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
708
654
|
"""
|
709
|
-
Specifies the
|
710
|
-
|
655
|
+
Specifies the event(s) that this flow depends on.
|
656
|
+
|
657
|
+
```
|
658
|
+
@trigger(event='foo')
|
659
|
+
```
|
660
|
+
or
|
661
|
+
```
|
662
|
+
@trigger(events=['foo', 'bar'])
|
663
|
+
```
|
664
|
+
|
665
|
+
Additionally, you can specify the parameter mappings
|
666
|
+
to map event payload to Metaflow parameters for the flow.
|
667
|
+
```
|
668
|
+
@trigger(event={'name':'foo', 'parameters':{'flow_param': 'event_field'}})
|
669
|
+
```
|
670
|
+
or
|
671
|
+
```
|
672
|
+
@trigger(events=[{'name':'foo', 'parameters':{'flow_param_1': 'event_field_1'},
|
673
|
+
{'name':'bar', 'parameters':{'flow_param_2': 'event_field_2'}])
|
674
|
+
```
|
675
|
+
|
676
|
+
'parameters' can also be a list of strings and tuples like so:
|
677
|
+
```
|
678
|
+
@trigger(event={'name':'foo', 'parameters':['common_name', ('flow_param', 'event_field')]})
|
679
|
+
```
|
680
|
+
This is equivalent to:
|
681
|
+
```
|
682
|
+
@trigger(event={'name':'foo', 'parameters':{'common_name': 'common_name', 'flow_param': 'event_field'}})
|
683
|
+
```
|
711
684
|
"""
|
712
685
|
...
|
713
686
|
|
714
687
|
@typing.overload
|
715
|
-
def
|
688
|
+
def trigger(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
716
689
|
...
|
717
690
|
|
718
|
-
def
|
691
|
+
def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: typing.Union[str, typing.Dict[str, typing.Any], None] = None, events: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = [], options: typing.Dict[str, typing.Any] = {}):
|
719
692
|
"""
|
720
|
-
Specifies the
|
721
|
-
|
693
|
+
Specifies the event(s) that this flow depends on.
|
694
|
+
|
695
|
+
```
|
696
|
+
@trigger(event='foo')
|
697
|
+
```
|
698
|
+
or
|
699
|
+
```
|
700
|
+
@trigger(events=['foo', 'bar'])
|
701
|
+
```
|
702
|
+
|
703
|
+
Additionally, you can specify the parameter mappings
|
704
|
+
to map event payload to Metaflow parameters for the flow.
|
705
|
+
```
|
706
|
+
@trigger(event={'name':'foo', 'parameters':{'flow_param': 'event_field'}})
|
707
|
+
```
|
708
|
+
or
|
709
|
+
```
|
710
|
+
@trigger(events=[{'name':'foo', 'parameters':{'flow_param_1': 'event_field_1'},
|
711
|
+
{'name':'bar', 'parameters':{'flow_param_2': 'event_field_2'}])
|
712
|
+
```
|
713
|
+
|
714
|
+
'parameters' can also be a list of strings and tuples like so:
|
715
|
+
```
|
716
|
+
@trigger(event={'name':'foo', 'parameters':['common_name', ('flow_param', 'event_field')]})
|
717
|
+
```
|
718
|
+
This is equivalent to:
|
719
|
+
```
|
720
|
+
@trigger(event={'name':'foo', 'parameters':{'common_name': 'common_name', 'flow_param': 'event_field'}})
|
721
|
+
```
|
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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:15.978105 #
|
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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:15.986979 #
|
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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:15.985674 #
|
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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:16.008616 #
|
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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:15.978410 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/client/core.pyi
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:15.983111 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
|
-
import metaflow
|
10
9
|
import typing
|
10
|
+
import metaflow
|
11
11
|
if typing.TYPE_CHECKING:
|
12
|
-
import datetime
|
13
12
|
import typing
|
14
|
-
import
|
13
|
+
import datetime
|
15
14
|
import metaflow.client.core
|
15
|
+
import metaflow.events
|
16
16
|
import tarfile
|
17
17
|
|
18
18
|
from ..metaflow_current import current as current
|
@@ -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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:16.008243 #
|
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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:15.972551 #
|
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
|
metaflow-stubs/exception.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.3 #
|
4
|
+
# Generated on 2025-01-10T15:23:15.961358 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|