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,26 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.11.4.1 #
|
4
|
+
# Generated on 2024-02-28T05:30:43.985004 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import typing
|
10
|
+
if typing.TYPE_CHECKING:
|
11
|
+
import metaflow.plugins.airflow.sensors.base_sensor
|
12
|
+
|
13
|
+
class ExternalTaskSensorDecorator(metaflow.plugins.airflow.sensors.base_sensor.AirflowSensorDecorator, metaclass=type):
|
14
|
+
def serialize_operator_args(self):
|
15
|
+
...
|
16
|
+
def validate(self):
|
17
|
+
...
|
18
|
+
...
|
19
|
+
|
20
|
+
class S3KeySensorDecorator(metaflow.plugins.airflow.sensors.base_sensor.AirflowSensorDecorator, metaclass=type):
|
21
|
+
def validate(self):
|
22
|
+
...
|
23
|
+
...
|
24
|
+
|
25
|
+
SUPPORTED_SENSORS: list
|
26
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.11.4.1 #
|
4
|
+
# Generated on 2024-02-28T05:30:44.012744 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import typing
|
10
|
+
if typing.TYPE_CHECKING:
|
11
|
+
import metaflow.decorators
|
12
|
+
import metaflow.exception
|
13
|
+
|
14
|
+
class AirflowException(metaflow.exception.MetaflowException, metaclass=type):
|
15
|
+
def __init__(self, msg):
|
16
|
+
...
|
17
|
+
...
|
18
|
+
|
19
|
+
class AirflowTask(object, metaclass=type):
|
20
|
+
def __init__(self, name, operator_type = "kubernetes", flow_name = None, is_mapper_node = False, flow_contains_foreach = False):
|
21
|
+
...
|
22
|
+
@property
|
23
|
+
def is_mapper_node(self):
|
24
|
+
...
|
25
|
+
def set_operator_args(self, **kwargs):
|
26
|
+
...
|
27
|
+
def to_dict(self):
|
28
|
+
...
|
29
|
+
@classmethod
|
30
|
+
def from_dict(cls, task_dict, flow_name = None, flow_contains_foreach = False):
|
31
|
+
...
|
32
|
+
def to_task(self):
|
33
|
+
...
|
34
|
+
...
|
35
|
+
|
36
|
+
def id_creator(val, hash_len):
|
37
|
+
...
|
38
|
+
|
39
|
+
TASK_ID_HASH_LEN: int
|
40
|
+
|
41
|
+
class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
|
42
|
+
def __init__(self, *args, **kwargs):
|
43
|
+
...
|
44
|
+
def serialize_operator_args(self):
|
45
|
+
"""
|
46
|
+
Subclasses will parse the decorator arguments to
|
47
|
+
Airflow task serializable arguments.
|
48
|
+
"""
|
49
|
+
...
|
50
|
+
def create_task(self):
|
51
|
+
...
|
52
|
+
def validate(self):
|
53
|
+
"""
|
54
|
+
Validate if the arguments for the sensor are correct.
|
55
|
+
"""
|
56
|
+
...
|
57
|
+
def flow_init(self, flow, graph, environment, flow_datastore, metadata, logger, echo, options):
|
58
|
+
...
|
59
|
+
...
|
60
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.11.4.1 #
|
4
|
+
# Generated on 2024-02-28T05:30:44.013288 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import typing
|
10
|
+
if typing.TYPE_CHECKING:
|
11
|
+
import metaflow.plugins.airflow.sensors.base_sensor
|
12
|
+
import metaflow.decorators
|
13
|
+
import metaflow.exception
|
14
|
+
|
15
|
+
class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
|
16
|
+
def __init__(self, *args, **kwargs):
|
17
|
+
...
|
18
|
+
def serialize_operator_args(self):
|
19
|
+
"""
|
20
|
+
Subclasses will parse the decorator arguments to
|
21
|
+
Airflow task serializable arguments.
|
22
|
+
"""
|
23
|
+
...
|
24
|
+
def create_task(self):
|
25
|
+
...
|
26
|
+
def validate(self):
|
27
|
+
"""
|
28
|
+
Validate if the arguments for the sensor are correct.
|
29
|
+
"""
|
30
|
+
...
|
31
|
+
def flow_init(self, flow, graph, environment, flow_datastore, metadata, logger, echo, options):
|
32
|
+
...
|
33
|
+
...
|
34
|
+
|
35
|
+
class SensorNames(object, metaclass=type):
|
36
|
+
@classmethod
|
37
|
+
def get_supported_sensors(cls):
|
38
|
+
...
|
39
|
+
...
|
40
|
+
|
41
|
+
class AirflowException(metaflow.exception.MetaflowException, metaclass=type):
|
42
|
+
def __init__(self, msg):
|
43
|
+
...
|
44
|
+
...
|
45
|
+
|
46
|
+
AIRFLOW_STATES: dict
|
47
|
+
|
48
|
+
class ExternalTaskSensorDecorator(metaflow.plugins.airflow.sensors.base_sensor.AirflowSensorDecorator, metaclass=type):
|
49
|
+
def serialize_operator_args(self):
|
50
|
+
...
|
51
|
+
def validate(self):
|
52
|
+
...
|
53
|
+
...
|
54
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.11.4.1 #
|
4
|
+
# Generated on 2024-02-28T05:30:44.013759 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import typing
|
10
|
+
if typing.TYPE_CHECKING:
|
11
|
+
import metaflow.plugins.airflow.sensors.base_sensor
|
12
|
+
import metaflow.decorators
|
13
|
+
import metaflow.exception
|
14
|
+
|
15
|
+
class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
|
16
|
+
def __init__(self, *args, **kwargs):
|
17
|
+
...
|
18
|
+
def serialize_operator_args(self):
|
19
|
+
"""
|
20
|
+
Subclasses will parse the decorator arguments to
|
21
|
+
Airflow task serializable arguments.
|
22
|
+
"""
|
23
|
+
...
|
24
|
+
def create_task(self):
|
25
|
+
...
|
26
|
+
def validate(self):
|
27
|
+
"""
|
28
|
+
Validate if the arguments for the sensor are correct.
|
29
|
+
"""
|
30
|
+
...
|
31
|
+
def flow_init(self, flow, graph, environment, flow_datastore, metadata, logger, echo, options):
|
32
|
+
...
|
33
|
+
...
|
34
|
+
|
35
|
+
class SensorNames(object, metaclass=type):
|
36
|
+
@classmethod
|
37
|
+
def get_supported_sensors(cls):
|
38
|
+
...
|
39
|
+
...
|
40
|
+
|
41
|
+
class AirflowException(metaflow.exception.MetaflowException, metaclass=type):
|
42
|
+
def __init__(self, msg):
|
43
|
+
...
|
44
|
+
...
|
45
|
+
|
46
|
+
class S3KeySensorDecorator(metaflow.plugins.airflow.sensors.base_sensor.AirflowSensorDecorator, metaclass=type):
|
47
|
+
def validate(self):
|
48
|
+
...
|
49
|
+
...
|
50
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.11.4.1 #
|
4
|
+
# Generated on 2024-02-28T05:30:43.929086 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,77 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.11.4.1 #
|
4
|
+
# Generated on 2024-02-28T05:30:43.962663 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import typing
|
10
|
+
if typing.TYPE_CHECKING:
|
11
|
+
import metaflow.exception
|
12
|
+
|
13
|
+
class MetaflowException(Exception, metaclass=type):
|
14
|
+
def __init__(self, msg = "", lineno = None):
|
15
|
+
...
|
16
|
+
def __str__(self):
|
17
|
+
...
|
18
|
+
...
|
19
|
+
|
20
|
+
class KubernetesClient(object, metaclass=type):
|
21
|
+
def __init__(self):
|
22
|
+
...
|
23
|
+
def get(self):
|
24
|
+
...
|
25
|
+
def job(self, **kwargs):
|
26
|
+
...
|
27
|
+
...
|
28
|
+
|
29
|
+
class ArgoClientException(metaflow.exception.MetaflowException, metaclass=type):
|
30
|
+
...
|
31
|
+
|
32
|
+
class ArgoClient(object, metaclass=type):
|
33
|
+
def __init__(self, namespace = None):
|
34
|
+
...
|
35
|
+
def get_workflow(self, name):
|
36
|
+
...
|
37
|
+
def get_workflow_template(self, name):
|
38
|
+
...
|
39
|
+
def get_workflow_templates(self):
|
40
|
+
...
|
41
|
+
def register_workflow_template(self, name, workflow_template):
|
42
|
+
...
|
43
|
+
def delete_cronworkflow(self, name):
|
44
|
+
"""
|
45
|
+
Issues an API call for deleting a cronworkflow
|
46
|
+
|
47
|
+
Returns either the successful API response, or None in case the resource was not found.
|
48
|
+
"""
|
49
|
+
...
|
50
|
+
def delete_workflow_template(self, name):
|
51
|
+
"""
|
52
|
+
Issues an API call for deleting a cronworkflow
|
53
|
+
|
54
|
+
Returns either the successful API response, or None in case the resource was not found.
|
55
|
+
"""
|
56
|
+
...
|
57
|
+
def terminate_workflow(self, name):
|
58
|
+
...
|
59
|
+
def suspend_workflow(self, name):
|
60
|
+
...
|
61
|
+
def unsuspend_workflow(self, name):
|
62
|
+
...
|
63
|
+
def trigger_workflow_template(self, name, parameters = {}):
|
64
|
+
...
|
65
|
+
def schedule_workflow_template(self, name, schedule = None, timezone = None):
|
66
|
+
...
|
67
|
+
def register_sensor(self, name, sensor = None):
|
68
|
+
...
|
69
|
+
def delete_sensor(self, name):
|
70
|
+
"""
|
71
|
+
Issues an API call for deleting a sensor
|
72
|
+
|
73
|
+
Returns either the successful API response, or None in case the resource was not found.
|
74
|
+
"""
|
75
|
+
...
|
76
|
+
...
|
77
|
+
|
@@ -0,0 +1,79 @@
|
|
1
|
+
##################################################################################
|
2
|
+
# Auto-generated Metaflow stub file #
|
3
|
+
# MF version: 2.11.4.1 #
|
4
|
+
# Generated on 2024-02-28T05:30:43.960714 #
|
5
|
+
##################################################################################
|
6
|
+
|
7
|
+
from __future__ import annotations
|
8
|
+
|
9
|
+
import typing
|
10
|
+
if typing.TYPE_CHECKING:
|
11
|
+
import metaflow.exception
|
12
|
+
|
13
|
+
class MetaflowException(Exception, metaclass=type):
|
14
|
+
def __init__(self, msg = "", lineno = None):
|
15
|
+
...
|
16
|
+
def __str__(self):
|
17
|
+
...
|
18
|
+
...
|
19
|
+
|
20
|
+
ARGO_EVENTS_WEBHOOK_AUTH: str
|
21
|
+
|
22
|
+
ARGO_EVENTS_WEBHOOK_URL: None
|
23
|
+
|
24
|
+
SERVICE_HEADERS: dict
|
25
|
+
|
26
|
+
class ArgoEventException(metaflow.exception.MetaflowException, metaclass=type):
|
27
|
+
...
|
28
|
+
|
29
|
+
class ArgoEvent(object, metaclass=type):
|
30
|
+
def __init__(self, name, url = None, payload = None, access_token = None):
|
31
|
+
...
|
32
|
+
def add_to_payload(self, key, value):
|
33
|
+
"""
|
34
|
+
Add a key-value pair in the payload. This is typically used to set parameters
|
35
|
+
of triggered flows. Often, `key` is the parameter name you want to set to
|
36
|
+
`value`. Overrides any existing value of `key`.
|
37
|
+
|
38
|
+
Parameters
|
39
|
+
----------
|
40
|
+
key : str
|
41
|
+
Key
|
42
|
+
value : str
|
43
|
+
Value
|
44
|
+
"""
|
45
|
+
...
|
46
|
+
def safe_publish(self, payload = None, ignore_errors = True):
|
47
|
+
"""
|
48
|
+
Publishes an event when called inside a deployed workflow. Outside a deployed workflow
|
49
|
+
this function does nothing.
|
50
|
+
|
51
|
+
Use this function inside flows to create events safely. As this function is a no-op
|
52
|
+
for local runs, you can safely call it during local development without causing unintended
|
53
|
+
side-effects. It takes effect only when deployed on Argo Workflows.
|
54
|
+
|
55
|
+
Parameters
|
56
|
+
----------
|
57
|
+
payload : dict
|
58
|
+
Additional key-value pairs to add to the payload.
|
59
|
+
ignore_errors : bool, default True
|
60
|
+
If True, events are created on a best effort basis - errors are silently ignored.
|
61
|
+
"""
|
62
|
+
...
|
63
|
+
def publish(self, payload = None, force = True, ignore_errors = True):
|
64
|
+
"""
|
65
|
+
Publishes an event.
|
66
|
+
|
67
|
+
Note that the function returns immediately after the event has been sent. It
|
68
|
+
does not wait for flows to start, nor it guarantees that any flows will start.
|
69
|
+
|
70
|
+
Parameters
|
71
|
+
----------
|
72
|
+
payload : dict
|
73
|
+
Additional key-value pairs to add to the payload.
|
74
|
+
ignore_errors : bool, default True
|
75
|
+
If True, events are created on a best effort basis - errors are silently ignored.
|
76
|
+
"""
|
77
|
+
...
|
78
|
+
...
|
79
|
+
|