metaflow-stubs 2.17.0__py2.py3-none-any.whl → 2.17.2__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 (166) hide show
  1. metaflow-stubs/__init__.pyi +603 -603
  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 +5 -5
  8. metaflow-stubs/client/filecache.pyi +2 -2
  9. metaflow-stubs/events.pyi +3 -3
  10. metaflow-stubs/exception.pyi +2 -2
  11. metaflow-stubs/flowspec.pyi +14 -5
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +3 -3
  14. metaflow-stubs/meta_files.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 +2 -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 +7 -7
  24. metaflow-stubs/packaging_sys/backend.pyi +2 -2
  25. metaflow-stubs/packaging_sys/distribution_support.pyi +4 -4
  26. metaflow-stubs/packaging_sys/tar_backend.pyi +4 -4
  27. metaflow-stubs/packaging_sys/utils.pyi +2 -2
  28. metaflow-stubs/packaging_sys/v1.pyi +3 -3
  29. metaflow-stubs/parameters.pyi +3 -3
  30. metaflow-stubs/plugins/__init__.pyi +14 -14
  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 +3 -3
  44. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  45. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +3 -3
  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 +2 -2
  52. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  53. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -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 +2 -2
  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 +4 -4
  64. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
  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 -3
  77. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  78. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  79. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  80. metaflow-stubs/plugins/cards/card_modules/components.pyi +5 -5
  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 +4 -4
  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 +2 -2
  111. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  112. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -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 +2 -2
  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 +2 -2
  120. metaflow-stubs/plugins/pypi/conda_environment.pyi +4 -4
  121. metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
  122. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  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 +4 -4
  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 +2 -2
  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 -3
  138. metaflow-stubs/pylint_wrapper.pyi +2 -2
  139. metaflow-stubs/runner/__init__.pyi +2 -2
  140. metaflow-stubs/runner/deployer.pyi +7 -7
  141. metaflow-stubs/runner/deployer_impl.pyi +10 -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 +2 -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 -2
  153. metaflow-stubs/user_configs/config_options.pyi +3 -3
  154. metaflow-stubs/user_configs/config_parameters.pyi +5 -5
  155. metaflow-stubs/user_decorators/__init__.pyi +2 -2
  156. metaflow-stubs/user_decorators/common.pyi +2 -2
  157. metaflow-stubs/user_decorators/mutable_flow.pyi +4 -4
  158. metaflow-stubs/user_decorators/mutable_step.pyi +4 -4
  159. metaflow-stubs/user_decorators/user_flow_decorator.pyi +5 -5
  160. metaflow-stubs/user_decorators/user_step_decorator.pyi +19 -6
  161. metaflow-stubs/version.pyi +2 -2
  162. {metaflow_stubs-2.17.0.dist-info → metaflow_stubs-2.17.2.dist-info}/METADATA +2 -2
  163. metaflow_stubs-2.17.2.dist-info/RECORD +166 -0
  164. metaflow_stubs-2.17.0.dist-info/RECORD +0 -166
  165. {metaflow_stubs-2.17.0.dist-info → metaflow_stubs-2.17.2.dist-info}/WHEEL +0 -0
  166. {metaflow_stubs-2.17.0.dist-info → metaflow_stubs-2.17.2.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.942679 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.516451 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.971977 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.538471 #
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 abc
14
13
  import metaflow.plugins.secrets
14
+ import abc
15
15
 
16
16
  from . import SecretsProvider as SecretsProvider
17
17
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.971774 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.538273 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.971457 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.537971 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.971196 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.537708 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.970828 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.537339 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.945920 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.521458 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.939942 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.515385 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.940765 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.517055 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.945362 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.520878 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.977965 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.552027 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
  import metaflow
10
10
  import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.metaflow_environment
13
12
  import metaflow.exception
13
+ import metaflow.metaflow_environment
14
14
 
15
15
  from ...exception import MetaflowException as MetaflowException
16
16
  from ...packaging_sys import ContentType as ContentType
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.924420 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.497743 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.909807 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.482701 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,20 +1,20 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:04.019500 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.591559 #
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
13
- import metaflow.plugins.aws.step_functions.step_functions_deployer
14
- import metaflow.runner.deployer
15
- import metaflow
16
12
  import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
13
+ import metaflow.runner.deployer
17
14
  import metaflow.plugins.argo.argo_workflows_deployer_objects
15
+ import metaflow.plugins.aws.step_functions.step_functions_deployer
16
+ import metaflow.plugins.argo.argo_workflows_deployer
17
+ import metaflow
18
18
 
19
19
  from ..exception import MetaflowNotFound as MetaflowNotFound
20
20
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.939295 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.514732 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -49,6 +49,14 @@ class DeployerImpl(object, metaclass=type):
49
49
  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):
50
50
  ...
51
51
  @property
52
+ def to_reload(self) -> typing.List[str]:
53
+ """
54
+ List of modules to reload when the deployer is initialized.
55
+ This is used to ensure that the CLI is in a clean state before
56
+ deploying the flow.
57
+ """
58
+ ...
59
+ @property
52
60
  def deployer_kwargs(self) -> typing.Dict[str, typing.Any]:
53
61
  ...
54
62
  @staticmethod
@@ -1,16 +1,16 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.922601 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.495849 #
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.client.core
13
+ import metaflow.runner.metaflow_runner
14
14
  import metaflow.runner.subprocess_manager
15
15
 
16
16
  from ..client.core import Run as Run
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.923580 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.496854 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.923200 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.496463 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.938664 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.514022 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.937420 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.512747 #
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
11
  import typing
13
- import metaflow.runner.subprocess_manager
14
12
  import types
13
+ import metaflow.runner.click_api
14
+ import metaflow.runner.subprocess_manager
15
15
 
16
16
 
17
17
  TYPE_CHECKING: bool
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.923929 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.497208 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.955585 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.531296 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.955189 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.530877 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.901960 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.474608 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.908625 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.482468 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.901356 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.474030 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,13 +1,13 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.932129 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.507327 #
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 typing
13
13
  import metaflow._vendor.click.types
@@ -1,19 +1,19 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.905774 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.478618 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
11
- import abc
12
10
  import collections
11
+ import abc
12
+ import metaflow
13
13
  if typing.TYPE_CHECKING:
14
+ import typing
14
15
  import metaflow.user_configs.config_parameters
15
16
  import metaflow.parameters
16
- import typing
17
17
  import collections.abc
18
18
  import abc
19
19
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.901578 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.474283 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.933575 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.508840 #
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.17.0 #
4
- # Generated on 2025-08-06T11:05:03.933109 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.508376 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
+ import typing
11
12
  import metaflow.flowspec
12
13
  import metaflow.user_configs.config_parameters
14
+ import functools
13
15
  import metaflow.parameters
14
- import typing
15
16
  import metaflow.user_decorators.mutable_step
16
- import functools
17
17
 
18
18
  from ..exception import MetaflowException as MetaflowException
19
19
  from ..user_configs.config_parameters import ConfigValue as ConfigValue
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.934329 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.509623 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
+ import typing
11
12
  import metaflow.flowspec
13
+ import metaflow.decorators
12
14
  import metaflow.user_decorator.mutable_flow
13
- import typing
14
15
  import functools
15
- import metaflow.decorators
16
16
  import metaflow.user_decorators.user_step_decorator
17
17
 
18
18
  from ..exception import MetaflowException as MetaflowException
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.908444 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.481351 #
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.user_decorators.mutable_flow
12
13
  import metaflow.flowspec
13
- import metaflow.user_decorators.user_flow_decorator
14
14
  import metaflow.decorators
15
- import metaflow.user_decorators.mutable_flow
15
+ import metaflow.user_decorators.user_flow_decorator
16
16
 
17
17
  from ..exception import MetaflowException as MetaflowException
18
18
  from ..user_configs.config_parameters import resolve_delayed_evaluator as resolve_delayed_evaluator
@@ -1,19 +1,19 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.907576 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.480482 #
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 typing
12
13
  import metaflow.flowspec
14
+ import metaflow.decorators
13
15
  import metaflow.datastore.inputs
14
- import typing
15
16
  import metaflow.user_decorators.mutable_step
16
- import metaflow.decorators
17
17
  import metaflow.user_decorators.user_step_decorator
18
18
 
19
19
  from ..exception import MetaflowException as MetaflowException
@@ -164,7 +164,7 @@ class UserStepDecorator(UserStepDecoratorBase, metaclass=UserStepDecoratorMeta):
164
164
  take an additional "inputs" argument).
165
165
  """
166
166
  ...
167
- def post_step(self, step_name: str, flow: "metaflow.flowspec.FlowSpec", exception: typing.Optional[Exception] = None):
167
+ def post_step(self, step_name: str, flow: "metaflow.flowspec.FlowSpec", exception: typing.Optional[Exception] = None) -> typing.Union[Exception, None, typing.Tuple[typing.Optional[Exception], typing.Optional[typing.Dict[str, typing.Any]]]]:
168
168
  """
169
169
  Implement this method to perform any action after the execution of a step.
170
170
 
@@ -184,6 +184,19 @@ class UserStepDecorator(UserStepDecoratorBase, metaclass=UserStepDecoratorMeta):
184
184
  The flow object to which the step belongs.
185
185
  exception: Optional[Exception]
186
186
  The exception raised during the step execution, if any.
187
+
188
+ Returns
189
+ -------
190
+ Optional[Union[Optional[Exception], Tuple[Optional[Exception], Optional[Dict[str, Any]]]]]
191
+ An exception (if None, the step is considered successful)
192
+ OR
193
+ A tuple containing:
194
+ - An exception to be raised (if None, the step is considered successful).
195
+ - A dictionary with values to pass to `self.next()`. If an empty dictionary
196
+ is returned, the default arguments to `self.next()` for this step will be
197
+ used. Return None if you do not want to call `self.next()` at all
198
+ (this is typically the case as the step will call it itself).
199
+ Note that returning None will gobble the exception.
187
200
  """
188
201
  ...
189
202
  @property
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.0 #
4
- # Generated on 2025-08-06T11:05:03.923710 #
3
+ # MF version: 2.17.2 #
4
+ # Generated on 2025-08-19T21:01:04.496967 #
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.17.0
3
+ Version: 2.17.2
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.17.0
24
+ Requires-Dist: metaflow==2.17.2
25
25
  Dynamic: author
26
26
  Dynamic: author-email
27
27
  Dynamic: classifier