metaflow-stubs 2.15.20__py2.py3-none-any.whl → 2.16.0__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.

Potentially problematic release.


This version of metaflow-stubs might be problematic. Click here for more details.

Files changed (167) hide show
  1. metaflow-stubs/__init__.pyi +649 -643
  2. metaflow-stubs/cards.pyi +2 -2
  3. metaflow-stubs/cli.pyi +3 -2
  4. metaflow-stubs/cli_components/__init__.pyi +2 -2
  5. metaflow-stubs/cli_components/utils.pyi +2 -2
  6. metaflow-stubs/client/__init__.pyi +2 -2
  7. metaflow-stubs/client/core.pyi +8 -9
  8. metaflow-stubs/client/filecache.pyi +3 -3
  9. metaflow-stubs/events.pyi +3 -3
  10. metaflow-stubs/exception.pyi +2 -2
  11. metaflow-stubs/flowspec.pyi +10 -10
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +5 -5
  14. metaflow-stubs/{info_file.pyi → meta_files.pyi} +2 -6
  15. metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  16. metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  17. metaflow-stubs/metadata_provider/metadata.pyi +3 -3
  18. metaflow-stubs/metadata_provider/util.pyi +2 -2
  19. metaflow-stubs/metaflow_config.pyi +6 -2
  20. metaflow-stubs/metaflow_current.pyi +26 -26
  21. metaflow-stubs/metaflow_git.pyi +2 -2
  22. metaflow-stubs/multicore_utils.pyi +2 -2
  23. metaflow-stubs/packaging_sys/__init__.pyi +430 -0
  24. metaflow-stubs/packaging_sys/backend.pyi +73 -0
  25. metaflow-stubs/packaging_sys/distribution_support.pyi +72 -0
  26. metaflow-stubs/packaging_sys/tar_backend.pyi +53 -0
  27. metaflow-stubs/packaging_sys/utils.pyi +26 -0
  28. metaflow-stubs/packaging_sys/v1.pyi +145 -0
  29. metaflow-stubs/parameters.pyi +5 -5
  30. metaflow-stubs/plugins/__init__.pyi +12 -12
  31. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  32. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  33. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  34. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  35. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  36. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  37. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  38. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  39. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  40. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  41. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  42. metaflow-stubs/plugins/argo/argo_workflows.pyi +5 -5
  43. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  44. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  45. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -4
  46. metaflow-stubs/plugins/argo/exit_hooks.pyi +3 -3
  47. metaflow-stubs/plugins/aws/__init__.pyi +3 -3
  48. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  49. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  50. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  51. metaflow-stubs/plugins/aws/batch/batch.pyi +4 -4
  52. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  53. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +4 -2
  54. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  55. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
  56. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  57. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  58. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  59. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  60. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +3 -3
  61. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  62. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  63. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
  64. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -4
  65. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  67. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  68. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
  69. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  70. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  71. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  72. metaflow-stubs/plugins/cards/__init__.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 +3 -5
  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/components.pyi +4 -4
  81. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  82. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  83. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  84. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  85. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  86. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  87. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  88. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  89. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  90. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  91. metaflow-stubs/plugins/datatools/s3/s3.pyi +5 -5
  92. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  93. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  94. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  95. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  96. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  97. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  98. metaflow-stubs/plugins/exit_hook/__init__.pyi +2 -2
  99. metaflow-stubs/plugins/exit_hook/exit_hook_decorator.pyi +2 -2
  100. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  101. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  102. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  103. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
  104. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  105. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  106. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  107. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  108. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  109. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +3 -3
  110. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +4 -4
  111. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  112. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +4 -2
  113. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  114. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  115. metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  116. metaflow-stubs/plugins/parallel_decorator.pyi +3 -3
  117. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  119. metaflow-stubs/plugins/pypi/conda_decorator.pyi +5 -8
  120. metaflow-stubs/plugins/pypi/conda_environment.pyi +7 -6
  121. metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
  122. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +4 -4
  123. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  124. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  125. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  126. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  127. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  128. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  129. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  130. metaflow-stubs/plugins/secrets/secrets_func.pyi +2 -2
  131. metaflow-stubs/plugins/secrets/secrets_spec.pyi +2 -2
  132. metaflow-stubs/plugins/secrets/utils.pyi +2 -2
  133. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  134. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +4 -4
  135. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  136. metaflow-stubs/plugins/uv/__init__.pyi +2 -2
  137. metaflow-stubs/plugins/uv/uv_environment.pyi +4 -3
  138. metaflow-stubs/pylint_wrapper.pyi +2 -2
  139. metaflow-stubs/runner/__init__.pyi +2 -2
  140. metaflow-stubs/runner/deployer.pyi +6 -6
  141. metaflow-stubs/runner/deployer_impl.pyi +2 -2
  142. metaflow-stubs/runner/metaflow_runner.pyi +4 -4
  143. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  144. metaflow-stubs/runner/nbrun.pyi +2 -2
  145. metaflow-stubs/runner/subprocess_manager.pyi +3 -2
  146. metaflow-stubs/runner/utils.pyi +3 -3
  147. metaflow-stubs/system/__init__.pyi +2 -2
  148. metaflow-stubs/system/system_logger.pyi +2 -2
  149. metaflow-stubs/system/system_monitor.pyi +2 -2
  150. metaflow-stubs/tagging_util.pyi +2 -2
  151. metaflow-stubs/tuple_util.pyi +2 -2
  152. metaflow-stubs/user_configs/__init__.pyi +2 -3
  153. metaflow-stubs/user_configs/config_options.pyi +5 -6
  154. metaflow-stubs/user_configs/config_parameters.pyi +6 -8
  155. metaflow-stubs/user_decorators/__init__.pyi +15 -0
  156. metaflow-stubs/user_decorators/common.pyi +38 -0
  157. metaflow-stubs/user_decorators/mutable_flow.pyi +223 -0
  158. metaflow-stubs/user_decorators/mutable_step.pyi +152 -0
  159. metaflow-stubs/user_decorators/user_flow_decorator.pyi +137 -0
  160. metaflow-stubs/user_decorators/user_step_decorator.pyi +323 -0
  161. metaflow-stubs/version.pyi +2 -2
  162. {metaflow_stubs-2.15.20.dist-info → metaflow_stubs-2.16.0.dist-info}/METADATA +2 -2
  163. metaflow_stubs-2.16.0.dist-info/RECORD +166 -0
  164. metaflow-stubs/user_configs/config_decorators.pyi +0 -251
  165. metaflow_stubs-2.15.20.dist-info/RECORD +0 -155
  166. {metaflow_stubs-2.15.20.dist-info → metaflow_stubs-2.16.0.dist-info}/WHEEL +0 -0
  167. {metaflow_stubs-2.15.20.dist-info → metaflow_stubs-2.16.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,145 @@
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.394853 #
5
+ ######################################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+ import typing
10
+ import metaflow
11
+ if typing.TYPE_CHECKING:
12
+ import typing
13
+ import metaflow.packaging_sys
14
+
15
+ from ..exception import MetaflowException as MetaflowException
16
+ from ..user_decorators.user_flow_decorator import FlowMutatorMeta as FlowMutatorMeta
17
+ from ..user_decorators.user_step_decorator import UserStepDecoratorMeta as UserStepDecoratorMeta
18
+ from . import ContentType as ContentType
19
+ from . import MetaflowCodeContentV1Base as MetaflowCodeContentV1Base
20
+ from .distribution_support import modules_to_distributions as modules_to_distributions
21
+ from .utils import suffix_filter as suffix_filter
22
+ from .utils import walk as walk
23
+
24
+ EXT_EXCLUDE_SUFFIXES: list
25
+
26
+ MFCONTENT_MARKER: str
27
+
28
+ class MetaflowCodeContentV1(metaflow.packaging_sys.MetaflowCodeContentV1Base, metaclass=type):
29
+ def __init__(self, code_dir: str = '.mf_code', other_dir: str = '.mf_meta', criteria: typing.Callable[[module], bool] = ...):
30
+ ...
31
+ def create_mfcontent_info(self) -> typing.Dict[str, typing.Any]:
32
+ ...
33
+ def get_excluded_tl_entries(self) -> typing.List[str]:
34
+ """
35
+ When packaging Metaflow from within an executing Metaflow flow, we need to
36
+ exclude the files that are inserted by this content from being packaged (possibly).
37
+
38
+ Use this function to return these files or top-level directories.
39
+
40
+ Returns
41
+ -------
42
+ List[str]
43
+ Files or directories to exclude
44
+ """
45
+ ...
46
+ def content_names(self, content_types: typing.Optional[int] = None) -> typing.Generator[typing.Tuple[str, str], None, None]:
47
+ """
48
+ Detailed list of the content of this MetaflowCodeContent. This will list all files
49
+ (or non files -- for the INFO or CONFIG data for example) present in the archive.
50
+
51
+ Parameters
52
+ ----------
53
+ content_types : Optional[int]
54
+ The type of content to get the names of. If None, all content is returned.
55
+
56
+ Yields
57
+ ------
58
+ Generator[Tuple[str, str], None, None]
59
+ Path on the filesystem and the name in the archive
60
+ """
61
+ ...
62
+ def contents(self, content_types: typing.Optional[int] = None) -> typing.Generator[typing.Tuple[typing.Union[bytes, str], str], None, None]:
63
+ """
64
+ Very similar to content_names but returns the content of the non-files
65
+ as well as bytes. For files, identical output as content_names
66
+
67
+ Parameters
68
+ ----------
69
+ content_types : Optional[int]
70
+ The type of content to get the content of. If None, all content is returned.
71
+
72
+ Yields
73
+ ------
74
+ Generator[Tuple[Union[str, bytes], str], None, None]
75
+ Content of the MF content
76
+ """
77
+ ...
78
+ def show(self) -> str:
79
+ """
80
+ Returns a more human-readable string representation of the content of this
81
+ MetaflowCodeContent. This will not, for example, list all files but summarize what
82
+ is included at a more high level.
83
+
84
+ Returns
85
+ -------
86
+ str
87
+ A human-readable string representation of the content of this MetaflowCodeContent
88
+ """
89
+ ...
90
+ def add_info(self, info: typing.Dict[str, typing.Any]):
91
+ """
92
+ Add the content of the INFO file to the Metaflow content
93
+
94
+ Parameters
95
+ ----------
96
+ info: Dict[str, Any]
97
+ The content of the INFO file
98
+ """
99
+ ...
100
+ def add_config(self, config: typing.Dict[str, typing.Any]):
101
+ """
102
+ Add the content of the CONFIG file to the Metaflow content
103
+
104
+ Parameters
105
+ ----------
106
+ config: Dict[str, Any]
107
+ The content of the CONFIG file
108
+ """
109
+ ...
110
+ def add_module(self, module: module):
111
+ """
112
+ Add a python module to the Metaflow content
113
+
114
+ Parameters
115
+ ----------
116
+ module_path: ModuleType
117
+ The module to add
118
+ """
119
+ ...
120
+ def add_code_file(self, file_path: str, file_name: str):
121
+ """
122
+ Add a code file to the Metaflow content
123
+
124
+ Parameters
125
+ ----------
126
+ file_path: str
127
+ The path to the code file to add (on the filesystem)
128
+ file_name: str
129
+ The path in the archive to add the code file to
130
+ """
131
+ ...
132
+ def add_other_file(self, file_path: str, file_name: str):
133
+ """
134
+ Add a non-python file to the Metaflow content
135
+
136
+ Parameters
137
+ ----------
138
+ file_path: str
139
+ The path to the file to add (on the filesystem)
140
+ file_name: str
141
+ The path in the archive to add the file to
142
+ """
143
+ ...
144
+ ...
145
+
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.376517 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.365887 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.parameters
13
- import typing
14
12
  import metaflow._vendor.click.types
13
+ import typing
14
+ import metaflow.parameters
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.384850 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.375928 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,24 +9,24 @@ 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 aws as aws
13
- from . import timeout_decorator as timeout_decorator
14
- from . import datatools as datatools
15
12
  from . import airflow as airflow
13
+ from . import pypi as pypi
14
+ from . import catch_decorator as catch_decorator
15
+ from . import argo as argo
16
16
  from . import frameworks as frameworks
17
17
  from . import parallel_decorator as parallel_decorator
18
- from . import argo as argo
18
+ from . import timeout_decorator as timeout_decorator
19
+ from . import environment_decorator as environment_decorator
20
+ from . import secrets as secrets
21
+ from . import resources_decorator as resources_decorator
19
22
  from . import cards as cards
20
- from . import catch_decorator as catch_decorator
23
+ from . import aws as aws
21
24
  from . import retry_decorator as retry_decorator
22
- from . import pypi as pypi
23
- from . import resources_decorator as resources_decorator
25
+ from . import datatools as datatools
24
26
  from . import kubernetes as kubernetes
25
- from . import secrets as secrets
26
- from . import environment_decorator as environment_decorator
27
+ from . import project_decorator as project_decorator
27
28
  from . import events_decorator as events_decorator
28
29
  from . import exit_hook as exit_hook
29
- from . import project_decorator as project_decorator
30
30
  from . import uv as uv
31
31
  from . import gcp as gcp
32
32
  from . import storage_executor as storage_executor
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.407491 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.404069 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.426402 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.421893 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.426063 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.421550 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.426598 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.422111 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.426862 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.422397 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.452040 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.448447 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.452312 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.448722 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.452541 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.448953 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.408409 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.404993 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.460622 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.458261 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.427576 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.428621 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,16 +1,16 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.465647 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.463292 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.exception
13
12
  import metaflow.graph
13
+ import metaflow.exception
14
14
 
15
15
  from ...parameters import JSONType as JSONType
16
16
  from ...metaflow_current import current as current
@@ -104,7 +104,7 @@ class ArgoWorkflowsSchedulingException(metaflow.exception.MetaflowException, met
104
104
  ...
105
105
 
106
106
  class ArgoWorkflows(object, metaclass=type):
107
- def __init__(self, name, graph: metaflow.graph.FlowGraph, flow, code_package_sha, code_package_url, production_token, metadata, flow_datastore, environment, event_logger, monitor, tags = None, namespace = None, username = None, max_workers = None, workflow_timeout = None, workflow_priority = None, auto_emit_argo_events = False, notify_on_error = False, notify_on_success = False, notify_slack_webhook_url = None, notify_pager_duty_integration_key = None, notify_incident_io_api_key = None, incident_io_alert_source_config_id = None, incident_io_metadata: typing.List[str] = None, enable_heartbeat_daemon = True, enable_error_msg_capture = False):
107
+ def __init__(self, name, graph: metaflow.graph.FlowGraph, flow, code_package_metadata, code_package_sha, code_package_url, production_token, metadata, flow_datastore, environment, event_logger, monitor, tags = None, namespace = None, username = None, max_workers = None, workflow_timeout = None, workflow_priority = None, auto_emit_argo_events = False, notify_on_error = False, notify_on_success = False, notify_slack_webhook_url = None, notify_pager_duty_integration_key = None, notify_incident_io_api_key = None, incident_io_alert_source_config_id = None, incident_io_metadata: typing.List[str] = None, enable_heartbeat_daemon = True, enable_error_msg_capture = False):
108
108
  ...
109
109
  def __str__(self):
110
110
  ...
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.427908 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.428936 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,9 +9,9 @@ from __future__ import annotations
9
9
  import metaflow
10
10
  import typing
11
11
  if typing.TYPE_CHECKING:
12
+ import metaflow.graph
12
13
  import metaflow.decorators
13
14
  import metaflow.flowspec
14
- import metaflow.graph
15
15
 
16
16
  from ...metaflow_current import current as current
17
17
  from ...events import Trigger as Trigger
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.428359 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.429461 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
+ import metaflow.plugins.argo.argo_workflows_deployer_objects
12
13
  import metaflow.runner.deployer_impl
13
14
  import typing
14
- import metaflow.plugins.argo.argo_workflows_deployer_objects
15
15
 
16
16
  from ...runner.deployer_impl import DeployerImpl as DeployerImpl
17
17
 
@@ -1,16 +1,16 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.458109 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.452598 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.runner.deployer
13
12
  import metaflow.plugins.argo.argo_workflows_deployer_objects
13
+ import metaflow.runner.deployer
14
14
 
15
15
  from ...client.core import get_metadata as get_metadata
16
16
  from ...exception import MetaflowException as MetaflowException
@@ -1,13 +1,13 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.467933 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.466136 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
12
  import metaflow.plugins.argo.exit_hooks
13
13
 
@@ -1,15 +1,15 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.406351 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.407399 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
 
10
+ from . import step_functions as step_functions
10
11
  from . import batch as batch
11
12
  from . import aws_utils as aws_utils
12
- from . import step_functions as step_functions
13
13
  from . import aws_client as aws_client
14
14
  from . import secrets_manager as secrets_manager
15
15
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.423827 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.436791 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.423321 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.436540 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.422975 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.436145 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.449102 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.456211 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -65,9 +65,9 @@ class Batch(object, metaclass=type):
65
65
  ...
66
66
  def kill_jobs(self, flow_name, run_id, user, echo):
67
67
  ...
68
- def create_job(self, step_name, step_cli, task_spec, code_package_sha, code_package_url, code_package_ds, image, queue, iam_role = None, execution_role = None, cpu = None, gpu = None, memory = None, run_time_limit = None, shared_memory = None, max_swap = None, swappiness = None, inferentia = None, efa = None, env = {}, attrs = {}, host_volumes = None, efs_volumes = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, num_parallel = 0, ephemeral_storage = None, log_driver = None, log_options = None):
68
+ def create_job(self, step_name, step_cli, task_spec, code_package_metadata, code_package_sha, code_package_url, code_package_ds, image, queue, iam_role = None, execution_role = None, cpu = None, gpu = None, memory = None, run_time_limit = None, shared_memory = None, max_swap = None, swappiness = None, inferentia = None, efa = None, env = {}, attrs = {}, host_volumes = None, efs_volumes = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, num_parallel = 0, ephemeral_storage = None, log_driver = None, log_options = None):
69
69
  ...
70
- def launch_job(self, step_name, step_cli, task_spec, code_package_sha, code_package_url, code_package_ds, image, queue, iam_role = None, execution_role = None, cpu = None, gpu = None, memory = None, run_time_limit = None, shared_memory = None, max_swap = None, swappiness = None, inferentia = None, efa = None, host_volumes = None, efs_volumes = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, num_parallel = 0, env = {}, attrs = {}, ephemeral_storage = None, log_driver = None, log_options = None):
70
+ def launch_job(self, step_name, step_cli, task_spec, code_package_metadata, code_package_sha, code_package_url, code_package_ds, image, queue, iam_role = None, execution_role = None, cpu = None, gpu = None, memory = None, run_time_limit = None, shared_memory = None, max_swap = None, swappiness = None, inferentia = None, efa = None, host_volumes = None, efs_volumes = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, num_parallel = 0, env = {}, attrs = {}, ephemeral_storage = None, log_driver = None, log_options = None):
71
71
  ...
72
72
  def wait(self, stdout_location, stderr_location, echo = None):
73
73
  ...
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.448276 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.455376 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.449711 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.456874 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -32,6 +32,8 @@ ECS_FARGATE_EXECUTION_ROLE: None
32
32
 
33
33
  ECS_S3_ACCESS_IAM_ROLE: None
34
34
 
35
+ FEAT_ALWAYS_UPLOAD_CODE_PACKAGE: bool
36
+
35
37
  UBF_CONTROL: str
36
38
 
37
39
  class BatchDecorator(metaflow.decorators.StepDecorator, metaclass=type):
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.424031 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.436988 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.451305 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.457239 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import abc
10
+ import metaflow
11
11
  import typing
12
12
  if typing.TYPE_CHECKING:
13
- import metaflow.exception
14
13
  import abc
15
14
  import metaflow.plugins.secrets
15
+ import metaflow.exception
16
16
 
17
17
  from ....exception import MetaflowException as MetaflowException
18
18
  from ...secrets import SecretsProvider as SecretsProvider
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.20 #
4
- # Generated on 2025-07-10T18:07:14.423534 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.435915 #
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.15.20 #
4
- # Generated on 2025-07-10T18:07:14.450005 #
3
+ # MF version: 2.16.0 #
4
+ # Generated on 2025-07-12T15:28:57.452910 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations