ob-metaflow-stubs 2.11.4.1__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 +2753 -0
- metaflow-stubs/cards.pyi +266 -0
- metaflow-stubs/cli.pyi +137 -0
- metaflow-stubs/client/__init__.pyi +993 -0
- metaflow-stubs/client/core.pyi +1425 -0
- metaflow-stubs/client/filecache.pyi +87 -0
- metaflow-stubs/events.pyi +107 -0
- metaflow-stubs/exception.pyi +98 -0
- metaflow-stubs/flowspec.pyi +297 -0
- metaflow-stubs/generated_for.txt +1 -0
- metaflow-stubs/includefile.pyi +524 -0
- metaflow-stubs/metadata/metadata.pyi +377 -0
- metaflow-stubs/metadata/util.pyi +18 -0
- metaflow-stubs/metaflow_config.pyi +263 -0
- metaflow-stubs/metaflow_current.pyi +327 -0
- metaflow-stubs/mflog/mflog.pyi +22 -0
- metaflow-stubs/multicore_utils.pyi +62 -0
- metaflow-stubs/parameters.pyi +114 -0
- metaflow-stubs/plugins/__init__.pyi +209 -0
- metaflow-stubs/plugins/airflow/__init__.pyi +9 -0
- metaflow-stubs/plugins/airflow/airflow.pyi +179 -0
- metaflow-stubs/plugins/airflow/airflow_cli.pyi +90 -0
- metaflow-stubs/plugins/airflow/airflow_decorator.pyi +50 -0
- metaflow-stubs/plugins/airflow/airflow_utils.pyi +137 -0
- metaflow-stubs/plugins/airflow/exception.pyi +27 -0
- metaflow-stubs/plugins/airflow/sensors/__init__.pyi +26 -0
- metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +60 -0
- metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +54 -0
- metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +50 -0
- metaflow-stubs/plugins/argo/__init__.pyi +9 -0
- metaflow-stubs/plugins/argo/argo_client.pyi +77 -0
- metaflow-stubs/plugins/argo/argo_events.pyi +79 -0
- metaflow-stubs/plugins/argo/argo_workflows.pyi +604 -0
- metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +180 -0
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +169 -0
- metaflow-stubs/plugins/aws/__init__.pyi +9 -0
- metaflow-stubs/plugins/aws/aws_client.pyi +22 -0
- metaflow-stubs/plugins/aws/aws_utils.pyi +93 -0
- metaflow-stubs/plugins/aws/batch/__init__.pyi +9 -0
- metaflow-stubs/plugins/aws/batch/batch.pyi +120 -0
- metaflow-stubs/plugins/aws/batch/batch_cli.pyi +42 -0
- metaflow-stubs/plugins/aws/batch/batch_client.pyi +159 -0
- metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +145 -0
- metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +9 -0
- metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +73 -0
- metaflow-stubs/plugins/aws/step_functions/__init__.pyi +9 -0
- metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +22 -0
- metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +27 -0
- metaflow-stubs/plugins/aws/step_functions/production_token.pyi +18 -0
- metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +17 -0
- metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +220 -0
- metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +139 -0
- metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +36 -0
- metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +49 -0
- metaflow-stubs/plugins/azure/__init__.pyi +9 -0
- metaflow-stubs/plugins/azure/azure_credential.pyi +28 -0
- metaflow-stubs/plugins/azure/azure_exceptions.pyi +28 -0
- metaflow-stubs/plugins/azure/azure_utils.pyi +76 -0
- metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +52 -0
- metaflow-stubs/plugins/azure/includefile_support.pyi +63 -0
- metaflow-stubs/plugins/cards/__init__.pyi +9 -0
- metaflow-stubs/plugins/cards/card_cli.pyi +557 -0
- metaflow-stubs/plugins/cards/card_client.pyi +178 -0
- metaflow-stubs/plugins/cards/card_creator.pyi +26 -0
- metaflow-stubs/plugins/cards/card_datastore.pyi +111 -0
- metaflow-stubs/plugins/cards/card_decorator.pyi +133 -0
- metaflow-stubs/plugins/cards/card_modules/__init__.pyi +67 -0
- metaflow-stubs/plugins/cards/card_modules/basic.pyi +263 -0
- metaflow-stubs/plugins/cards/card_modules/card.pyi +62 -0
- metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +78 -0
- metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +77 -0
- metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +11 -0
- metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +114 -0
- metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +75 -0
- metaflow-stubs/plugins/cards/card_modules/components.pyi +251 -0
- metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +45 -0
- metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +24 -0
- metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +155 -0
- metaflow-stubs/plugins/cards/card_resolver.pyi +60 -0
- metaflow-stubs/plugins/cards/component_serializer.pyi +227 -0
- metaflow-stubs/plugins/cards/exception.pyi +71 -0
- metaflow-stubs/plugins/catch_decorator.pyi +58 -0
- metaflow-stubs/plugins/datatools/__init__.pyi +339 -0
- metaflow-stubs/plugins/datatools/local.pyi +82 -0
- metaflow-stubs/plugins/datatools/s3/__init__.pyi +589 -0
- metaflow-stubs/plugins/datatools/s3/s3.pyi +875 -0
- metaflow-stubs/plugins/datatools/s3/s3tail.pyi +34 -0
- metaflow-stubs/plugins/datatools/s3/s3util.pyi +45 -0
- metaflow-stubs/plugins/debug_logger.pyi +25 -0
- metaflow-stubs/plugins/debug_monitor.pyi +25 -0
- metaflow-stubs/plugins/environment_decorator.pyi +17 -0
- metaflow-stubs/plugins/events_decorator.pyi +34 -0
- metaflow-stubs/plugins/frameworks/__init__.pyi +9 -0
- metaflow-stubs/plugins/frameworks/pytorch.pyi +42 -0
- metaflow-stubs/plugins/gcp/__init__.pyi +9 -0
- metaflow-stubs/plugins/gcp/gs_exceptions.pyi +22 -0
- metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +26 -0
- metaflow-stubs/plugins/gcp/gs_utils.pyi +38 -0
- metaflow-stubs/plugins/gcp/includefile_support.pyi +63 -0
- metaflow-stubs/plugins/kubernetes/__init__.pyi +9 -0
- metaflow-stubs/plugins/kubernetes/kubernetes.pyi +127 -0
- metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +73 -0
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +62 -0
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +165 -0
- metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +100 -0
- metaflow-stubs/plugins/package_cli.pyi +9 -0
- metaflow-stubs/plugins/parallel_decorator.pyi +34 -0
- metaflow-stubs/plugins/project_decorator.pyi +36 -0
- metaflow-stubs/plugins/pypi/__init__.pyi +18 -0
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +59 -0
- metaflow-stubs/plugins/pypi/conda_environment.pyi +86 -0
- metaflow-stubs/plugins/pypi/pypi_decorator.pyi +22 -0
- metaflow-stubs/plugins/pypi/pypi_environment.pyi +50 -0
- metaflow-stubs/plugins/pypi/utils.pyi +28 -0
- metaflow-stubs/plugins/resources_decorator.pyi +15 -0
- metaflow-stubs/plugins/retry_decorator.pyi +28 -0
- metaflow-stubs/plugins/secrets/__init__.pyi +21 -0
- metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +30 -0
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +75 -0
- metaflow-stubs/plugins/storage_executor.pyi +33 -0
- metaflow-stubs/plugins/tag_cli.pyi +370 -0
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +54 -0
- metaflow-stubs/plugins/timeout_decorator.pyi +39 -0
- metaflow-stubs/procpoll.pyi +51 -0
- metaflow-stubs/py.typed +0 -0
- metaflow-stubs/pylint_wrapper.pyi +31 -0
- metaflow-stubs/tagging_util.pyi +52 -0
- ob_metaflow_stubs-2.11.4.1.dist-info/METADATA +22 -0
- ob_metaflow_stubs-2.11.4.1.dist-info/RECORD +131 -0
- ob_metaflow_stubs-2.11.4.1.dist-info/WHEEL +6 -0
- ob_metaflow_stubs-2.11.4.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,604 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.11.4.1 #
|
4
|
+
# Generated on 2024-02-28T05:30:43.969068 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import typing
|
10
|
+
if typing.TYPE_CHECKING:
|
11
|
+
import metaflow.metaflow_current
|
12
|
+
import metaflow.exception
|
13
|
+
import metaflow._vendor.click.types
|
14
|
+
import metaflow.parameters
|
15
|
+
|
16
|
+
JSONType: metaflow.parameters.JSONTypeClass
|
17
|
+
|
18
|
+
current: metaflow.metaflow_current.Current
|
19
|
+
|
20
|
+
class MetaflowException(Exception, metaclass=type):
|
21
|
+
def __init__(self, msg = "", lineno = None):
|
22
|
+
...
|
23
|
+
def __str__(self):
|
24
|
+
...
|
25
|
+
...
|
26
|
+
|
27
|
+
class FilePathClass(metaflow._vendor.click.types.ParamType, metaclass=type):
|
28
|
+
def __init__(self, is_text, encoding):
|
29
|
+
...
|
30
|
+
def convert(self, value, param, ctx):
|
31
|
+
...
|
32
|
+
def __str__(self):
|
33
|
+
...
|
34
|
+
def __repr__(self):
|
35
|
+
...
|
36
|
+
...
|
37
|
+
|
38
|
+
ARGO_EVENTS_EVENT: None
|
39
|
+
|
40
|
+
ARGO_EVENTS_EVENT_BUS: str
|
41
|
+
|
42
|
+
ARGO_EVENTS_EVENT_SOURCE: None
|
43
|
+
|
44
|
+
ARGO_EVENTS_INTERNAL_WEBHOOK_URL: None
|
45
|
+
|
46
|
+
ARGO_EVENTS_SERVICE_ACCOUNT: None
|
47
|
+
|
48
|
+
ARGO_EVENTS_WEBHOOK_AUTH: str
|
49
|
+
|
50
|
+
ARGO_WORKFLOWS_ENV_VARS_TO_SKIP: str
|
51
|
+
|
52
|
+
ARGO_WORKFLOWS_KUBERNETES_SECRETS: str
|
53
|
+
|
54
|
+
ARGO_WORKFLOWS_UI_URL: None
|
55
|
+
|
56
|
+
AWS_SECRETS_MANAGER_DEFAULT_REGION: None
|
57
|
+
|
58
|
+
AZURE_STORAGE_BLOB_SERVICE_ENDPOINT: None
|
59
|
+
|
60
|
+
CARD_AZUREROOT: None
|
61
|
+
|
62
|
+
CARD_GSROOT: None
|
63
|
+
|
64
|
+
CARD_S3ROOT: None
|
65
|
+
|
66
|
+
DATASTORE_SYSROOT_AZURE: None
|
67
|
+
|
68
|
+
DATASTORE_SYSROOT_GS: None
|
69
|
+
|
70
|
+
DATASTORE_SYSROOT_S3: None
|
71
|
+
|
72
|
+
DATATOOLS_S3ROOT: None
|
73
|
+
|
74
|
+
DEFAULT_METADATA: str
|
75
|
+
|
76
|
+
DEFAULT_SECRETS_BACKEND_TYPE: None
|
77
|
+
|
78
|
+
KUBERNETES_FETCH_EC2_METADATA: bool
|
79
|
+
|
80
|
+
KUBERNETES_LABELS: str
|
81
|
+
|
82
|
+
KUBERNETES_NAMESPACE: str
|
83
|
+
|
84
|
+
KUBERNETES_NODE_SELECTOR: str
|
85
|
+
|
86
|
+
KUBERNETES_SANDBOX_INIT_SCRIPT: None
|
87
|
+
|
88
|
+
KUBERNETES_SECRETS: str
|
89
|
+
|
90
|
+
S3_ENDPOINT_URL: None
|
91
|
+
|
92
|
+
S3_SERVER_SIDE_ENCRYPTION: None
|
93
|
+
|
94
|
+
SERVICE_HEADERS: dict
|
95
|
+
|
96
|
+
SERVICE_INTERNAL_URL: None
|
97
|
+
|
98
|
+
UI_URL: None
|
99
|
+
|
100
|
+
BASH_SAVE_LOGS: str
|
101
|
+
|
102
|
+
def deploy_time_eval(value):
|
103
|
+
...
|
104
|
+
|
105
|
+
def parse_kube_keyvalue_list(items: typing.List[str], requires_both: bool = True):
|
106
|
+
...
|
107
|
+
|
108
|
+
def validate_kube_labels(labels: typing.Optional[typing.Dict[str, typing.Optional[str]]]) -> bool:
|
109
|
+
"""
|
110
|
+
Validate label values.
|
111
|
+
|
112
|
+
This validates the kubernetes label values. It does not validate the keys.
|
113
|
+
Ideally, keys should be static and also the validation rules for keys are
|
114
|
+
more complex than those for values. For full validation rules, see:
|
115
|
+
|
116
|
+
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
|
117
|
+
"""
|
118
|
+
...
|
119
|
+
|
120
|
+
class ArgoClient(object, metaclass=type):
|
121
|
+
def __init__(self, namespace = None):
|
122
|
+
...
|
123
|
+
def get_workflow(self, name):
|
124
|
+
...
|
125
|
+
def get_workflow_template(self, name):
|
126
|
+
...
|
127
|
+
def get_workflow_templates(self):
|
128
|
+
...
|
129
|
+
def register_workflow_template(self, name, workflow_template):
|
130
|
+
...
|
131
|
+
def delete_cronworkflow(self, name):
|
132
|
+
"""
|
133
|
+
Issues an API call for deleting a cronworkflow
|
134
|
+
|
135
|
+
Returns either the successful API response, or None in case the resource was not found.
|
136
|
+
"""
|
137
|
+
...
|
138
|
+
def delete_workflow_template(self, name):
|
139
|
+
"""
|
140
|
+
Issues an API call for deleting a cronworkflow
|
141
|
+
|
142
|
+
Returns either the successful API response, or None in case the resource was not found.
|
143
|
+
"""
|
144
|
+
...
|
145
|
+
def terminate_workflow(self, name):
|
146
|
+
...
|
147
|
+
def suspend_workflow(self, name):
|
148
|
+
...
|
149
|
+
def unsuspend_workflow(self, name):
|
150
|
+
...
|
151
|
+
def trigger_workflow_template(self, name, parameters = {}):
|
152
|
+
...
|
153
|
+
def schedule_workflow_template(self, name, schedule = None, timezone = None):
|
154
|
+
...
|
155
|
+
def register_sensor(self, name, sensor = None):
|
156
|
+
...
|
157
|
+
def delete_sensor(self, name):
|
158
|
+
"""
|
159
|
+
Issues an API call for deleting a sensor
|
160
|
+
|
161
|
+
Returns either the successful API response, or None in case the resource was not found.
|
162
|
+
"""
|
163
|
+
...
|
164
|
+
...
|
165
|
+
|
166
|
+
class ArgoWorkflowsException(metaflow.exception.MetaflowException, metaclass=type):
|
167
|
+
...
|
168
|
+
|
169
|
+
class ArgoWorkflowsSchedulingException(metaflow.exception.MetaflowException, metaclass=type):
|
170
|
+
...
|
171
|
+
|
172
|
+
class ArgoWorkflows(object, metaclass=type):
|
173
|
+
def __init__(self, name, graph, flow, code_package_sha, code_package_url, production_token, metadata, flow_datastore, environment, event_logger, monitor, tags = None, namespace = None, username = None, max_workers = None, workflow_timeout = None, workflow_priority = None, auto_emit_argo_events = False, notify_on_error = False, notify_on_success = False, notify_slack_webhook_url = None, notify_pager_duty_integration_key = None):
|
174
|
+
...
|
175
|
+
def __str__(self):
|
176
|
+
...
|
177
|
+
def deploy(self):
|
178
|
+
...
|
179
|
+
@staticmethod
|
180
|
+
def list_templates(flow_name, all = False):
|
181
|
+
...
|
182
|
+
@staticmethod
|
183
|
+
def delete(name):
|
184
|
+
...
|
185
|
+
@classmethod
|
186
|
+
def terminate(cls, flow_name, name):
|
187
|
+
...
|
188
|
+
@staticmethod
|
189
|
+
def get_workflow_status(flow_name, name):
|
190
|
+
...
|
191
|
+
@staticmethod
|
192
|
+
def suspend(name):
|
193
|
+
...
|
194
|
+
@staticmethod
|
195
|
+
def unsuspend(name):
|
196
|
+
...
|
197
|
+
@classmethod
|
198
|
+
def trigger(cls, name, parameters = None):
|
199
|
+
...
|
200
|
+
def schedule(self):
|
201
|
+
...
|
202
|
+
def trigger_explanation(self):
|
203
|
+
...
|
204
|
+
@classmethod
|
205
|
+
def get_existing_deployment(cls, name):
|
206
|
+
...
|
207
|
+
@classmethod
|
208
|
+
def get_execution(cls, name):
|
209
|
+
...
|
210
|
+
def list_to_prose(self, items, singular):
|
211
|
+
...
|
212
|
+
...
|
213
|
+
|
214
|
+
class WorkflowTemplate(object, metaclass=type):
|
215
|
+
def __init__(self):
|
216
|
+
...
|
217
|
+
def metadata(self, object_meta):
|
218
|
+
...
|
219
|
+
def spec(self, workflow_spec):
|
220
|
+
...
|
221
|
+
def to_json(self):
|
222
|
+
...
|
223
|
+
def __str__(self):
|
224
|
+
...
|
225
|
+
...
|
226
|
+
|
227
|
+
class ObjectMeta(object, metaclass=type):
|
228
|
+
def __init__(self):
|
229
|
+
...
|
230
|
+
def annotation(self, key, value):
|
231
|
+
...
|
232
|
+
def annotations(self, annotations):
|
233
|
+
...
|
234
|
+
def generate_name(self, generate_name):
|
235
|
+
...
|
236
|
+
def label(self, key, value):
|
237
|
+
...
|
238
|
+
def labels(self, labels):
|
239
|
+
...
|
240
|
+
def name(self, name):
|
241
|
+
...
|
242
|
+
def namespace(self, namespace):
|
243
|
+
...
|
244
|
+
def to_json(self):
|
245
|
+
...
|
246
|
+
def __str__(self):
|
247
|
+
...
|
248
|
+
...
|
249
|
+
|
250
|
+
class WorkflowSpec(object, metaclass=type):
|
251
|
+
def __init__(self):
|
252
|
+
...
|
253
|
+
def active_deadline_seconds(self, active_deadline_seconds):
|
254
|
+
...
|
255
|
+
def automount_service_account_token(self, mount = True):
|
256
|
+
...
|
257
|
+
def arguments(self, arguments):
|
258
|
+
...
|
259
|
+
def archive_logs(self, archive_logs = True):
|
260
|
+
...
|
261
|
+
def entrypoint(self, entrypoint):
|
262
|
+
...
|
263
|
+
def parallelism(self, parallelism):
|
264
|
+
...
|
265
|
+
def pod_metadata(self, metadata):
|
266
|
+
...
|
267
|
+
def priority(self, priority):
|
268
|
+
...
|
269
|
+
def workflow_metadata(self, workflow_metadata):
|
270
|
+
...
|
271
|
+
def service_account_name(self, service_account_name):
|
272
|
+
...
|
273
|
+
def templates(self, templates):
|
274
|
+
...
|
275
|
+
def hooks(self, hooks):
|
276
|
+
...
|
277
|
+
def to_json(self):
|
278
|
+
...
|
279
|
+
def __str__(self):
|
280
|
+
...
|
281
|
+
...
|
282
|
+
|
283
|
+
class Metadata(object, metaclass=type):
|
284
|
+
def __init__(self):
|
285
|
+
...
|
286
|
+
def annotation(self, key, value):
|
287
|
+
...
|
288
|
+
def annotations(self, annotations):
|
289
|
+
...
|
290
|
+
def label(self, key, value):
|
291
|
+
...
|
292
|
+
def labels(self, labels):
|
293
|
+
...
|
294
|
+
def labels_from(self, labels_from):
|
295
|
+
...
|
296
|
+
def to_json(self):
|
297
|
+
...
|
298
|
+
def __str__(self):
|
299
|
+
...
|
300
|
+
...
|
301
|
+
|
302
|
+
class Template(object, metaclass=type):
|
303
|
+
def __init__(self, name):
|
304
|
+
...
|
305
|
+
def active_deadline_seconds(self, active_deadline_seconds):
|
306
|
+
...
|
307
|
+
def dag(self, dag_template):
|
308
|
+
...
|
309
|
+
def container(self, container):
|
310
|
+
...
|
311
|
+
def http(self, http):
|
312
|
+
...
|
313
|
+
def inputs(self, inputs):
|
314
|
+
...
|
315
|
+
def outputs(self, outputs):
|
316
|
+
...
|
317
|
+
def fail_fast(self, fail_fast = True):
|
318
|
+
...
|
319
|
+
def metadata(self, metadata):
|
320
|
+
...
|
321
|
+
def service_account_name(self, service_account_name):
|
322
|
+
...
|
323
|
+
def retry_strategy(self, times, minutes_between_retries):
|
324
|
+
...
|
325
|
+
def empty_dir_volume(self, name, medium = None, size_limit = None):
|
326
|
+
"""
|
327
|
+
Create and attach an emptyDir volume for Kubernetes.
|
328
|
+
|
329
|
+
Parameters:
|
330
|
+
-----------
|
331
|
+
name: str
|
332
|
+
name for the volume
|
333
|
+
size_limit: int (optional)
|
334
|
+
sizeLimit (in MiB) for the volume
|
335
|
+
medium: str (optional)
|
336
|
+
storage medium of the emptyDir
|
337
|
+
"""
|
338
|
+
...
|
339
|
+
def pvc_volumes(self, pvcs = None):
|
340
|
+
"""
|
341
|
+
Create and attach Persistent Volume Claims as volumes.
|
342
|
+
|
343
|
+
Parameters:
|
344
|
+
-----------
|
345
|
+
pvcs: Optional[Dict]
|
346
|
+
a dictionary of pvc's and the paths they should be mounted to. e.g.
|
347
|
+
{"pv-claim-1": "/mnt/path1", "pv-claim-2": "/mnt/path2"}
|
348
|
+
"""
|
349
|
+
...
|
350
|
+
def node_selectors(self, node_selectors):
|
351
|
+
...
|
352
|
+
def tolerations(self, tolerations):
|
353
|
+
...
|
354
|
+
def to_json(self):
|
355
|
+
...
|
356
|
+
def __str__(self):
|
357
|
+
...
|
358
|
+
...
|
359
|
+
|
360
|
+
class Inputs(object, metaclass=type):
|
361
|
+
def __init__(self):
|
362
|
+
...
|
363
|
+
def parameters(self, parameters):
|
364
|
+
...
|
365
|
+
def to_json(self):
|
366
|
+
...
|
367
|
+
def __str__(self):
|
368
|
+
...
|
369
|
+
...
|
370
|
+
|
371
|
+
class Outputs(object, metaclass=type):
|
372
|
+
def __init__(self):
|
373
|
+
...
|
374
|
+
def parameters(self, parameters):
|
375
|
+
...
|
376
|
+
def to_json(self):
|
377
|
+
...
|
378
|
+
def __str__(self):
|
379
|
+
...
|
380
|
+
...
|
381
|
+
|
382
|
+
class Parameter(object, metaclass=type):
|
383
|
+
def __init__(self, name):
|
384
|
+
...
|
385
|
+
def value(self, value):
|
386
|
+
...
|
387
|
+
def default(self, value):
|
388
|
+
...
|
389
|
+
def valueFrom(self, value_from):
|
390
|
+
...
|
391
|
+
def description(self, description):
|
392
|
+
...
|
393
|
+
def to_json(self):
|
394
|
+
...
|
395
|
+
def __str__(self):
|
396
|
+
...
|
397
|
+
...
|
398
|
+
|
399
|
+
class DAGTemplate(object, metaclass=type):
|
400
|
+
def __init__(self):
|
401
|
+
...
|
402
|
+
def fail_fast(self, fail_fast = True):
|
403
|
+
...
|
404
|
+
def tasks(self, tasks):
|
405
|
+
...
|
406
|
+
def to_json(self):
|
407
|
+
...
|
408
|
+
def __str__(self):
|
409
|
+
...
|
410
|
+
...
|
411
|
+
|
412
|
+
class DAGTask(object, metaclass=type):
|
413
|
+
def __init__(self, name):
|
414
|
+
...
|
415
|
+
def arguments(self, arguments):
|
416
|
+
...
|
417
|
+
def dependencies(self, dependencies):
|
418
|
+
...
|
419
|
+
def template(self, template):
|
420
|
+
...
|
421
|
+
def inline(self, template):
|
422
|
+
...
|
423
|
+
def with_param(self, with_param):
|
424
|
+
...
|
425
|
+
def to_json(self):
|
426
|
+
...
|
427
|
+
def __str__(self):
|
428
|
+
...
|
429
|
+
...
|
430
|
+
|
431
|
+
class Arguments(object, metaclass=type):
|
432
|
+
def __init__(self):
|
433
|
+
...
|
434
|
+
def parameters(self, parameters):
|
435
|
+
...
|
436
|
+
def to_json(self):
|
437
|
+
...
|
438
|
+
def __str__(self):
|
439
|
+
...
|
440
|
+
...
|
441
|
+
|
442
|
+
class Sensor(object, metaclass=type):
|
443
|
+
def __init__(self):
|
444
|
+
...
|
445
|
+
def metadata(self, object_meta):
|
446
|
+
...
|
447
|
+
def spec(self, sensor_spec):
|
448
|
+
...
|
449
|
+
def to_json(self):
|
450
|
+
...
|
451
|
+
def __str__(self):
|
452
|
+
...
|
453
|
+
...
|
454
|
+
|
455
|
+
class SensorSpec(object, metaclass=type):
|
456
|
+
def __init__(self):
|
457
|
+
...
|
458
|
+
def replicas(self, replicas = 1):
|
459
|
+
...
|
460
|
+
def template(self, sensor_template):
|
461
|
+
...
|
462
|
+
def trigger(self, trigger):
|
463
|
+
...
|
464
|
+
def dependencies(self, dependencies):
|
465
|
+
...
|
466
|
+
def event_bus_name(self, event_bus_name):
|
467
|
+
...
|
468
|
+
def to_json(self):
|
469
|
+
...
|
470
|
+
def __str__(self):
|
471
|
+
...
|
472
|
+
...
|
473
|
+
|
474
|
+
class SensorTemplate(object, metaclass=type):
|
475
|
+
def __init__(self):
|
476
|
+
...
|
477
|
+
def service_account_name(self, service_account_name):
|
478
|
+
...
|
479
|
+
def metadata(self, object_meta):
|
480
|
+
...
|
481
|
+
def container(self, container):
|
482
|
+
...
|
483
|
+
def to_json(self):
|
484
|
+
...
|
485
|
+
def __str__(self):
|
486
|
+
...
|
487
|
+
...
|
488
|
+
|
489
|
+
class EventDependency(object, metaclass=type):
|
490
|
+
def __init__(self, name):
|
491
|
+
...
|
492
|
+
def event_source_name(self, event_source_name):
|
493
|
+
...
|
494
|
+
def event_name(self, event_name):
|
495
|
+
...
|
496
|
+
def filters(self, event_dependency_filter):
|
497
|
+
...
|
498
|
+
def transform(self, event_dependency_transformer = None):
|
499
|
+
...
|
500
|
+
def filters_logical_operator(self, logical_operator):
|
501
|
+
...
|
502
|
+
def to_json(self):
|
503
|
+
...
|
504
|
+
def __str__(self):
|
505
|
+
...
|
506
|
+
...
|
507
|
+
|
508
|
+
class EventDependencyFilter(object, metaclass=type):
|
509
|
+
def __init__(self):
|
510
|
+
...
|
511
|
+
def exprs(self, exprs):
|
512
|
+
...
|
513
|
+
def context(self, event_context):
|
514
|
+
...
|
515
|
+
def to_json(self):
|
516
|
+
...
|
517
|
+
def __str__(self):
|
518
|
+
...
|
519
|
+
...
|
520
|
+
|
521
|
+
class Trigger(object, metaclass=type):
|
522
|
+
def __init__(self):
|
523
|
+
...
|
524
|
+
def template(self, trigger_template):
|
525
|
+
...
|
526
|
+
def parameters(self, trigger_parameters):
|
527
|
+
...
|
528
|
+
def policy(self, trigger_policy):
|
529
|
+
...
|
530
|
+
def to_json(self):
|
531
|
+
...
|
532
|
+
def __str__(self):
|
533
|
+
...
|
534
|
+
...
|
535
|
+
|
536
|
+
class TriggerTemplate(object, metaclass=type):
|
537
|
+
def __init__(self, name):
|
538
|
+
...
|
539
|
+
def argo_workflow_trigger(self, argo_workflow_trigger):
|
540
|
+
...
|
541
|
+
def conditions_reset(self, cron, timezone):
|
542
|
+
...
|
543
|
+
def to_json(self):
|
544
|
+
...
|
545
|
+
def __str__(self):
|
546
|
+
...
|
547
|
+
...
|
548
|
+
|
549
|
+
class ArgoWorkflowTrigger(object, metaclass=type):
|
550
|
+
def __init__(self):
|
551
|
+
...
|
552
|
+
def source(self, source):
|
553
|
+
...
|
554
|
+
def parameters(self, trigger_parameters):
|
555
|
+
...
|
556
|
+
def to_json(self):
|
557
|
+
...
|
558
|
+
def __str__(self):
|
559
|
+
...
|
560
|
+
...
|
561
|
+
|
562
|
+
class TriggerParameter(object, metaclass=type):
|
563
|
+
def __init__(self):
|
564
|
+
...
|
565
|
+
def src(self, dependency_name, value, data_key = None, data_template = None):
|
566
|
+
...
|
567
|
+
def dest(self, dest):
|
568
|
+
...
|
569
|
+
def to_json(self):
|
570
|
+
...
|
571
|
+
def __str__(self):
|
572
|
+
...
|
573
|
+
...
|
574
|
+
|
575
|
+
class Http(object, metaclass=type):
|
576
|
+
def __init__(self, method):
|
577
|
+
...
|
578
|
+
def header(self, header, value):
|
579
|
+
...
|
580
|
+
def body(self, body):
|
581
|
+
...
|
582
|
+
def url(self, url):
|
583
|
+
...
|
584
|
+
def success_condition(self, success_condition):
|
585
|
+
...
|
586
|
+
def to_json(self):
|
587
|
+
...
|
588
|
+
def __str__(self):
|
589
|
+
...
|
590
|
+
...
|
591
|
+
|
592
|
+
class LifecycleHook(object, metaclass=type):
|
593
|
+
def __init__(self):
|
594
|
+
...
|
595
|
+
def expression(self, expression):
|
596
|
+
...
|
597
|
+
def template(self, template):
|
598
|
+
...
|
599
|
+
def to_json(self):
|
600
|
+
...
|
601
|
+
def __str__(self):
|
602
|
+
...
|
603
|
+
...
|
604
|
+
|