metaflow-stubs 2.12.7__py2.py3-none-any.whl → 2.12.9__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 (150) hide show
  1. metaflow-stubs/__init__.pyi +446 -397
  2. metaflow-stubs/cards.pyi +5 -5
  3. metaflow-stubs/cli.pyi +2 -2
  4. metaflow-stubs/client/__init__.pyi +3 -3
  5. metaflow-stubs/client/core.pyi +7 -7
  6. metaflow-stubs/client/filecache.pyi +2 -2
  7. metaflow-stubs/clone_util.pyi +2 -2
  8. metaflow-stubs/events.pyi +3 -3
  9. metaflow-stubs/exception.pyi +2 -2
  10. metaflow-stubs/flowspec.pyi +6 -6
  11. metaflow-stubs/generated_for.txt +1 -1
  12. metaflow-stubs/includefile.pyi +4 -4
  13. metaflow-stubs/metadata/metadata.pyi +2 -2
  14. metaflow-stubs/metadata/util.pyi +2 -2
  15. metaflow-stubs/metaflow_config.pyi +2 -2
  16. metaflow-stubs/metaflow_current.pyi +44 -21
  17. metaflow-stubs/mflog/mflog.pyi +2 -2
  18. metaflow-stubs/multicore_utils.pyi +2 -2
  19. metaflow-stubs/parameters.pyi +4 -4
  20. metaflow-stubs/plugins/__init__.pyi +6 -2
  21. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  22. metaflow-stubs/plugins/airflow/airflow.pyi +5 -5
  23. metaflow-stubs/plugins/airflow/airflow_cli.pyi +3 -3
  24. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  25. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  27. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  28. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +3 -3
  29. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +4 -4
  30. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +4 -4
  31. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  32. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  33. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  34. metaflow-stubs/plugins/argo/argo_workflows.pyi +38 -5
  35. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +270 -5
  36. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +230 -5
  37. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +292 -0
  38. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  39. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  40. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  41. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  42. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  43. metaflow-stubs/plugins/aws/batch/batch_cli.pyi +2 -2
  44. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  45. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +3 -3
  46. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  47. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
  48. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  49. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  52. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  53. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  54. metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +24 -4
  55. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  56. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  57. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +260 -0
  58. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  59. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  60. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  61. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
  62. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  63. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  64. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  65. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_cli.pyi +4 -4
  67. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  68. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  69. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  70. metaflow-stubs/plugins/cards/card_decorator.pyi +3 -3
  71. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  72. metaflow-stubs/plugins/cards/card_modules/basic.pyi +4 -4
  73. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  74. metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
  77. metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
  78. metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +2 -2
  79. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  80. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  81. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  82. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +3 -3
  83. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  84. metaflow-stubs/plugins/cards/component_serializer.pyi +4 -4
  85. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  86. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  87. metaflow-stubs/plugins/datatools/__init__.pyi +3 -3
  88. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  89. metaflow-stubs/plugins/datatools/s3/__init__.pyi +3 -3
  90. metaflow-stubs/plugins/datatools/s3/s3.pyi +7 -7
  91. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  92. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  93. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  94. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  95. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  96. metaflow-stubs/plugins/events_decorator.pyi +3 -3
  97. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  98. metaflow-stubs/plugins/frameworks/pytorch.pyi +5 -3
  99. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  100. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
  101. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  102. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  103. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  104. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  105. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  106. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +18 -10
  107. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +13 -13
  108. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +26 -3
  109. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +14 -31
  110. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +26 -3
  111. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +82 -28
  112. metaflow-stubs/plugins/logs_cli.pyi +3 -3
  113. metaflow-stubs/plugins/package_cli.pyi +2 -2
  114. metaflow-stubs/plugins/parallel_decorator.pyi +47 -2
  115. metaflow-stubs/plugins/project_decorator.pyi +3 -3
  116. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  117. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/pypi/conda_environment.pyi +3 -3
  119. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  120. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  121. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  122. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  123. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  124. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  125. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  126. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +3 -3
  127. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  128. metaflow-stubs/plugins/tag_cli.pyi +4 -4
  129. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +26 -3
  130. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  131. metaflow-stubs/procpoll.pyi +2 -2
  132. metaflow-stubs/pylint_wrapper.pyi +2 -2
  133. metaflow-stubs/runner/__init__.pyi +2 -2
  134. metaflow-stubs/runner/deployer.pyi +354 -0
  135. metaflow-stubs/runner/metaflow_runner.pyi +9 -9
  136. metaflow-stubs/runner/nbdeploy.pyi +54 -0
  137. metaflow-stubs/runner/nbrun.pyi +7 -7
  138. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  139. metaflow-stubs/runner/utils.pyi +25 -0
  140. metaflow-stubs/system/__init__.pyi +3 -3
  141. metaflow-stubs/system/system_logger.pyi +3 -3
  142. metaflow-stubs/system/system_monitor.pyi +2 -2
  143. metaflow-stubs/tagging_util.pyi +2 -2
  144. metaflow-stubs/tuple_util.pyi +2 -2
  145. metaflow-stubs/version.pyi +2 -2
  146. {metaflow_stubs-2.12.7.dist-info → metaflow_stubs-2.12.9.dist-info}/METADATA +2 -2
  147. metaflow_stubs-2.12.9.dist-info/RECORD +150 -0
  148. {metaflow_stubs-2.12.7.dist-info → metaflow_stubs-2.12.9.dist-info}/WHEEL +1 -1
  149. metaflow_stubs-2.12.7.dist-info/RECORD +0 -145
  150. {metaflow_stubs-2.12.7.dist-info → metaflow_stubs-2.12.9.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.7 #
4
- # Generated on 2024-07-03T19:20:47.668341 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.291342 #
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 TaskIdConstructor(object, metaclass=type):
99
- @classmethod
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
- @classmethod
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
- @classmethod
111
- def argo(cls):
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, job_spec = None, namespace = None, num_parallel = None, annotations = None, labels = None, port = None, task_id = None, **kwargs):
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,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.7 #
4
- # Generated on 2024-07-03T19:20:47.624200 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.282177 #
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.logs_cli
12
11
  import metaflow._vendor.click.core
13
12
  import metaflow.exception
13
+ import metaflow.plugins.logs_cli
14
14
 
15
15
  LOGGER_TIMESTAMP: str
16
16
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.7 #
4
- # Generated on 2024-07-03T19:20:47.624391 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.280243 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.608698 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.273920 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.616316 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.274884 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.608937 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.271630 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.636291 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.315455 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.638050 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.316794 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -10,8 +10,8 @@ import typing
10
10
  if typing.TYPE_CHECKING:
11
11
  import metaflow.metaflow_environment
12
12
  import io
13
- import abc
14
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.7 #
4
- # Generated on 2024-07-03T19:20:47.636584 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.314819 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.638550 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.317267 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.636944 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.315809 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.609708 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.269101 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.615174 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.273080 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.615465 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.272769 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.667112 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.331030 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.666832 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.330752 #
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
- UBF_CONTROL: str
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.7 #
4
- # Generated on 2024-07-03T19:20:47.617283 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.275405 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.623619 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.281652 #
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
11
12
  import metaflow.client.core
12
13
  import metaflow.metaflow_current
13
- import metaflow.exception
14
- import datetime
15
14
  import metaflow.events
15
+ import metaflow.exception
16
16
 
17
17
  def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
18
18
  """
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.7 #
4
- # Generated on 2024-07-03T19:20:47.608162 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.268831 #
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.unbounded_foreach
12
+ import metaflow.decorators
13
13
 
14
14
  class MetaflowException(Exception, metaclass=type):
15
15
  def __init__(self, msg = "", lineno = None):
@@ -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,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.7 #
4
- # Generated on 2024-07-03T19:20:47.610543 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.269564 #
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.exception
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.7 #
4
- # Generated on 2024-07-03T19:20:47.604740 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.259790 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.604249 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.259297 #
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.7 #
4
- # Generated on 2024-07-03T19:20:47.598759 #
3
+ # MF version: 2.12.9 #
4
+ # Generated on 2024-07-25T18:20:16.236768 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations