ob-metaflow-stubs 3.8__py2.py3-none-any.whl → 4.0__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 +462 -461
- metaflow-stubs/cards.pyi +10 -4
- metaflow-stubs/cli.pyi +2 -22
- metaflow-stubs/client/__init__.pyi +4 -4
- metaflow-stubs/client/core.pyi +7 -7
- metaflow-stubs/client/filecache.pyi +2 -2
- metaflow-stubs/clone_util.pyi +2 -2
- metaflow-stubs/events.pyi +3 -3
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +6 -5
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +4 -4
- metaflow-stubs/metadata/metadata.pyi +2 -2
- metaflow-stubs/metadata/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +4 -4
- metaflow-stubs/metaflow_current.pyi +18 -18
- metaflow-stubs/mflog/mflog.pyi +2 -2
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +9 -3
- metaflow-stubs/plugins/__init__.pyi +8 -2
- metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow_cli.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 +4 -4
- metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +3 -3
- metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +4 -4
- metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +4 -4
- metaflow-stubs/plugins/argo/__init__.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
- metaflow-stubs/plugins/aws/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
- metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_cli.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +3 -3
- 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/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 +2 -2
- metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
- metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
- metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/cards/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_cli.pyi +4 -4
- metaflow-stubs/plugins/cards/card_client.pyi +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 +8 -2
- metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/components.pyi +3 -3
- 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 +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 +4 -4
- metaflow-stubs/plugins/datatools/s3/s3.pyi +6 -5
- 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 +3 -3
- metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
- metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +3 -3
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
- metaflow-stubs/plugins/logs_cli.pyi +3 -3
- metaflow-stubs/plugins/package_cli.pyi +2 -2
- metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- metaflow-stubs/plugins/perimeters.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 +5 -5
- metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/pypi_environment.pyi +4 -4
- 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 +2 -2
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/tag_cli.pyi +5 -5
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
- metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
- metaflow-stubs/procpoll.pyi +2 -2
- metaflow-stubs/profilers/__init__.pyi +2 -2
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +2 -2
- metaflow-stubs/runner/metaflow_runner.pyi +5 -5
- metaflow-stubs/runner/nbrun.pyi +2 -2
- metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- metaflow-stubs/tagging_util.pyi +2 -2
- metaflow-stubs/tuple_util.pyi +2 -2
- {ob_metaflow_stubs-3.8.dist-info → ob_metaflow_stubs-4.0.dist-info}/METADATA +1 -1
- ob_metaflow_stubs-4.0.dist-info/RECORD +142 -0
- ob_metaflow_stubs-3.8.dist-info/RECORD +0 -142
- {ob_metaflow_stubs-3.8.dist-info → ob_metaflow_stubs-4.0.dist-info}/WHEEL +0 -0
- {ob_metaflow_stubs-3.8.dist-info → ob_metaflow_stubs-4.0.dist-info}/top_level.txt +0 -0
metaflow-stubs/cards.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.053485 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -9,11 +9,11 @@ from __future__ import annotations
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
11
|
import metaflow.plugins.cards.card_client
|
12
|
-
import metaflow.plugins.cards.card_modules.
|
12
|
+
import metaflow.plugins.cards.card_modules.components
|
13
13
|
import metaflow.plugins.cards.card_modules.card
|
14
14
|
import typing
|
15
15
|
import metaflow
|
16
|
-
import metaflow.plugins.cards.card_modules.
|
16
|
+
import metaflow.plugins.cards.card_modules.basic
|
17
17
|
|
18
18
|
def get_cards(task: typing.Union[str, "metaflow.Task"], id: typing.Optional[str] = None, type: typing.Optional[str] = None, follow_resumed: bool = True) -> metaflow.plugins.cards.card_client.CardContainer:
|
19
19
|
"""
|
@@ -243,6 +243,12 @@ class PageComponent(metaflow.plugins.cards.card_modules.basic.DefaultComponent,
|
|
243
243
|
class ErrorCard(metaflow.plugins.cards.card_modules.card.MetaflowCard, metaclass=type):
|
244
244
|
def __init__(self, options = {}, components = [], graph = None):
|
245
245
|
...
|
246
|
+
def reload_content_token(self, task, data):
|
247
|
+
"""
|
248
|
+
The reload token will change when the component array has changed in the Metaflow card.
|
249
|
+
The change in the component array is signified by the change in the component_update_ts.
|
250
|
+
"""
|
251
|
+
...
|
246
252
|
def render(self, task, stack_trace = None):
|
247
253
|
...
|
248
254
|
...
|
metaflow-stubs/cli.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.061623 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -31,26 +31,6 @@ def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
|
|
31
31
|
"""
|
32
32
|
...
|
33
33
|
|
34
|
-
def get_metadata() -> str:
|
35
|
-
"""
|
36
|
-
Returns the current Metadata provider.
|
37
|
-
|
38
|
-
If this is not set explicitly using `metadata`, the default value is
|
39
|
-
determined through the Metaflow configuration. You can use this call to
|
40
|
-
check that your configuration is set up properly.
|
41
|
-
|
42
|
-
If multiple configuration profiles are present, this call returns the one
|
43
|
-
selected through the `METAFLOW_PROFILE` environment variable.
|
44
|
-
|
45
|
-
Returns
|
46
|
-
-------
|
47
|
-
str
|
48
|
-
Information about the Metadata provider currently selected. This information typically
|
49
|
-
returns provider specific information (like URL for remote providers or local paths for
|
50
|
-
local providers).
|
51
|
-
"""
|
52
|
-
...
|
53
|
-
|
54
34
|
class CommandException(metaflow.exception.MetaflowException, metaclass=type):
|
55
35
|
...
|
56
36
|
|
@@ -1,17 +1,17 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.055883 #
|
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.client.core
|
12
11
|
import datetime
|
13
|
-
import
|
12
|
+
import metaflow.client.core
|
14
13
|
import metaflow.events
|
14
|
+
import typing
|
15
15
|
|
16
16
|
def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
|
17
17
|
"""
|
metaflow-stubs/client/core.pyi
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.042242 #
|
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.events
|
12
11
|
import metaflow.client.core
|
13
|
-
import
|
14
|
-
import datetime
|
12
|
+
import metaflow.metaflow_current
|
15
13
|
import metaflow.exception
|
16
14
|
import typing
|
17
15
|
import metaflow
|
18
|
-
import
|
16
|
+
import tarfile
|
17
|
+
import datetime
|
18
|
+
import metaflow.events
|
19
19
|
|
20
20
|
current: metaflow.metaflow_current.Current
|
21
21
|
|
@@ -304,7 +304,7 @@ def default_namespace() -> str:
|
|
304
304
|
...
|
305
305
|
|
306
306
|
class MetaflowObject(object, metaclass=type):
|
307
|
-
def __init__(self, pathspec: typing.Optional[str] = None, attempt: typing.Optional[int] = None, _object: typing.Optional["MetaflowObject"] = None, _parent: typing.Optional["MetaflowObject"] = None, _namespace_check: bool = True):
|
307
|
+
def __init__(self, pathspec: typing.Optional[str] = None, attempt: typing.Optional[int] = None, _object: typing.Optional["MetaflowObject"] = None, _parent: typing.Optional["MetaflowObject"] = None, _namespace_check: bool = True, _current_namespace: typing.Optional[str] = None):
|
308
308
|
...
|
309
309
|
def __iter__(self) -> typing.Iterator["MetaflowObject"]:
|
310
310
|
"""
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.062500 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/clone_util.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.060540 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/events.pyi
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.044105 #
|
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
|
TYPE_CHECKING: bool
|
15
15
|
|
metaflow-stubs/exception.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.034839 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/flowspec.pyi
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.043540 #
|
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.unbounded_foreach
|
11
12
|
import metaflow.parameters
|
12
|
-
import metaflow.
|
13
|
+
import metaflow.flowspec
|
13
14
|
import metaflow.exception
|
14
15
|
import typing
|
15
|
-
import metaflow.
|
16
|
+
import metaflow.datastore.inputs
|
16
17
|
|
17
18
|
class DelayedEvaluationParameter(object, metaclass=type):
|
18
19
|
def __init__(self, name, field, fun):
|
@@ -74,7 +75,7 @@ class ParallelUBF(metaflow.unbounded_foreach.UnboundedForeachInput, metaclass=ty
|
|
74
75
|
...
|
75
76
|
...
|
76
77
|
|
77
|
-
class FlowSpec(object, metaclass=
|
78
|
+
class FlowSpec(object, metaclass=_FlowSpecMeta):
|
78
79
|
def __init__(self, use_cli = True):
|
79
80
|
"""
|
80
81
|
Construct a FlowSpec
|
metaflow-stubs/generated_for.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.12.
|
1
|
+
2.12.5.2+ob(v1) 2024-06-24T23:02:43.020672
|
metaflow-stubs/includefile.pyi
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.051680 #
|
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._vendor.click.types
|
12
|
-
import metaflow.parameters
|
13
11
|
import io
|
12
|
+
import metaflow.parameters
|
14
13
|
import typing
|
15
14
|
import metaflow.plugins.datatools.s3.s3
|
15
|
+
import metaflow._vendor.click.types
|
16
16
|
|
17
17
|
class MetaflowException(Exception, metaclass=type):
|
18
18
|
def __init__(self, msg = "", lineno = None):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.081072 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/metadata/util.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.124086 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.035825 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -28,6 +28,8 @@ DEFAULT_PACKAGE_SUFFIXES: str
|
|
28
28
|
|
29
29
|
DEFAULT_AWS_CLIENT_PROVIDER: str
|
30
30
|
|
31
|
+
DEFAULT_AZURE_CLIENT_PROVIDER: str
|
32
|
+
|
31
33
|
DEFAULT_GCP_CLIENT_PROVIDER: str
|
32
34
|
|
33
35
|
DEFAULT_SECRETS_BACKEND_TYPE: None
|
@@ -283,5 +285,3 @@ MAX_ATTEMPTS: int
|
|
283
285
|
def get_pinned_conda_libs(python_version, datastore_type):
|
284
286
|
...
|
285
287
|
|
286
|
-
DEFAULT_AZURE_CLIENT_PROVIDER: str
|
287
|
-
|
@@ -1,18 +1,18 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.126260 #
|
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
|
-
import metaflow.events
|
11
|
+
import metaflow.metaflow_current
|
13
12
|
import metaflow
|
14
13
|
import typing
|
15
|
-
import metaflow.
|
14
|
+
import metaflow.events
|
15
|
+
import metaflow.plugins.cards.component_serializer
|
16
16
|
|
17
17
|
TYPE_CHECKING: bool
|
18
18
|
|
@@ -242,6 +242,19 @@ class Current(object, metaclass=type):
|
|
242
242
|
"""
|
243
243
|
...
|
244
244
|
@property
|
245
|
+
def trigger(self) -> "metaflow.events.Trigger":
|
246
|
+
"""
|
247
|
+
(only in the presence of the @trigger, or @trigger_on_finish decorators)
|
248
|
+
|
249
|
+
Returns `Trigger` if the current run is triggered by an event
|
250
|
+
|
251
|
+
Returns
|
252
|
+
-------
|
253
|
+
Trigger
|
254
|
+
`Trigger` if triggered by an event
|
255
|
+
"""
|
256
|
+
...
|
257
|
+
@property
|
245
258
|
def project_name(self) -> str:
|
246
259
|
"""
|
247
260
|
(only in the presence of the @project decorator)
|
@@ -308,19 +321,6 @@ class Current(object, metaclass=type):
|
|
308
321
|
True if the flow is deployed with `--production`.
|
309
322
|
"""
|
310
323
|
...
|
311
|
-
@property
|
312
|
-
def trigger(self) -> "metaflow.events.Trigger":
|
313
|
-
"""
|
314
|
-
(only in the presence of the @trigger, or @trigger_on_finish decorators)
|
315
|
-
|
316
|
-
Returns `Trigger` if the current run is triggered by an event
|
317
|
-
|
318
|
-
Returns
|
319
|
-
-------
|
320
|
-
Trigger
|
321
|
-
`Trigger` if triggered by an event
|
322
|
-
"""
|
323
|
-
...
|
324
324
|
...
|
325
325
|
|
326
326
|
current: Current
|
metaflow-stubs/mflog/mflog.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.081392 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.036243 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/parameters.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.037367 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -51,7 +51,13 @@ class ParameterContext(tuple, metaclass=type):
|
|
51
51
|
...
|
52
52
|
...
|
53
53
|
|
54
|
-
|
54
|
+
def flow_context(flow_cls):
|
55
|
+
"""
|
56
|
+
Context manager to set the current flow for the thread. This is used
|
57
|
+
to extract the parameters from the FlowSpec that is being used to create
|
58
|
+
the CLI.
|
59
|
+
"""
|
60
|
+
...
|
55
61
|
|
56
62
|
context_proto: None
|
57
63
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.045868 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -129,6 +129,12 @@ class DefaultCardJSON(metaflow.plugins.cards.card_modules.card.MetaflowCard, met
|
|
129
129
|
class ErrorCard(metaflow.plugins.cards.card_modules.card.MetaflowCard, metaclass=type):
|
130
130
|
def __init__(self, options = {}, components = [], graph = None):
|
131
131
|
...
|
132
|
+
def reload_content_token(self, task, data):
|
133
|
+
"""
|
134
|
+
The reload token will change when the component array has changed in the Metaflow card.
|
135
|
+
The change in the component array is signified by the change in the component_update_ts.
|
136
|
+
"""
|
137
|
+
...
|
132
138
|
def render(self, task, stack_trace = None):
|
133
139
|
...
|
134
140
|
...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.066609 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.103856 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.104792 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.101959 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.101530 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.102182 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.102416 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -13,12 +13,12 @@ if typing.TYPE_CHECKING:
|
|
13
13
|
class ExternalTaskSensorDecorator(metaflow.plugins.airflow.sensors.base_sensor.AirflowSensorDecorator, metaclass=type):
|
14
14
|
def serialize_operator_args(self):
|
15
15
|
...
|
16
|
-
def validate(self):
|
16
|
+
def validate(self, flow):
|
17
17
|
...
|
18
18
|
...
|
19
19
|
|
20
20
|
class S3KeySensorDecorator(metaflow.plugins.airflow.sensors.base_sensor.AirflowSensorDecorator, metaclass=type):
|
21
|
-
def validate(self):
|
21
|
+
def validate(self, flow):
|
22
22
|
...
|
23
23
|
...
|
24
24
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.123039 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -49,7 +49,7 @@ class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
|
|
49
49
|
...
|
50
50
|
def create_task(self):
|
51
51
|
...
|
52
|
-
def validate(self):
|
52
|
+
def validate(self, flow):
|
53
53
|
"""
|
54
54
|
Validate if the arguments for the sensor are correct.
|
55
55
|
"""
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.123503 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -23,7 +23,7 @@ class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
|
|
23
23
|
...
|
24
24
|
def create_task(self):
|
25
25
|
...
|
26
|
-
def validate(self):
|
26
|
+
def validate(self, flow):
|
27
27
|
"""
|
28
28
|
Validate if the arguments for the sensor are correct.
|
29
29
|
"""
|
@@ -48,7 +48,7 @@ AIRFLOW_STATES: dict
|
|
48
48
|
class ExternalTaskSensorDecorator(metaflow.plugins.airflow.sensors.base_sensor.AirflowSensorDecorator, metaclass=type):
|
49
49
|
def serialize_operator_args(self):
|
50
50
|
...
|
51
|
-
def validate(self):
|
51
|
+
def validate(self, flow):
|
52
52
|
...
|
53
53
|
...
|
54
54
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.123842 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -23,7 +23,7 @@ class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
|
|
23
23
|
...
|
24
24
|
def create_task(self):
|
25
25
|
...
|
26
|
-
def validate(self):
|
26
|
+
def validate(self, flow):
|
27
27
|
"""
|
28
28
|
Validate if the arguments for the sensor are correct.
|
29
29
|
"""
|
@@ -44,7 +44,7 @@ class AirflowException(metaflow.exception.MetaflowException, metaclass=type):
|
|
44
44
|
...
|
45
45
|
|
46
46
|
class S3KeySensorDecorator(metaflow.plugins.airflow.sensors.base_sensor.AirflowSensorDecorator, metaclass=type):
|
47
|
-
def validate(self):
|
47
|
+
def validate(self, flow):
|
48
48
|
...
|
49
49
|
...
|
50
50
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.063420 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.5.2+ob(v1) #
|
4
|
+
# Generated on 2024-06-24T23:02:43.092160 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|