metaflow-stubs 2.15.13__py2.py3-none-any.whl → 2.15.15__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 (149) hide show
  1. metaflow-stubs/__init__.pyi +458 -458
  2. metaflow-stubs/cards.pyi +2 -2
  3. metaflow-stubs/cli.pyi +2 -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 +7 -7
  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 +6 -6
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +5 -5
  14. metaflow-stubs/info_file.pyi +2 -2
  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 +4 -2
  20. metaflow-stubs/metaflow_current.pyi +4 -4
  21. metaflow-stubs/metaflow_git.pyi +2 -2
  22. metaflow-stubs/multicore_utils.pyi +2 -2
  23. metaflow-stubs/parameters.pyi +5 -5
  24. metaflow-stubs/plugins/__init__.pyi +14 -14
  25. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  27. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  28. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  29. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  30. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  31. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  32. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  33. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  34. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  35. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  36. metaflow-stubs/plugins/argo/argo_workflows.pyi +4 -4
  37. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  38. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +5 -5
  39. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +3 -3
  40. metaflow-stubs/plugins/aws/__init__.pyi +3 -3
  41. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  42. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  43. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  44. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  45. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  46. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  47. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  48. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
  49. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  52. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  53. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  54. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  55. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  56. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +5 -5
  57. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -4
  58. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  59. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  60. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  61. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
  62. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  63. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  64. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  65. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  67. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  68. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  69. metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  70. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  71. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  72. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  73. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  74. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  77. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  78. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  79. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  80. metaflow-stubs/plugins/catch_decorator.pyi +2 -2
  81. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  82. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  83. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  84. metaflow-stubs/plugins/datatools/s3/s3.pyi +3 -3
  85. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  86. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  87. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  88. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  89. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  90. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  91. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  92. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  93. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  94. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
  95. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  96. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  97. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  98. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  99. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  100. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +3 -3
  101. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  102. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  103. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  104. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  105. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  106. metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  107. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  108. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  109. metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
  110. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  111. metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
  112. metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
  113. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  114. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  115. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  116. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  117. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  119. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +4 -4
  120. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  121. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  122. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +2 -2
  123. metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  124. metaflow-stubs/plugins/uv/__init__.pyi +2 -2
  125. metaflow-stubs/plugins/uv/uv_environment.pyi +3 -3
  126. metaflow-stubs/pylint_wrapper.pyi +2 -2
  127. metaflow-stubs/runner/__init__.pyi +2 -2
  128. metaflow-stubs/runner/deployer.pyi +30 -30
  129. metaflow-stubs/runner/deployer_impl.pyi +5 -2
  130. metaflow-stubs/runner/metaflow_runner.pyi +7 -4
  131. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  132. metaflow-stubs/runner/nbrun.pyi +2 -2
  133. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  134. metaflow-stubs/runner/utils.pyi +7 -4
  135. metaflow-stubs/system/__init__.pyi +2 -2
  136. metaflow-stubs/system/system_logger.pyi +3 -3
  137. metaflow-stubs/system/system_monitor.pyi +2 -2
  138. metaflow-stubs/tagging_util.pyi +2 -2
  139. metaflow-stubs/tuple_util.pyi +2 -2
  140. metaflow-stubs/user_configs/__init__.pyi +2 -2
  141. metaflow-stubs/user_configs/config_decorators.pyi +6 -6
  142. metaflow-stubs/user_configs/config_options.pyi +4 -4
  143. metaflow-stubs/user_configs/config_parameters.pyi +78 -18
  144. metaflow-stubs/version.pyi +2 -2
  145. {metaflow_stubs-2.15.13.dist-info → metaflow_stubs-2.15.15.dist-info}/METADATA +2 -2
  146. metaflow_stubs-2.15.15.dist-info/RECORD +149 -0
  147. {metaflow_stubs-2.15.13.dist-info → metaflow_stubs-2.15.15.dist-info}/WHEEL +1 -1
  148. metaflow_stubs-2.15.13.dist-info/RECORD +0 -149
  149. {metaflow_stubs-2.15.13.dist-info → metaflow_stubs-2.15.15.dist-info}/top_level.txt +0 -0
@@ -1,19 +1,19 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.122324 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.799568 #
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.aws.step_functions.step_functions_deployer_objects
13
- import metaflow.plugins.argo.argo_workflows_deployer_objects
14
12
  import metaflow.plugins.argo.argo_workflows_deployer
15
- import metaflow.runner.deployer
16
13
  import metaflow.plugins.aws.step_functions.step_functions_deployer
14
+ import metaflow.runner.deployer
15
+ import metaflow.plugins.argo.argo_workflows_deployer_objects
16
+ import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
17
17
  import metaflow
18
18
 
19
19
  from ..exception import MetaflowNotFound as MetaflowNotFound
@@ -55,24 +55,24 @@ class Deployer(object, metaclass=DeployerMeta):
55
55
  """
56
56
  def __init__(self, flow_file: str, show_output: bool = True, profile: typing.Optional[str] = None, env: typing.Optional[typing.Dict] = None, cwd: typing.Optional[str] = None, file_read_timeout: int = 3600, **kwargs):
57
57
  ...
58
- def argo_workflows(self, *, name: typing.Optional[str] = None) -> "metaflow.plugins.argo.argo_workflows_deployer.ArgoWorkflowsDeployer":
58
+ def step_functions(self, *, name: typing.Optional[str] = None) -> "metaflow.plugins.aws.step_functions.step_functions_deployer.StepFunctionsDeployer":
59
59
  """
60
- Deployer implementation for Argo Workflows.
60
+ Deployer implementation for AWS Step Functions.
61
61
 
62
62
  Parameters
63
63
  ----------
64
64
  name : str, optional, default None
65
- Argo workflow name. The flow name is used instead if this option is not specified.
65
+ State Machine name. The flow name is used instead if this option is not specified.
66
66
  """
67
67
  ...
68
- def step_functions(self, *, name: typing.Optional[str] = None) -> "metaflow.plugins.aws.step_functions.step_functions_deployer.StepFunctionsDeployer":
68
+ def argo_workflows(self, *, name: typing.Optional[str] = None) -> "metaflow.plugins.argo.argo_workflows_deployer.ArgoWorkflowsDeployer":
69
69
  """
70
- Deployer implementation for AWS Step Functions.
70
+ Deployer implementation for Argo Workflows.
71
71
 
72
72
  Parameters
73
73
  ----------
74
74
  name : str, optional, default None
75
- State Machine name. The flow name is used instead if this option is not specified.
75
+ Argo workflow name. The flow name is used instead if this option is not specified.
76
76
  """
77
77
  ...
78
78
  ...
@@ -159,45 +159,45 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
159
159
  """
160
160
  ...
161
161
  @classmethod
162
- def from_argo_workflows(cls, *, identifier: str, metadata: typing.Optional[str] = None) -> "metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow":
162
+ def from_step_functions(cls) -> "metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow":
163
163
  """
164
- Retrieves a `ArgoWorkflowsDeployedFlow` object from an identifier and optional
165
- metadata.
166
-
164
+ This method is not currently implemented for Step Functions.
167
165
 
166
+ Raises
167
+ ------
168
+ NotImplementedError
169
+ This method is not implemented for Step Functions.
168
170
 
169
171
  Parameters
170
172
  ----------
171
- identifier : str
172
- Deployer specific identifier for the workflow to retrieve
173
- metadata : str, optional, default None
174
- Optional deployer specific metadata.
175
-
176
173
 
177
174
 
178
175
  Returns
179
176
  -------
180
- ArgoWorkflowsDeployedFlow
181
- A `ArgoWorkflowsDeployedFlow` object representing the
182
- deployed flow on argo workflows.
183
177
  """
184
178
  ...
185
179
  @classmethod
186
- def from_step_functions(cls) -> "metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow":
180
+ def from_argo_workflows(cls, *, identifier: str, metadata: typing.Optional[str] = None) -> "metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow":
187
181
  """
188
- This method is not currently implemented for Step Functions.
182
+ Retrieves a `ArgoWorkflowsDeployedFlow` object from an identifier and optional
183
+ metadata.
184
+
189
185
 
190
- Raises
191
- ------
192
- NotImplementedError
193
- This method is not implemented for Step Functions.
194
186
 
195
187
  Parameters
196
188
  ----------
189
+ identifier : str
190
+ Deployer specific identifier for the workflow to retrieve
191
+ metadata : str, optional, default None
192
+ Optional deployer specific metadata.
193
+
197
194
 
198
195
 
199
196
  Returns
200
197
  -------
198
+ ArgoWorkflowsDeployedFlow
199
+ A `ArgoWorkflowsDeployedFlow` object representing the
200
+ deployed flow on argo workflows.
201
201
  """
202
202
  ...
203
203
  ...
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.048330 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.726094 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -15,9 +15,12 @@ from .subprocess_manager import SubprocessManager as SubprocessManager
15
15
  from .utils import get_lower_level_group as get_lower_level_group
16
16
  from .utils import handle_timeout as handle_timeout
17
17
  from .utils import temporary_fifo as temporary_fifo
18
+ from .utils import with_dir as with_dir
18
19
 
19
20
  TYPE_CHECKING: bool
20
21
 
22
+ CLICK_API_PROCESS_CONFIG: bool
23
+
21
24
  class DeployerImpl(object, metaclass=type):
22
25
  """
23
26
  Base class for deployer implementations. Each implementation should define a TYPE
@@ -1,26 +1,29 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.039828 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.717603 #
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.metaflow_runner
13
12
  import metaflow.runner.subprocess_manager
14
13
  import metaflow.client.core
14
+ import metaflow.runner.metaflow_runner
15
15
 
16
16
  from ..client.core import Run as Run
17
17
  from ..plugins import get_runner_cli as get_runner_cli
18
18
  from .utils import temporary_fifo as temporary_fifo
19
19
  from .utils import handle_timeout as handle_timeout
20
20
  from .utils import async_handle_timeout as async_handle_timeout
21
+ from .utils import with_dir as with_dir
21
22
  from .subprocess_manager import CommandManager as CommandManager
22
23
  from .subprocess_manager import SubprocessManager as SubprocessManager
23
24
 
25
+ CLICK_API_PROCESS_CONFIG: bool
26
+
24
27
  class ExecutingRun(object, metaclass=type):
25
28
  """
26
29
  This class contains a reference to a `metaflow.Run` object representing
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.040830 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.718593 #
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.13 #
4
- # Generated on 2025-05-20T18:34:43.040440 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.718210 #
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.13 #
4
- # Generated on 2025-05-20T18:34:43.047709 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.725459 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.046469 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.724209 #
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.runner.click_api
12
- import types
13
11
  import metaflow.runner.subprocess_manager
12
+ import types
14
13
  import typing
14
+ import metaflow.runner.click_api
15
15
 
16
16
 
17
17
  TYPE_CHECKING: bool
@@ -186,3 +186,6 @@ def get_lower_level_group(api: "metaflow.runner.click_api.MetaflowAPI", top_leve
186
186
  """
187
187
  ...
188
188
 
189
+ def with_dir(new_dir):
190
+ ...
191
+
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.041387 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.719142 #
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.13 #
4
- # Generated on 2025-05-20T18:34:43.064887 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.742460 #
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.event_logger
12
11
  import typing
12
+ import metaflow.event_logger
13
13
 
14
14
 
15
15
  class SystemLogger(object, metaclass=type):
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.064495 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.742068 #
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.13 #
4
- # Generated on 2025-05-20T18:34:43.020962 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.698050 #
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.13 #
4
- # Generated on 2025-05-20T18:34:43.025628 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.704118 #
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.13 #
4
- # Generated on 2025-05-20T18:34:43.020639 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.697711 #
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.15.13 #
4
- # Generated on 2025-05-20T18:34:43.025442 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.703229 #
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.parameters
12
- import typing
13
11
  import metaflow.flowspec
14
- import metaflow.user_configs.config_decorators
15
- import functools
16
12
  import metaflow.user_configs.config_parameters
13
+ import functools
14
+ import metaflow.parameters
15
+ import metaflow.user_configs.config_decorators
16
+ import typing
17
17
  import metaflow.decorators
18
18
 
19
19
  from ..exception import MetaflowException as MetaflowException
@@ -1,16 +1,16 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.043450 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.721217 #
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._vendor.click.types
13
12
  import typing
13
+ import metaflow._vendor.click.types
14
14
 
15
15
  from .._vendor import click as click
16
16
  from .config_parameters import ConfigValue as ConfigValue
@@ -1,21 +1,21 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.023829 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.701608 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import abc
11
10
  import collections
12
11
  import typing
12
+ import metaflow
13
13
  if typing.TYPE_CHECKING:
14
- import metaflow.parameters
15
- import typing
16
14
  import collections.abc
17
- import abc
18
15
  import metaflow.user_configs.config_parameters
16
+ import abc
17
+ import metaflow.parameters
18
+ import typing
19
19
 
20
20
  from ..exception import MetaflowException as MetaflowException
21
21
  from ..parameters import Parameter as Parameter
@@ -30,7 +30,7 @@ UNPACK_KEY: str
30
30
  def dump_config_values(flow: "FlowSpec"):
31
31
  ...
32
32
 
33
- class ConfigValue(collections.abc.Mapping, metaclass=abc.ABCMeta):
33
+ class ConfigValue(collections.abc.Mapping, dict, metaclass=abc.ABCMeta):
34
34
  """
35
35
  ConfigValue is a thin wrapper around an arbitrarily nested dictionary-like
36
36
  configuration object. It allows you to access elements of this nested structure
@@ -41,7 +41,47 @@ class ConfigValue(collections.abc.Mapping, metaclass=abc.ABCMeta):
41
41
 
42
42
  All "keys"" need to be valid Python identifiers
43
43
  """
44
- def __init__(self, data: typing.Dict[str, typing.Any]):
44
+ def __init__(self, data: typing.Union["ConfigValue", typing.Dict[str, typing.Any]]):
45
+ ...
46
+ @classmethod
47
+ def fromkeys(cls, iterable: typing.Iterable, value: typing.Any = None) -> "ConfigValue":
48
+ """
49
+ Creates a new ConfigValue object from the given iterable and value.
50
+
51
+ Parameters
52
+ ----------
53
+ iterable : Iterable
54
+ Iterable to create the ConfigValue from.
55
+ value : Any, optional
56
+ Value to set for each key in the iterable.
57
+
58
+ Returns
59
+ -------
60
+ ConfigValue
61
+ A new ConfigValue object.
62
+ """
63
+ ...
64
+ def to_dict(self) -> typing.Dict[typing.Any, typing.Any]:
65
+ """
66
+ Returns a dictionary representation of this configuration object.
67
+
68
+ Returns
69
+ -------
70
+ Dict[Any, Any]
71
+ Dictionary equivalent of this configuration object.
72
+ """
73
+ ...
74
+ def copy(self) -> "ConfigValue":
75
+ ...
76
+ def clear(self):
77
+ ...
78
+ def update(self, *args, **kwargs):
79
+ ...
80
+ def setdefault(self, key: typing.Any, default: typing.Any = None) -> typing.Any:
81
+ ...
82
+ def pop(self, key: typing.Any, default: typing.Any = None) -> typing.Any:
83
+ ...
84
+ def popitem(self) -> typing.Tuple[typing.Any, typing.Any]:
45
85
  ...
46
86
  def __getattr__(self, key: str) -> typing.Any:
47
87
  """
@@ -75,22 +115,38 @@ class ConfigValue(collections.abc.Mapping, metaclass=abc.ABCMeta):
75
115
  Element of the configuration
76
116
  """
77
117
  ...
78
- def __len__(self):
118
+ def __setitem__(self, key: typing.Any, value: typing.Any):
79
119
  ...
80
- def __iter__(self):
120
+ def __delattr__(self, key):
81
121
  ...
82
- def __repr__(self):
122
+ def __delitem__(self, key: typing.Any):
83
123
  ...
84
- def __str__(self):
124
+ def __len__(self) -> int:
85
125
  ...
86
- def to_dict(self) -> typing.Dict[typing.Any, typing.Any]:
126
+ def __iter__(self) -> typing.Iterator:
127
+ ...
128
+ def __eq__(self, other: typing.Any) -> bool:
129
+ ...
130
+ def __ne__(self, other: typing.Any) -> bool:
131
+ ...
132
+ def __copy__(self) -> "ConfigValue":
133
+ ...
134
+ def __repr__(self) -> str:
135
+ ...
136
+ def __str__(self) -> str:
137
+ ...
138
+ def __dir__(self) -> typing.Iterable[str]:
139
+ ...
140
+ def __contains__(self, key: typing.Any) -> bool:
141
+ ...
142
+ def keys(self):
87
143
  """
88
- Returns a dictionary representation of this configuration object.
144
+ Returns the keys of this configuration object.
89
145
 
90
146
  Returns
91
147
  -------
92
- Dict[Any, Any]
93
- Dictionary equivalent of this configuration object.
148
+ Any
149
+ Keys of this configuration object.
94
150
  """
95
151
  ...
96
152
  ...
@@ -107,7 +163,11 @@ class DelayEvaluator(collections.abc.Mapping, metaclass=abc.ABCMeta):
107
163
  special handling in whatever this is being unpacked into, specifically the handling
108
164
  of _unpacked_delayed_*
109
165
  """
110
- def __init__(self, ex: str):
166
+ def __init__(self, ex: str, saved_globals: typing.Optional[typing.Dict[str, typing.Any]] = None):
167
+ ...
168
+ def __copy__(self):
169
+ ...
170
+ def __deepcopy__(self, memo):
111
171
  ...
112
172
  def __iter__(self):
113
173
  ...
@@ -209,7 +269,7 @@ class Config(metaflow.parameters.Parameter, collections.abc.Mapping, metaclass=a
209
269
  ...
210
270
  ...
211
271
 
212
- def resolve_delayed_evaluator(v: typing.Any, ignore_errors: bool = False) -> typing.Any:
272
+ def resolve_delayed_evaluator(v: typing.Any, ignore_errors: bool = False, to_dict: bool = False) -> typing.Any:
213
273
  ...
214
274
 
215
275
  def unpack_delayed_evaluator(to_unpack: typing.Dict[str, typing.Any], ignore_errors: bool = False) -> typing.Tuple[typing.Dict[str, typing.Any], typing.List[str]]:
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.13 #
4
- # Generated on 2025-05-20T18:34:43.040946 #
3
+ # MF version: 2.15.15 #
4
+ # Generated on 2025-05-30T13:33:59.718706 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metaflow-stubs
3
- Version: 2.15.13
3
+ Version: 2.15.15
4
4
  Summary: Metaflow Stubs: Stubs for the metaflow package
5
5
  Author: Metaflow Developers
6
6
  Author-email: help@metaflow.org
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
22
  Requires-Python: >=3.7.0
23
23
  Description-Content-Type: text/markdown
24
- Requires-Dist: metaflow==2.15.13
24
+ Requires-Dist: metaflow==2.15.15
25
25
  Dynamic: author
26
26
  Dynamic: author-email
27
27
  Dynamic: classifier