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.
Files changed (131) hide show
  1. metaflow-stubs/__init__.pyi +2753 -0
  2. metaflow-stubs/cards.pyi +266 -0
  3. metaflow-stubs/cli.pyi +137 -0
  4. metaflow-stubs/client/__init__.pyi +993 -0
  5. metaflow-stubs/client/core.pyi +1425 -0
  6. metaflow-stubs/client/filecache.pyi +87 -0
  7. metaflow-stubs/events.pyi +107 -0
  8. metaflow-stubs/exception.pyi +98 -0
  9. metaflow-stubs/flowspec.pyi +297 -0
  10. metaflow-stubs/generated_for.txt +1 -0
  11. metaflow-stubs/includefile.pyi +524 -0
  12. metaflow-stubs/metadata/metadata.pyi +377 -0
  13. metaflow-stubs/metadata/util.pyi +18 -0
  14. metaflow-stubs/metaflow_config.pyi +263 -0
  15. metaflow-stubs/metaflow_current.pyi +327 -0
  16. metaflow-stubs/mflog/mflog.pyi +22 -0
  17. metaflow-stubs/multicore_utils.pyi +62 -0
  18. metaflow-stubs/parameters.pyi +114 -0
  19. metaflow-stubs/plugins/__init__.pyi +209 -0
  20. metaflow-stubs/plugins/airflow/__init__.pyi +9 -0
  21. metaflow-stubs/plugins/airflow/airflow.pyi +179 -0
  22. metaflow-stubs/plugins/airflow/airflow_cli.pyi +90 -0
  23. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +50 -0
  24. metaflow-stubs/plugins/airflow/airflow_utils.pyi +137 -0
  25. metaflow-stubs/plugins/airflow/exception.pyi +27 -0
  26. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +26 -0
  27. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +60 -0
  28. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +54 -0
  29. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +50 -0
  30. metaflow-stubs/plugins/argo/__init__.pyi +9 -0
  31. metaflow-stubs/plugins/argo/argo_client.pyi +77 -0
  32. metaflow-stubs/plugins/argo/argo_events.pyi +79 -0
  33. metaflow-stubs/plugins/argo/argo_workflows.pyi +604 -0
  34. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +180 -0
  35. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +169 -0
  36. metaflow-stubs/plugins/aws/__init__.pyi +9 -0
  37. metaflow-stubs/plugins/aws/aws_client.pyi +22 -0
  38. metaflow-stubs/plugins/aws/aws_utils.pyi +93 -0
  39. metaflow-stubs/plugins/aws/batch/__init__.pyi +9 -0
  40. metaflow-stubs/plugins/aws/batch/batch.pyi +120 -0
  41. metaflow-stubs/plugins/aws/batch/batch_cli.pyi +42 -0
  42. metaflow-stubs/plugins/aws/batch/batch_client.pyi +159 -0
  43. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +145 -0
  44. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +9 -0
  45. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +73 -0
  46. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +9 -0
  47. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +22 -0
  48. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +27 -0
  49. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +18 -0
  50. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +17 -0
  51. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +220 -0
  52. metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +139 -0
  53. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +36 -0
  54. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +49 -0
  55. metaflow-stubs/plugins/azure/__init__.pyi +9 -0
  56. metaflow-stubs/plugins/azure/azure_credential.pyi +28 -0
  57. metaflow-stubs/plugins/azure/azure_exceptions.pyi +28 -0
  58. metaflow-stubs/plugins/azure/azure_utils.pyi +76 -0
  59. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +52 -0
  60. metaflow-stubs/plugins/azure/includefile_support.pyi +63 -0
  61. metaflow-stubs/plugins/cards/__init__.pyi +9 -0
  62. metaflow-stubs/plugins/cards/card_cli.pyi +557 -0
  63. metaflow-stubs/plugins/cards/card_client.pyi +178 -0
  64. metaflow-stubs/plugins/cards/card_creator.pyi +26 -0
  65. metaflow-stubs/plugins/cards/card_datastore.pyi +111 -0
  66. metaflow-stubs/plugins/cards/card_decorator.pyi +133 -0
  67. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +67 -0
  68. metaflow-stubs/plugins/cards/card_modules/basic.pyi +263 -0
  69. metaflow-stubs/plugins/cards/card_modules/card.pyi +62 -0
  70. metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +78 -0
  71. metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +77 -0
  72. metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +11 -0
  73. metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +114 -0
  74. metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +75 -0
  75. metaflow-stubs/plugins/cards/card_modules/components.pyi +251 -0
  76. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +45 -0
  77. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +24 -0
  78. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +155 -0
  79. metaflow-stubs/plugins/cards/card_resolver.pyi +60 -0
  80. metaflow-stubs/plugins/cards/component_serializer.pyi +227 -0
  81. metaflow-stubs/plugins/cards/exception.pyi +71 -0
  82. metaflow-stubs/plugins/catch_decorator.pyi +58 -0
  83. metaflow-stubs/plugins/datatools/__init__.pyi +339 -0
  84. metaflow-stubs/plugins/datatools/local.pyi +82 -0
  85. metaflow-stubs/plugins/datatools/s3/__init__.pyi +589 -0
  86. metaflow-stubs/plugins/datatools/s3/s3.pyi +875 -0
  87. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +34 -0
  88. metaflow-stubs/plugins/datatools/s3/s3util.pyi +45 -0
  89. metaflow-stubs/plugins/debug_logger.pyi +25 -0
  90. metaflow-stubs/plugins/debug_monitor.pyi +25 -0
  91. metaflow-stubs/plugins/environment_decorator.pyi +17 -0
  92. metaflow-stubs/plugins/events_decorator.pyi +34 -0
  93. metaflow-stubs/plugins/frameworks/__init__.pyi +9 -0
  94. metaflow-stubs/plugins/frameworks/pytorch.pyi +42 -0
  95. metaflow-stubs/plugins/gcp/__init__.pyi +9 -0
  96. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +22 -0
  97. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +26 -0
  98. metaflow-stubs/plugins/gcp/gs_utils.pyi +38 -0
  99. metaflow-stubs/plugins/gcp/includefile_support.pyi +63 -0
  100. metaflow-stubs/plugins/kubernetes/__init__.pyi +9 -0
  101. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +127 -0
  102. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +73 -0
  103. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +62 -0
  104. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +165 -0
  105. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +100 -0
  106. metaflow-stubs/plugins/package_cli.pyi +9 -0
  107. metaflow-stubs/plugins/parallel_decorator.pyi +34 -0
  108. metaflow-stubs/plugins/project_decorator.pyi +36 -0
  109. metaflow-stubs/plugins/pypi/__init__.pyi +18 -0
  110. metaflow-stubs/plugins/pypi/conda_decorator.pyi +59 -0
  111. metaflow-stubs/plugins/pypi/conda_environment.pyi +86 -0
  112. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +22 -0
  113. metaflow-stubs/plugins/pypi/pypi_environment.pyi +50 -0
  114. metaflow-stubs/plugins/pypi/utils.pyi +28 -0
  115. metaflow-stubs/plugins/resources_decorator.pyi +15 -0
  116. metaflow-stubs/plugins/retry_decorator.pyi +28 -0
  117. metaflow-stubs/plugins/secrets/__init__.pyi +21 -0
  118. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +30 -0
  119. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +75 -0
  120. metaflow-stubs/plugins/storage_executor.pyi +33 -0
  121. metaflow-stubs/plugins/tag_cli.pyi +370 -0
  122. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +54 -0
  123. metaflow-stubs/plugins/timeout_decorator.pyi +39 -0
  124. metaflow-stubs/procpoll.pyi +51 -0
  125. metaflow-stubs/py.typed +0 -0
  126. metaflow-stubs/pylint_wrapper.pyi +31 -0
  127. metaflow-stubs/tagging_util.pyi +52 -0
  128. ob_metaflow_stubs-2.11.4.1.dist-info/METADATA +22 -0
  129. ob_metaflow_stubs-2.11.4.1.dist-info/RECORD +131 -0
  130. ob_metaflow_stubs-2.11.4.1.dist-info/WHEEL +6 -0
  131. ob_metaflow_stubs-2.11.4.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,159 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.11.4.1 #
4
+ # Generated on 2024-02-28T05:30:44.000374 #
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
+ AWS_SANDBOX_ENABLED: bool
21
+
22
+ class BatchClient(object, metaclass=type):
23
+ def __init__(self):
24
+ ...
25
+ def active_job_queues(self):
26
+ ...
27
+ def unfinished_jobs(self):
28
+ ...
29
+ def describe_jobs(self, job_ids):
30
+ ...
31
+ def describe_job_queue(self, job_queue):
32
+ ...
33
+ def job(self):
34
+ ...
35
+ def attach_job(self, job_id):
36
+ ...
37
+ def region(self):
38
+ ...
39
+ ...
40
+
41
+ class BatchJobException(metaflow.exception.MetaflowException, metaclass=type):
42
+ ...
43
+
44
+ class BatchJob(object, metaclass=type):
45
+ def __init__(self, client):
46
+ ...
47
+ def execute(self):
48
+ ...
49
+ def job_def(self, image, iam_role, job_queue, execution_role, shared_memory, max_swap, swappiness, inferentia, efa, memory, host_volumes, efs_volumes, use_tmpfs, tmpfs_tempdir, tmpfs_size, tmpfs_path, num_parallel):
50
+ ...
51
+ def job_name(self, job_name):
52
+ ...
53
+ def job_queue(self, job_queue):
54
+ ...
55
+ def image(self, image):
56
+ ...
57
+ def task_id(self, task_id):
58
+ ...
59
+ def iam_role(self, iam_role):
60
+ ...
61
+ def execution_role(self, execution_role):
62
+ ...
63
+ def shared_memory(self, shared_memory):
64
+ ...
65
+ def max_swap(self, max_swap):
66
+ ...
67
+ def swappiness(self, swappiness):
68
+ ...
69
+ def inferentia(self, inferentia):
70
+ ...
71
+ def efa(self, efa):
72
+ ...
73
+ def command(self, command):
74
+ ...
75
+ def cpu(self, cpu):
76
+ ...
77
+ def memory(self, mem):
78
+ ...
79
+ def gpu(self, gpu):
80
+ ...
81
+ def environment_variable(self, name, value):
82
+ ...
83
+ def timeout_in_secs(self, timeout_in_secs):
84
+ ...
85
+ def tag(self, key, value):
86
+ ...
87
+ def parameter(self, key, value):
88
+ ...
89
+ def attempts(self, attempts):
90
+ ...
91
+ ...
92
+
93
+ class Throttle(object, metaclass=type):
94
+ def __init__(self, delta_in_secs = 1, num_tries = 20):
95
+ ...
96
+ def __call__(self, func):
97
+ ...
98
+ ...
99
+
100
+ class TriableException(Exception, metaclass=type):
101
+ def __init__(self, ex):
102
+ ...
103
+ ...
104
+
105
+ class RunningJob(object, metaclass=type):
106
+ def __init__(self, id, client):
107
+ ...
108
+ def __repr__(self):
109
+ ...
110
+ def _update(*args, **kwargs):
111
+ ...
112
+ def update(self):
113
+ ...
114
+ @property
115
+ def id(self):
116
+ ...
117
+ @property
118
+ def info(self):
119
+ ...
120
+ @property
121
+ def job_name(self):
122
+ ...
123
+ @property
124
+ def job_queue(self):
125
+ ...
126
+ @property
127
+ def status(self):
128
+ ...
129
+ @property
130
+ def status_reason(self):
131
+ ...
132
+ @property
133
+ def created_at(self):
134
+ ...
135
+ @property
136
+ def stopped_at(self):
137
+ ...
138
+ @property
139
+ def is_done(self):
140
+ ...
141
+ @property
142
+ def is_running(self):
143
+ ...
144
+ @property
145
+ def is_successful(self):
146
+ ...
147
+ @property
148
+ def is_crashed(self):
149
+ ...
150
+ @property
151
+ def reason(self):
152
+ ...
153
+ @property
154
+ def status_code(self):
155
+ ...
156
+ def kill(self):
157
+ ...
158
+ ...
159
+
@@ -0,0 +1,145 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.11.4.1 #
4
+ # Generated on 2024-02-28T05:30:44.003125 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+ import typing
10
+ if typing.TYPE_CHECKING:
11
+ import metaflow.metaflow_current
12
+ import metaflow.decorators
13
+ import metaflow.exception
14
+
15
+ current: metaflow.metaflow_current.Current
16
+
17
+ class ResourcesDecorator(metaflow.decorators.StepDecorator, metaclass=type):
18
+ ...
19
+
20
+ def get_run_time_limit_for_task(step_decos):
21
+ ...
22
+
23
+ class MetaDatum(tuple, metaclass=type):
24
+ @staticmethod
25
+ def __new__(_cls, field, value, type, tags):
26
+ """
27
+ Create new instance of MetaDatum(field, value, type, tags)
28
+ """
29
+ ...
30
+ def __repr__(self):
31
+ """
32
+ Return a nicely formatted representation string
33
+ """
34
+ ...
35
+ def __getnewargs__(self):
36
+ """
37
+ Return self as a plain tuple. Used by copy and pickle.
38
+ """
39
+ ...
40
+ ...
41
+
42
+ def sync_local_metadata_to_datastore(metadata_local_dir, task_ds):
43
+ ...
44
+
45
+ ECS_S3_ACCESS_IAM_ROLE: None
46
+
47
+ BATCH_JOB_QUEUE: None
48
+
49
+ BATCH_CONTAINER_IMAGE: None
50
+
51
+ BATCH_CONTAINER_REGISTRY: None
52
+
53
+ ECS_FARGATE_EXECUTION_ROLE: None
54
+
55
+ DATASTORE_LOCAL_DIR: str
56
+
57
+ UBF_CONTROL: str
58
+
59
+ class BatchException(metaflow.exception.MetaflowException, metaclass=type):
60
+ ...
61
+
62
+ def compute_resource_attributes(decos, compute_deco, step_name, resource_defaults):
63
+ """
64
+ Compute resource values taking into account defaults, the values specified
65
+ in the compute decorator (like @batch or @kubernetes) directly, and
66
+ resources specified via @resources decorator.
67
+
68
+ Returns a dictionary of resource attr -> value (str).
69
+ """
70
+ ...
71
+
72
+ def get_docker_registry(image_uri):
73
+ """
74
+ Explanation:
75
+ (.+?(?:[:.].+?)\/)? - [GROUP 0] REGISTRY
76
+ .+? - A registry must start with at least one character
77
+ (?:[:.].+?)\/ - A registry must have ":" or "." and end with "/"
78
+ ? - Make a registry optional
79
+ (.*?) - [GROUP 1] REPOSITORY
80
+ .*? - Get repository name until separator
81
+ (?:[@:])? - SEPARATOR
82
+ ?: - Don't capture separator
83
+ [@:] - The separator must be either "@" or ":"
84
+ ? - The separator is optional
85
+ ((?<=[@:]).*)? - [GROUP 2] TAG / DIGEST
86
+ (?<=[@:]) - A tag / digest must be preceded by "@" or ":"
87
+ .* - Capture rest of tag / digest
88
+ ? - A tag / digest is optional
89
+ Examples:
90
+ image
91
+ - None
92
+ - image
93
+ - None
94
+ example/image
95
+ - None
96
+ - example/image
97
+ - None
98
+ example/image:tag
99
+ - None
100
+ - example/image
101
+ - tag
102
+ example.domain.com/example/image:tag
103
+ - example.domain.com/
104
+ - example/image
105
+ - tag
106
+ 123.123.123.123:123/example/image:tag
107
+ - 123.123.123.123:123/
108
+ - example/image
109
+ - tag
110
+ example.domain.com/example/image@sha256:45b23dee0
111
+ - example.domain.com/
112
+ - example/image
113
+ - sha256:45b23dee0
114
+ """
115
+ ...
116
+
117
+ def get_ec2_instance_metadata():
118
+ """
119
+ Fetches the EC2 instance metadata through AWS instance metadata service
120
+
121
+ Returns either an empty dictionary, or one with the keys
122
+ - ec2-instance-id
123
+ - ec2-instance-type
124
+ - ec2-region
125
+ - ec2-availability-zone
126
+ """
127
+ ...
128
+
129
+ class BatchDecorator(metaflow.decorators.StepDecorator, metaclass=type):
130
+ def __init__(self, attributes = None, statically_defined = False):
131
+ ...
132
+ def step_init(self, flow, graph, step, decos, environment, flow_datastore, logger):
133
+ ...
134
+ def runtime_init(self, flow, graph, package, run_id):
135
+ ...
136
+ def runtime_task_created(self, task_datastore, task_id, split_index, input_paths, is_cloned, ubf_context):
137
+ ...
138
+ def runtime_step_cli(self, cli_args, retry_count, max_user_code_retries, ubf_context):
139
+ ...
140
+ def task_pre_step(self, step_name, task_datastore, metadata, run_id, task_id, flow, graph, retry_count, max_retries, ubf_context, inputs):
141
+ ...
142
+ def task_finished(self, step_name, flow, graph, is_task_ok, retry_count, max_retries):
143
+ ...
144
+ ...
145
+
@@ -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.956943 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+
@@ -0,0 +1,73 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.11.4.1 #
4
+ # Generated on 2024-02-28T05:30:44.011320 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+ import typing
10
+ if typing.TYPE_CHECKING:
11
+ import metaflow.plugins.secrets
12
+ import abc
13
+ import metaflow.exception
14
+
15
+ class MetaflowException(Exception, metaclass=type):
16
+ def __init__(self, msg = "", lineno = None):
17
+ ...
18
+ def __str__(self):
19
+ ...
20
+ ...
21
+
22
+ AWS_SECRETS_MANAGER_DEFAULT_REGION: None
23
+
24
+ class SecretsProvider(abc.ABC, metaclass=abc.ABCMeta):
25
+ def get_secret_as_dict(self, secret_id, options = {}, role = None) -> typing.Dict[str, str]:
26
+ """
27
+ Retrieve the secret from secrets backend, and return a dictionary of
28
+ environment variables.
29
+ """
30
+ ...
31
+ ...
32
+
33
+ class MetaflowAWSSecretsManagerBadResponse(metaflow.exception.MetaflowException, metaclass=type):
34
+ ...
35
+
36
+ class MetaflowAWSSecretsManagerDuplicateKey(metaflow.exception.MetaflowException, metaclass=type):
37
+ ...
38
+
39
+ class MetaflowAWSSecretsManagerJSONParseError(metaflow.exception.MetaflowException, metaclass=type):
40
+ ...
41
+
42
+ class MetaflowAWSSecretsManagerNotJSONObject(metaflow.exception.MetaflowException, metaclass=type):
43
+ ...
44
+
45
+ class AwsSecretsManagerSecretsProvider(metaflow.plugins.secrets.SecretsProvider, metaclass=abc.ABCMeta):
46
+ def get_secret_as_dict(self, secret_id, options = {}, role = None):
47
+ """
48
+ Reads a secret from AWS Secrets Manager and returns it as a dictionary of environment variables.
49
+
50
+ The secret payload from AWS is EITHER a string OR a binary blob.
51
+
52
+ If the secret contains a string payload ("SecretString"):
53
+ - if the `parse_secret_string_as_json` option is True (default):
54
+ {SecretString} will be parsed as a JSON. If successfully parsed, AND the JSON contains a
55
+ top-level object, each entry K/V in the object will also be converted to an entry in the result. V will
56
+ always be casted to a string (if not already a string).
57
+ - If `parse_secret_string_as_json` option is False:
58
+ {SecretString} will be returned as a single entry in the result, with the key being the secret_id.
59
+
60
+ Otherwise, the secret contains a binary blob payload ("SecretBinary"). In this case
61
+ - The result dic contains '{SecretName}': '{SecretBinary}', where {SecretBinary} is a base64-encoded string
62
+
63
+ All keys in the result are sanitized to be more valid environment variable names. This is done on a best effort
64
+ basis. Further validation is expected to be done by the invoking @secrets decorator itself.
65
+
66
+ :param secret_id: ARN or friendly name of the secret
67
+ :param options: unused
68
+ :param role: AWS IAM Role ARN to assume before reading the secret
69
+ :return: dict of environment variables. All keys and values are strings.
70
+ """
71
+ ...
72
+ ...
73
+
@@ -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.956417 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+
@@ -0,0 +1,22 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.11.4.1 #
4
+ # Generated on 2024-02-28T05:30:44.004206 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+
10
+ SFN_DYNAMO_DB_TABLE: None
11
+
12
+ class DynamoDbClient(object, metaclass=type):
13
+ def __init__(self):
14
+ ...
15
+ def save_foreach_cardinality(self, foreach_split_task_id, foreach_cardinality, ttl):
16
+ ...
17
+ def save_parent_task_id_for_foreach_join(self, foreach_split_task_id, foreach_join_parent_task_id):
18
+ ...
19
+ def get_parent_task_ids_for_foreach_join(self, foreach_split_task_id):
20
+ ...
21
+ ...
22
+
@@ -0,0 +1,27 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.11.4.1 #
4
+ # Generated on 2024-02-28T05:30:44.005604 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+
10
+ class EventBridgeClient(object, metaclass=type):
11
+ def __init__(self, name):
12
+ ...
13
+ def cron(self, cron):
14
+ ...
15
+ def role_arn(self, role_arn):
16
+ ...
17
+ def state_machine_arn(self, state_machine_arn):
18
+ ...
19
+ def schedule(self):
20
+ ...
21
+ def delete(self):
22
+ ...
23
+ ...
24
+
25
+ def format(name):
26
+ ...
27
+
@@ -0,0 +1,18 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.11.4.1 #
4
+ # Generated on 2024-02-28T05:30:44.005230 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+
10
+ def new_token(token_prefix, prev_token = None):
11
+ ...
12
+
13
+ def load_token(token_prefix):
14
+ ...
15
+
16
+ def store_token(token_prefix, token):
17
+ ...
18
+
@@ -0,0 +1,17 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.11.4.1 #
4
+ # Generated on 2024-02-28T05:30:44.004936 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+ import typing
10
+ if typing.TYPE_CHECKING:
11
+ import metaflow.decorators
12
+
13
+ class ScheduleDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
14
+ def flow_init(self, flow, graph, environment, flow_datastore, metadata, logger, echo, options):
15
+ ...
16
+ ...
17
+