metaflow-stubs 2.12.33__py2.py3-none-any.whl → 2.12.35__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 (158) hide show
  1. metaflow-stubs/__init__.pyi +177 -177
  2. metaflow-stubs/cards.pyi +2 -2
  3. metaflow-stubs/cli.pyi +2 -2
  4. metaflow-stubs/client/__init__.pyi +2 -2
  5. metaflow-stubs/client/core.pyi +4 -4
  6. metaflow-stubs/client/filecache.pyi +3 -3
  7. metaflow-stubs/clone_util.pyi +2 -2
  8. metaflow-stubs/events.pyi +2 -2
  9. metaflow-stubs/exception.pyi +2 -2
  10. metaflow-stubs/flowspec.pyi +5 -5
  11. metaflow-stubs/generated_for.txt +1 -1
  12. metaflow-stubs/includefile.pyi +4 -4
  13. metaflow-stubs/info_file.pyi +2 -2
  14. metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  15. metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  16. metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  17. metaflow-stubs/metadata_provider/util.pyi +2 -2
  18. metaflow-stubs/metaflow_config.pyi +4 -2
  19. metaflow-stubs/metaflow_current.pyi +22 -22
  20. metaflow-stubs/mflog/__init__.pyi +2 -2
  21. metaflow-stubs/mflog/mflog.pyi +2 -2
  22. metaflow-stubs/multicore_utils.pyi +11 -11
  23. metaflow-stubs/parameters.pyi +4 -4
  24. metaflow-stubs/plugins/__init__.pyi +17 -17
  25. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/airflow.pyi +3 -2
  27. metaflow-stubs/plugins/airflow/airflow_cli.pyi +2 -2
  28. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  29. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  30. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  31. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  32. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  33. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  34. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  35. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  36. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  37. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  38. metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -2
  39. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +2 -2
  40. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +2 -2
  41. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  42. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -3
  43. metaflow-stubs/plugins/aws/__init__.pyi +4 -4
  44. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  45. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  46. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  47. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  48. metaflow-stubs/plugins/aws/batch/batch_cli.pyi +2 -2
  49. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  50. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  51. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  52. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +5 -5
  53. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  54. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  55. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  56. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  57. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  58. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  59. metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +2 -2
  60. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  61. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  62. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +4 -4
  63. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -3
  64. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  65. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  66. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  67. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +5 -5
  68. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  69. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  70. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  71. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  72. metaflow-stubs/plugins/cards/card_cli.pyi +2 -2
  73. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  74. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  77. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  78. metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  79. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  80. metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +2 -2
  81. metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
  82. metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
  83. metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
  84. metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +2 -2
  85. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  86. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  87. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  88. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  89. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  90. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  91. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  92. metaflow-stubs/plugins/catch_decorator.pyi +2 -2
  93. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  94. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  95. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  96. metaflow-stubs/plugins/datatools/s3/s3.pyi +4 -4
  97. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  98. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  99. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  100. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  101. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  102. metaflow-stubs/plugins/events_decorator.pyi +12 -2
  103. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  104. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  105. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  106. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +5 -5
  107. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  108. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  109. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  110. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  111. metaflow-stubs/plugins/kubernetes/__init__.pyi +3 -3
  112. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +8 -2
  113. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +5 -5
  114. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +2 -2
  115. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  116. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +8 -2
  117. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +3 -2
  118. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +3 -2
  119. metaflow-stubs/plugins/logs_cli.pyi +3 -3
  120. metaflow-stubs/plugins/package_cli.pyi +2 -2
  121. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  122. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  123. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  124. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  125. metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
  126. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  127. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  128. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  129. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  130. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  131. metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
  132. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +4 -4
  133. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  134. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  135. metaflow-stubs/plugins/tag_cli.pyi +2 -2
  136. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +2 -2
  137. metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  138. metaflow-stubs/procpoll.pyi +2 -2
  139. metaflow-stubs/pylint_wrapper.pyi +2 -2
  140. metaflow-stubs/runner/__init__.pyi +3 -3
  141. metaflow-stubs/runner/deployer.pyi +6 -6
  142. metaflow-stubs/runner/deployer_impl.pyi +4 -3
  143. metaflow-stubs/runner/metaflow_runner.pyi +9 -5
  144. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  145. metaflow-stubs/runner/nbrun.pyi +2 -2
  146. metaflow-stubs/runner/subprocess_manager.pyi +7 -3
  147. metaflow-stubs/runner/utils.pyi +108 -9
  148. metaflow-stubs/system/__init__.pyi +2 -2
  149. metaflow-stubs/system/system_logger.pyi +3 -3
  150. metaflow-stubs/system/system_monitor.pyi +2 -2
  151. metaflow-stubs/tagging_util.pyi +2 -2
  152. metaflow-stubs/tuple_util.pyi +2 -2
  153. metaflow-stubs/version.pyi +2 -2
  154. {metaflow_stubs-2.12.33.dist-info → metaflow_stubs-2.12.35.dist-info}/METADATA +2 -2
  155. metaflow_stubs-2.12.35.dist-info/RECORD +158 -0
  156. metaflow_stubs-2.12.33.dist-info/RECORD +0 -158
  157. {metaflow_stubs-2.12.33.dist-info → metaflow_stubs-2.12.35.dist-info}/WHEEL +0 -0
  158. {metaflow_stubs-2.12.33.dist-info → metaflow_stubs-2.12.35.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.516497 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.419429 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
metaflow-stubs/events.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.500736 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.403467 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.494772 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.397572 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,19 +1,19 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.499956 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.402736 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.unbounded_foreach
13
12
  import metaflow.datastore.inputs
14
- import typing
15
13
  import metaflow.exception
14
+ import metaflow.unbounded_foreach
16
15
  import metaflow.flowspec
16
+ import typing
17
17
 
18
18
  from . import parameters as parameters
19
19
  from .parameters import DelayedEvaluationParameter as DelayedEvaluationParameter
@@ -1 +1 @@
1
- 2.12.33 2024-11-27T23:43:46.492972
1
+ 2.12.35 2024-12-06T00:07:18.395657
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.506824 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.409671 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
+ import metaflow._vendor.click.types
12
13
  import metaflow.parameters
13
14
  import typing
14
- import metaflow._vendor.click.types
15
15
 
16
16
  from ._vendor import click as click
17
17
  from .exception import MetaflowException as MetaflowException
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.493892 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.396552 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.498623 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.401517 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.519693 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.422571 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.519109 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.421871 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.519377 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.422139 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.496108 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.398917 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -203,6 +203,8 @@ KUBERNETES_MEMORY: None
203
203
 
204
204
  KUBERNETES_DISK: None
205
205
 
206
+ KUBERNETES_QOS: str
207
+
206
208
  ARGO_WORKFLOWS_KUBERNETES_SECRETS: str
207
209
 
208
210
  ARGO_WORKFLOWS_ENV_VARS_TO_SKIP: str
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.599369 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.503700 #
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.events
12
11
  import metaflow
12
+ import metaflow.plugins.cards.component_serializer
13
13
  import metaflow.metaflow_current
14
+ import metaflow.events
14
15
  import typing
15
- import metaflow.plugins.cards.component_serializer
16
16
 
17
17
 
18
18
  TYPE_CHECKING: bool
@@ -225,24 +225,6 @@ class Current(object, metaclass=type):
225
225
  def graph(self):
226
226
  ...
227
227
  @property
228
- def card(self) -> "metaflow.plugins.cards.component_serializer.CardComponentCollector":
229
- """
230
- (only in the presence of the @card decorator)
231
-
232
- The `@card` decorator makes the cards available through the `current.card`
233
- object. If multiple `@card` decorators are present, you can add an `ID` to
234
- distinguish between them using `@card(id=ID)` as the decorator. You will then
235
- be able to access that specific card using `current.card[ID].
236
-
237
- Methods available are `append` and `extend`
238
-
239
- Returns
240
- -------
241
- CardComponentCollector
242
- The or one of the cards attached to this step.
243
- """
244
- ...
245
- @property
246
228
  def parallel(self) -> "metaflow.metaflow_current.Parallel":
247
229
  """
248
230
  (only in the presence of the @parallel decorator)
@@ -272,6 +254,24 @@ class Current(object, metaclass=type):
272
254
  """
273
255
  ...
274
256
  @property
257
+ def card(self) -> "metaflow.plugins.cards.component_serializer.CardComponentCollector":
258
+ """
259
+ (only in the presence of the @card decorator)
260
+
261
+ The `@card` decorator makes the cards available through the `current.card`
262
+ object. If multiple `@card` decorators are present, you can add an `ID` to
263
+ distinguish between them using `@card(id=ID)` as the decorator. You will then
264
+ be able to access that specific card using `current.card[ID].
265
+
266
+ Methods available are `append` and `extend`
267
+
268
+ Returns
269
+ -------
270
+ CardComponentCollector
271
+ The or one of the cards attached to this step.
272
+ """
273
+ ...
274
+ @property
275
275
  def trigger(self) -> "metaflow.events.Trigger":
276
276
  """
277
277
  (only in the presence of the @trigger, or @trigger_on_finish decorators)
@@ -1,6 +1,6 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.540641 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.444527 #
5
5
  ######################################################################################################
6
6
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.540730 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.444587 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,20 +1,20 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.496626 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.399438 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
- if typing.TYPE_CHECKING:
11
- import typing
10
+ _A = typing.TypeVar("_A", contravariant=False, covariant=False)
11
+ _R = typing.TypeVar("_R", contravariant=False, covariant=False)
12
12
 
13
13
 
14
14
  class MulticoreException(Exception, metaclass=type):
15
15
  ...
16
16
 
17
- def parallel_imap_unordered(func: typing.Callable[[typing.Any], typing.Any], iterable: typing.Iterable[typing.Any], max_parallel: typing.Optional[int] = None, dir: typing.Optional[str] = None) -> typing.Iterator[typing.Any]:
17
+ def parallel_imap_unordered(func: typing.Callable[[_A], _R], iterable: typing.Iterable[_A], max_parallel: typing.Optional[int] = None, dir: typing.Optional[str] = None) -> typing.Iterator[_R]:
18
18
  """
19
19
  Parallelizes execution of a function using multiprocessing. The result
20
20
  order is not guaranteed.
@@ -26,9 +26,9 @@ def parallel_imap_unordered(func: typing.Callable[[typing.Any], typing.Any], ite
26
26
  iterable : Iterable[Any]
27
27
  Iterable over arguments to pass to fun
28
28
  max_parallel int, optional, default None
29
- Maximum parallelism. If not specified, uses the number of CPUs
29
+ Maximum parallelism. If not specified, it uses the number of CPUs
30
30
  dir : str, optional, default None
31
- If specified, directory where temporary files are created
31
+ If specified, it's the directory where temporary files are created
32
32
 
33
33
  Yields
34
34
  ------
@@ -37,10 +37,10 @@ def parallel_imap_unordered(func: typing.Callable[[typing.Any], typing.Any], ite
37
37
  """
38
38
  ...
39
39
 
40
- def parallel_map(func: typing.Callable[[typing.Any], typing.Any], iterable: typing.Iterable[typing.Any], max_parallel: typing.Optional[int] = None, dir: typing.Optional[str] = None) -> typing.List[typing.Any]:
40
+ def parallel_map(func: typing.Callable[[_A], _R], iterable: typing.Iterable[_A], max_parallel: typing.Optional[int] = None, dir: typing.Optional[str] = None) -> typing.List[_R]:
41
41
  """
42
42
  Parallelizes execution of a function using multiprocessing. The result
43
- order is that of the arguments in `iterable`
43
+ order is that of the arguments in `iterable`.
44
44
 
45
45
  Parameters
46
46
  ----------
@@ -49,9 +49,9 @@ def parallel_map(func: typing.Callable[[typing.Any], typing.Any], iterable: typi
49
49
  iterable : Iterable[Any]
50
50
  Iterable over arguments to pass to fun
51
51
  max_parallel int, optional, default None
52
- Maximum parallelism. If not specified, uses the number of CPUs
52
+ Maximum parallelism. If not specified, it uses the number of CPUs
53
53
  dir : str, optional, default None
54
- If specified, directory where temporary files are created
54
+ If specified, it's the directory where temporary files are created
55
55
 
56
56
  Returns
57
57
  -------
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.498011 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.400892 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
+ import metaflow._vendor.click.types
12
13
  import metaflow.parameters
13
14
  import typing
14
- import metaflow._vendor.click.types
15
15
 
16
16
  from ._vendor import click as click
17
17
  from .exception import ParameterFieldFailed as ParameterFieldFailed
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.502087 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.404829 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,26 +9,26 @@ from __future__ import annotations
9
9
 
10
10
  from . import test_unbounded_foreach_decorator as test_unbounded_foreach_decorator
11
11
  from .test_unbounded_foreach_decorator import InternalTestUnboundedForeachInput as InternalTestUnboundedForeachInput
12
- from . import airflow as airflow
13
- from . import cards as cards
14
- from . import timeout_decorator as timeout_decorator
15
- from . import argo as argo
16
- from . import catch_decorator as catch_decorator
12
+ from . import parallel_decorator as parallel_decorator
13
+ from . import frameworks as frameworks
14
+ from . import retry_decorator as retry_decorator
15
+ from . import secrets as secrets
17
16
  from . import resources_decorator as resources_decorator
17
+ from . import pypi as pypi
18
+ from . import argo as argo
18
19
  from . import aws as aws
19
- from . import datatools as datatools
20
20
  from . import environment_decorator as environment_decorator
21
+ from . import catch_decorator as catch_decorator
22
+ from . import timeout_decorator as timeout_decorator
23
+ from . import cards as cards
21
24
  from . import kubernetes as kubernetes
22
- from . import frameworks as frameworks
23
- from . import parallel_decorator as parallel_decorator
24
- from . import secrets as secrets
25
- from . import pypi as pypi
26
- from . import retry_decorator as retry_decorator
25
+ from . import datatools as datatools
26
+ from . import airflow as airflow
27
27
  from . import events_decorator as events_decorator
28
28
  from . import project_decorator as project_decorator
29
- from . import azure as azure
30
- from . import storage_executor as storage_executor
31
29
  from . import gcp as gcp
30
+ from . import storage_executor as storage_executor
31
+ from . import azure as azure
32
32
  from . import debug_logger as debug_logger
33
33
  from . import debug_monitor as debug_monitor
34
34
  from .cards.card_modules.basic import BlankCard as BlankCard
@@ -45,9 +45,9 @@ from .cards.card_modules.test_cards import TestPathSpecCard as TestPathSpecCard
45
45
  from .cards.card_modules.test_cards import TestTimeoutCard as TestTimeoutCard
46
46
  from .cards.card_modules.test_cards import TestRefreshCard as TestRefreshCard
47
47
  from .cards.card_modules.test_cards import TestRefreshComponentCard as TestRefreshComponentCard
48
- from . import logs_cli as logs_cli
49
- from . import tag_cli as tag_cli
50
48
  from . import package_cli as package_cli
49
+ from . import tag_cli as tag_cli
50
+ from . import logs_cli as logs_cli
51
51
 
52
52
  CLIS_DESC: list
53
53
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.523175 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.431178 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.543568 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.472863 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -15,6 +15,7 @@ from ...parameters import JSONTypeClass as JSONTypeClass
15
15
  from ...parameters import deploy_time_eval as deploy_time_eval
16
16
  from ..cards.card_modules import chevron as chevron
17
17
  from ..kubernetes.kubernetes import Kubernetes as Kubernetes
18
+ from ..kubernetes.kube_utils import qos_requests_and_limits as qos_requests_and_limits
18
19
  from ..timeout_decorator import get_run_time_limit_for_task as get_run_time_limit_for_task
19
20
  from . import airflow_utils as airflow_utils
20
21
  from .airflow_utils import AIRFLOW_MACROS as AIRFLOW_MACROS
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.544038 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.473322 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.542187 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.471402 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.541835 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.471057 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.542397 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.471609 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.542686 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.471923 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.574272 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.489131 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.574576 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.489433 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.574836 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.489690 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.524161 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.428712 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.551480 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.450300 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.549975 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.448779 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.556477 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.455358 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -17,6 +17,7 @@ from ...metaflow_current import current as current
17
17
  from ...exception import MetaflowException as MetaflowException
18
18
  from ...includefile import FilePathClass as FilePathClass
19
19
  from ...parameters import deploy_time_eval as deploy_time_eval
20
+ from ..kubernetes.kube_utils import qos_requests_and_limits as qos_requests_and_limits
20
21
  from ..kubernetes.kubernetes import parse_kube_keyvalue_list as parse_kube_keyvalue_list
21
22
  from ..kubernetes.kubernetes import validate_kube_labels as validate_kube_labels
22
23
  from ..kubernetes.kubernetes_jobsets import KubernetesArgoJobSet as KubernetesArgoJobSet
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33 #
4
- # Generated on 2024-11-27T23:43:46.557488 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.456355 #
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.33 #
4
- # Generated on 2024-11-27T23:43:46.550343 #
3
+ # MF version: 2.12.35 #
4
+ # Generated on 2024-12-06T00:07:18.449150 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations