metaflow-stubs 2.15.21__py2.py3-none-any.whl → 2.16.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

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 +626 -620
  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 +6 -7
  8. metaflow-stubs/client/filecache.pyi +3 -3
  9. metaflow-stubs/events.pyi +2 -2
  10. metaflow-stubs/exception.pyi +2 -2
  11. metaflow-stubs/flowspec.pyi +8 -8
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +2 -2
  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 +2 -2
  18. metaflow-stubs/metadata_provider/util.pyi +2 -2
  19. metaflow-stubs/metaflow_config.pyi +6 -2
  20. metaflow-stubs/metaflow_current.pyi +17 -17
  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 +2 -2
  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 +3 -3
  43. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +2 -2
  44. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +3 -3
  45. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +2 -2
  46. metaflow-stubs/plugins/argo/exit_hooks.pyi +2 -2
  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 +3 -3
  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 +2 -2
  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 +3 -3
  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 +2 -4
  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 +2 -2
  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 +3 -3
  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 +3 -3
  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 +2 -2
  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 +5 -4
  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 +2 -2
  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 +3 -3
  135. metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  136. metaflow-stubs/plugins/uv/__init__.pyi +2 -2
  137. metaflow-stubs/plugins/uv/uv_environment.pyi +3 -2
  138. metaflow-stubs/pylint_wrapper.pyi +2 -2
  139. metaflow-stubs/runner/__init__.pyi +2 -2
  140. metaflow-stubs/runner/deployer.pyi +29 -29
  141. metaflow-stubs/runner/deployer_impl.pyi +3 -3
  142. metaflow-stubs/runner/metaflow_runner.pyi +3 -3
  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 +4 -4
  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 +3 -4
  154. metaflow-stubs/user_configs/config_parameters.pyi +5 -7
  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.21.dist-info → metaflow_stubs-2.16.1.dist-info}/METADATA +2 -2
  163. metaflow_stubs-2.16.1.dist-info/RECORD +166 -0
  164. metaflow-stubs/user_configs/config_decorators.pyi +0 -251
  165. metaflow_stubs-2.15.21.dist-info/RECORD +0 -155
  166. {metaflow_stubs-2.15.21.dist-info → metaflow_stubs-2.16.1.dist-info}/WHEEL +0 -0
  167. {metaflow_stubs-2.15.21.dist-info → metaflow_stubs-2.16.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,145 @@
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.970293 #
5
+ ######################################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+ import metaflow
10
+ import typing
11
+ if typing.TYPE_CHECKING:
12
+ import metaflow.packaging_sys
13
+ import typing
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,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.21 #
4
- # Generated on 2025-07-11T15:58:12.995445 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.942414 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.004287 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.951950 #
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 kubernetes as kubernetes
13
- from . import resources_decorator as resources_decorator
14
- from . import timeout_decorator as timeout_decorator
15
- from . import aws as aws
16
12
  from . import pypi as pypi
13
+ from . import timeout_decorator as timeout_decorator
14
+ from . import resources_decorator as resources_decorator
17
15
  from . import environment_decorator as environment_decorator
18
- from . import datatools as datatools
19
16
  from . import parallel_decorator as parallel_decorator
20
- from . import cards as cards
17
+ from . import argo as argo
21
18
  from . import airflow as airflow
22
- from . import secrets as secrets
23
19
  from . import catch_decorator as catch_decorator
24
- from . import frameworks as frameworks
20
+ from . import cards as cards
25
21
  from . import retry_decorator as retry_decorator
26
- from . import argo as argo
22
+ from . import kubernetes as kubernetes
23
+ from . import aws as aws
24
+ from . import frameworks as frameworks
25
+ from . import datatools as datatools
26
+ from . import secrets as secrets
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 azure as azure
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.21 #
4
- # Generated on 2025-07-11T15:58:13.030103 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.981252 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.061683 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.001077 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.061332 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.000715 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.061908 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.001278 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.062175 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.001533 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.075698 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.025866 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.076003 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.026179 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.076236 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.026418 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.031661 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.981007 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.084860 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.031975 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.064457 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.998722 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.090300 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.036867 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -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.21 #
4
- # Generated on 2025-07-11T15:58:13.064795 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.999052 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.065284 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.999500 #
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.runner.deployer_impl
13
12
  import metaflow.plugins.argo.argo_workflows_deployer_objects
14
13
  import typing
14
+ import metaflow.runner.deployer_impl
15
15
 
16
16
  from ...runner.deployer_impl import DeployerImpl as DeployerImpl
17
17
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.21 #
4
- # Generated on 2025-07-11T15:58:13.082065 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.025473 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.092778 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.039569 #
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.15.21 #
4
- # Generated on 2025-07-11T15:58:13.028469 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:42.982722 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
 
10
10
  from . import aws_utils as aws_utils
11
- from . import batch as batch
12
11
  from . import step_functions as step_functions
12
+ from . import batch as batch
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.21 #
4
- # Generated on 2025-07-11T15:58:13.051354 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.012463 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.050557 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.011716 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.050809 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.012189 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.072580 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.029989 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.071727 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.029155 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.073240 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.030620 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.051553 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.012681 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.074933 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.030979 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -10,9 +10,9 @@ import metaflow
10
10
  import abc
11
11
  import typing
12
12
  if typing.TYPE_CHECKING:
13
+ import metaflow.exception
13
14
  import metaflow.plugins.secrets
14
15
  import abc
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.21 #
4
- # Generated on 2025-07-11T15:58:13.051065 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.011962 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.073525 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.026705 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.093129 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.041585 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.074040 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.027203 #
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.21 #
4
- # Generated on 2025-07-11T15:58:13.092177 #
3
+ # MF version: 2.16.1 #
4
+ # Generated on 2025-07-15T19:29:43.041242 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -37,7 +37,7 @@ class StepFunctionsSchedulingException(metaflow.exception.MetaflowException, met
37
37
  ...
38
38
 
39
39
  class StepFunctions(object, metaclass=type):
40
- def __init__(self, name, graph, 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, is_project = False, use_distributed_map = False):
40
+ def __init__(self, name, graph, 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, is_project = False, use_distributed_map = False):
41
41
  ...
42
42
  def to_json(self):
43
43
  ...