metaflow-stubs 2.12.8__py2.py3-none-any.whl → 2.12.10__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- metaflow-stubs/__init__.pyi +590 -541
- metaflow-stubs/cards.pyi +5 -5
- metaflow-stubs/cli.pyi +2 -2
- metaflow-stubs/client/__init__.pyi +3 -3
- metaflow-stubs/client/core.pyi +6 -6
- metaflow-stubs/client/filecache.pyi +2 -2
- metaflow-stubs/clone_util.pyi +2 -2
- metaflow-stubs/events.pyi +2 -2
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +6 -6
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +4 -4
- metaflow-stubs/metadata/metadata.pyi +2 -2
- metaflow-stubs/metadata/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +2 -2
- metaflow-stubs/metaflow_current.pyi +34 -11
- metaflow-stubs/mflog/mflog.pyi +2 -2
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/parameters.pyi +4 -4
- metaflow-stubs/plugins/__init__.pyi +6 -2
- metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow.pyi +5 -5
- metaflow-stubs/plugins/airflow/airflow_cli.pyi +3 -3
- 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 +48 -4
- metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +270 -5
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +229 -4
- metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +292 -0
- 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 +3 -3
- 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/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 +24 -4
- 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 +260 -0
- 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_cli.pyi +4 -4
- metaflow-stubs/plugins/cards/card_client.pyi +3 -3
- metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
- metaflow-stubs/plugins/cards/card_decorator.pyi +3 -3
- metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
- 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 +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 +3 -3
- metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- metaflow-stubs/plugins/cards/component_serializer.pyi +4 -4
- metaflow-stubs/plugins/cards/exception.pyi +2 -2
- metaflow-stubs/plugins/catch_decorator.pyi +3 -3
- metaflow-stubs/plugins/datatools/__init__.pyi +4 -4
- metaflow-stubs/plugins/datatools/local.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/__init__.pyi +3 -3
- metaflow-stubs/plugins/datatools/s3/s3.pyi +6 -6
- 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 +3 -3
- metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- metaflow-stubs/plugins/frameworks/pytorch.pyi +5 -3
- 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/kubernetes.pyi +18 -10
- metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +12 -12
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +26 -3
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +14 -31
- metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +26 -3
- metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +82 -28
- metaflow-stubs/plugins/logs_cli.pyi +2 -2
- metaflow-stubs/plugins/package_cli.pyi +2 -2
- metaflow-stubs/plugins/parallel_decorator.pyi +47 -2
- metaflow-stubs/plugins/project_decorator.pyi +3 -3
- metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +4 -4
- metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/pypi_environment.pyi +3 -3
- metaflow-stubs/plugins/pypi/utils.pyi +2 -2
- metaflow-stubs/plugins/resources_decorator.pyi +2 -2
- metaflow-stubs/plugins/retry_decorator.pyi +2 -2
- metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
- metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +3 -3
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/tag_cli.pyi +5 -5
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +25 -2
- metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
- metaflow-stubs/procpoll.pyi +2 -2
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +2 -2
- metaflow-stubs/runner/deployer.pyi +354 -0
- metaflow-stubs/runner/metaflow_runner.pyi +11 -11
- metaflow-stubs/runner/nbdeploy.pyi +54 -0
- metaflow-stubs/runner/nbrun.pyi +7 -7
- metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- metaflow-stubs/runner/utils.pyi +25 -0
- metaflow-stubs/system/__init__.pyi +3 -3
- 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/version.pyi +2 -2
- {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.10.dist-info}/METADATA +2 -2
- metaflow_stubs-2.12.10.dist-info/RECORD +150 -0
- {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.10.dist-info}/WHEEL +1 -1
- metaflow_stubs-2.12.8.dist-info/RECORD +0 -145
- {metaflow_stubs-2.12.8.dist-info → metaflow_stubs-2.12.10.dist-info}/top_level.txt +0 -0
@@ -1,18 +1,15 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.175824 #
|
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.metaflow_current
|
12
11
|
import metaflow.exception
|
13
12
|
|
14
|
-
current: metaflow.metaflow_current.Current
|
15
|
-
|
16
13
|
class MetaflowException(Exception, metaclass=type):
|
17
14
|
def __init__(self, msg = "", lineno = None):
|
18
15
|
...
|
@@ -20,20 +17,20 @@ class MetaflowException(Exception, metaclass=type):
|
|
20
17
|
...
|
21
18
|
...
|
22
19
|
|
23
|
-
UBF_CONTROL: str
|
24
|
-
|
25
|
-
UBF_TASK: str
|
26
|
-
|
27
20
|
KUBERNETES_JOBSET_GROUP: str
|
28
21
|
|
29
22
|
KUBERNETES_JOBSET_VERSION: str
|
30
23
|
|
24
|
+
KUBERNETES_SECRETS: str
|
25
|
+
|
31
26
|
class KubernetesJobsetException(metaflow.exception.MetaflowException, metaclass=type):
|
32
27
|
...
|
33
28
|
|
34
29
|
def k8s_retry(deadline_seconds = 60, max_backoff = 32):
|
35
30
|
...
|
36
31
|
|
32
|
+
CONTROL_JOB_NAME: str
|
33
|
+
|
37
34
|
class JobsetStatus(tuple, metaclass=type):
|
38
35
|
@staticmethod
|
39
36
|
def __new__(_cls, control_pod_failed, control_exit_code, control_pod_status, control_started, control_completed, worker_pods_failed, workers_are_suspended, workers_have_started, all_jobs_are_suspended, jobset_finished, jobset_failed, status_unknown, jobset_was_terminated, some_jobs_are_running):
|
@@ -95,33 +92,90 @@ class RunningJobSet(object, metaclass=type):
|
|
95
92
|
...
|
96
93
|
...
|
97
94
|
|
98
|
-
class
|
99
|
-
|
100
|
-
def jobset_worker_id(cls, control_task_id: str):
|
95
|
+
class JobSetSpec(object, metaclass=type):
|
96
|
+
def __init__(self, kubernetes_sdk, name, **kwargs):
|
101
97
|
...
|
102
|
-
|
103
|
-
def join_step_task_ids(cls, num_parallel):
|
104
|
-
"""
|
105
|
-
Called within the step decorator to set the `flow._control_mapper_tasks`.
|
106
|
-
Setting these allows the flow to know which tasks are needed in the join step.
|
107
|
-
We set this in the `task_pre_step` method of the decorator.
|
108
|
-
"""
|
98
|
+
def replicas(self, replicas):
|
109
99
|
...
|
110
|
-
|
111
|
-
|
100
|
+
def step_name(self, step_name):
|
101
|
+
...
|
102
|
+
def namespace(self, namespace):
|
103
|
+
...
|
104
|
+
def command(self, command):
|
105
|
+
...
|
106
|
+
def image(self, image):
|
107
|
+
...
|
108
|
+
def cpu(self, cpu):
|
109
|
+
...
|
110
|
+
def memory(self, mem):
|
111
|
+
...
|
112
|
+
def environment_variable(self, name, value):
|
113
|
+
...
|
114
|
+
def secret(self, name):
|
115
|
+
...
|
116
|
+
def environment_variable_from_selector(self, name, label_value):
|
117
|
+
...
|
118
|
+
def label(self, name, value):
|
119
|
+
...
|
120
|
+
def annotation(self, name, value):
|
121
|
+
...
|
122
|
+
def dump(self):
|
112
123
|
...
|
113
|
-
...
|
114
|
-
|
115
|
-
def get_control_job(client, job_spec, jobset_main_addr, subdomain, port = None, num_parallel = None, namespace = None, annotations = None) -> dict:
|
116
|
-
...
|
117
|
-
|
118
|
-
def get_worker_job(client, job_spec, job_name, jobset_main_addr, subdomain, control_task_id = None, worker_task_id = None, replicas = 1, port = None, num_parallel = None, namespace = None, annotations = None) -> dict:
|
119
124
|
...
|
120
125
|
|
121
126
|
class KubernetesJobSet(object, metaclass=type):
|
122
|
-
def __init__(self, client, name = None,
|
127
|
+
def __init__(self, client, name = None, namespace = None, num_parallel = None, **kwargs):
|
128
|
+
...
|
129
|
+
@property
|
130
|
+
def jobset_control_addr(self):
|
131
|
+
...
|
132
|
+
@property
|
133
|
+
def worker(self):
|
134
|
+
...
|
135
|
+
@property
|
136
|
+
def control(self):
|
137
|
+
...
|
138
|
+
def environment_variable_from_selector(self, name, label_value):
|
139
|
+
...
|
140
|
+
def environment_variables_from_selectors(self, env_dict):
|
141
|
+
...
|
142
|
+
def environment_variable(self, name, value):
|
143
|
+
...
|
144
|
+
def label(self, name, value):
|
145
|
+
...
|
146
|
+
def annotation(self, name, value):
|
147
|
+
...
|
148
|
+
def secret(self, name):
|
149
|
+
...
|
150
|
+
def dump(self):
|
123
151
|
...
|
124
152
|
def execute(self):
|
125
153
|
...
|
126
154
|
...
|
127
155
|
|
156
|
+
class KubernetesArgoJobSet(object, metaclass=type):
|
157
|
+
def __init__(self, kubernetes_sdk, name = None, namespace = None, **kwargs):
|
158
|
+
...
|
159
|
+
@property
|
160
|
+
def jobset_control_addr(self):
|
161
|
+
...
|
162
|
+
@property
|
163
|
+
def worker(self):
|
164
|
+
...
|
165
|
+
@property
|
166
|
+
def control(self):
|
167
|
+
...
|
168
|
+
def environment_variable_from_selector(self, name, label_value):
|
169
|
+
...
|
170
|
+
def environment_variables_from_selectors(self, env_dict):
|
171
|
+
...
|
172
|
+
def environment_variable(self, name, value):
|
173
|
+
...
|
174
|
+
def label(self, name, value):
|
175
|
+
...
|
176
|
+
def annotation(self, name, value):
|
177
|
+
...
|
178
|
+
def dump(self):
|
179
|
+
...
|
180
|
+
...
|
181
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.152925 #
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.152444 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,17 +1,20 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.143270 #
|
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.metaflow_current
|
11
12
|
import metaflow.decorators
|
12
13
|
|
13
14
|
UBF_CONTROL: str
|
14
15
|
|
16
|
+
CONTROL_TASK_TAG: str
|
17
|
+
|
15
18
|
class MetaflowException(Exception, metaclass=type):
|
16
19
|
def __init__(self, msg = "", lineno = None):
|
17
20
|
...
|
@@ -19,6 +22,46 @@ class MetaflowException(Exception, metaclass=type):
|
|
19
22
|
...
|
20
23
|
...
|
21
24
|
|
25
|
+
class MetaDatum(tuple, metaclass=type):
|
26
|
+
@staticmethod
|
27
|
+
def __new__(_cls, field, value, type, tags):
|
28
|
+
"""
|
29
|
+
Create new instance of MetaDatum(field, value, type, tags)
|
30
|
+
"""
|
31
|
+
...
|
32
|
+
def __repr__(self):
|
33
|
+
"""
|
34
|
+
Return a nicely formatted representation string
|
35
|
+
"""
|
36
|
+
...
|
37
|
+
def __getnewargs__(self):
|
38
|
+
"""
|
39
|
+
Return self as a plain tuple. Used by copy and pickle.
|
40
|
+
"""
|
41
|
+
...
|
42
|
+
...
|
43
|
+
|
44
|
+
current: metaflow.metaflow_current.Current
|
45
|
+
|
46
|
+
class Parallel(tuple, metaclass=type):
|
47
|
+
@staticmethod
|
48
|
+
def __new__(_cls, main_ip, num_nodes, node_index):
|
49
|
+
"""
|
50
|
+
Create new instance of Parallel(main_ip, num_nodes, node_index)
|
51
|
+
"""
|
52
|
+
...
|
53
|
+
def __repr__(self):
|
54
|
+
"""
|
55
|
+
Return a nicely formatted representation string
|
56
|
+
"""
|
57
|
+
...
|
58
|
+
def __getnewargs__(self):
|
59
|
+
"""
|
60
|
+
Return self as a plain tuple. Used by copy and pickle.
|
61
|
+
"""
|
62
|
+
...
|
63
|
+
...
|
64
|
+
|
22
65
|
class ParallelDecorator(metaflow.decorators.StepDecorator, metaclass=type):
|
23
66
|
def __init__(self, attributes = None, statically_defined = False):
|
24
67
|
...
|
@@ -26,6 +69,8 @@ class ParallelDecorator(metaflow.decorators.StepDecorator, metaclass=type):
|
|
26
69
|
...
|
27
70
|
def step_init(self, flow, graph, step_name, decorators, environment, flow_datastore, logger):
|
28
71
|
...
|
72
|
+
def task_pre_step(self, step_name, task_datastore, metadata, run_id, task_id, flow, graph, retry_count, max_user_code_retries, ubf_context, inputs):
|
73
|
+
...
|
29
74
|
def task_decorate(self, step_func, flow, graph, retry_count, max_user_code_retries, ubf_context):
|
30
75
|
...
|
31
76
|
def setup_distributed_env(self, flow):
|
@@ -1,15 +1,15 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.146816 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
|
-
import metaflow.decorators
|
12
11
|
import metaflow.metaflow_current
|
12
|
+
import metaflow.decorators
|
13
13
|
|
14
14
|
class MetaflowException(Exception, metaclass=type):
|
15
15
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.142321 #
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.171374 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,17 +1,17 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.172667 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
|
-
import abc
|
12
11
|
import metaflow.metaflow_environment
|
13
|
-
import metaflow.exception
|
14
12
|
import io
|
13
|
+
import metaflow.exception
|
14
|
+
import abc
|
15
15
|
|
16
16
|
class MetaflowException(Exception, metaclass=type):
|
17
17
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.170727 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,15 +1,15 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.173247 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
|
-
import metaflow.plugins.pypi.conda_environment
|
12
11
|
import metaflow.metaflow_environment
|
12
|
+
import metaflow.plugins.pypi.conda_environment
|
13
13
|
|
14
14
|
class CondaEnvironment(metaflow.metaflow_environment.MetaflowEnvironment, metaclass=type):
|
15
15
|
def __init__(self, flow):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.171726 #
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.142589 #
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.146420 #
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.146111 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,15 +1,15 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.203487 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
|
-
import abc
|
12
11
|
import metaflow.plugins.secrets
|
12
|
+
import abc
|
13
13
|
|
14
14
|
class SecretsProvider(abc.ABC, metaclass=abc.ABCMeta):
|
15
15
|
def get_secret_as_dict(self, secret_id, options = {}, role = None) -> typing.Dict[str, str]:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.203215 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -19,7 +19,7 @@ class MetaflowException(Exception, metaclass=type):
|
|
19
19
|
|
20
20
|
DEFAULT_SECRETS_ROLE: None
|
21
21
|
|
22
|
-
|
22
|
+
UBF_TASK: str
|
23
23
|
|
24
24
|
DISALLOWED_SECRETS_ENV_VAR_PREFIXES: list
|
25
25
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.147722 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,18 +1,18 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.154355 #
|
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 metaflow.metaflow_current
|
13
|
-
import metaflow.exception
|
14
|
-
import metaflow.events
|
15
12
|
import metaflow.client.core
|
13
|
+
import metaflow.events
|
14
|
+
import datetime
|
15
|
+
import metaflow.exception
|
16
16
|
|
17
17
|
def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
|
18
18
|
"""
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.141151 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -22,6 +22,27 @@ UBF_CONTROL: str
|
|
22
22
|
|
23
23
|
UBF_TASK: str
|
24
24
|
|
25
|
+
CONTROL_TASK_TAG: str
|
26
|
+
|
27
|
+
class MetaDatum(tuple, metaclass=type):
|
28
|
+
@staticmethod
|
29
|
+
def __new__(_cls, field, value, type, tags):
|
30
|
+
"""
|
31
|
+
Create new instance of MetaDatum(field, value, type, tags)
|
32
|
+
"""
|
33
|
+
...
|
34
|
+
def __repr__(self):
|
35
|
+
"""
|
36
|
+
Return a nicely formatted representation string
|
37
|
+
"""
|
38
|
+
...
|
39
|
+
def __getnewargs__(self):
|
40
|
+
"""
|
41
|
+
Return self as a plain tuple. Used by copy and pickle.
|
42
|
+
"""
|
43
|
+
...
|
44
|
+
...
|
45
|
+
|
25
46
|
class InternalTestUnboundedForeachInput(metaflow.unbounded_foreach.UnboundedForeachInput, metaclass=type):
|
26
47
|
def __init__(self, iterable):
|
27
48
|
...
|
@@ -44,6 +65,8 @@ class InternalTestUnboundedForeachDecorator(metaflow.decorators.StepDecorator, m
|
|
44
65
|
...
|
45
66
|
def step_init(self, flow, graph, step_name, decorators, environment, flow_datastore, logger):
|
46
67
|
...
|
68
|
+
def task_pre_step(self, step_name, task_datastore, metadata, run_id, task_id, flow, graph, retry_count, max_user_code_retries, ubf_context, inputs):
|
69
|
+
...
|
47
70
|
def control_task_step_func(self, flow, graph, retry_count):
|
48
71
|
...
|
49
72
|
def task_decorate(self, step_func, flow, graph, retry_count, max_user_code_retries, ubf_context):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.143857 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/procpoll.pyi
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.134391 #
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.133905 #
|
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-07-
|
3
|
+
# MF version: 2.12.10 #
|
4
|
+
# Generated on 2024-07-30T23:31:35.114811 #
|
5
5
|
##################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|