metaflow-stubs 2.18.12__py2.py3-none-any.whl → 2.19.0__py2.py3-none-any.whl

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

Potentially problematic release.


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

Files changed (168) hide show
  1. metaflow-stubs/__init__.pyi +503 -502
  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 +3 -2
  7. metaflow-stubs/client/core.pyi +62 -31
  8. metaflow-stubs/client/filecache.pyi +20 -4
  9. metaflow-stubs/events.pyi +7 -8
  10. metaflow-stubs/exception.pyi +2 -2
  11. metaflow-stubs/flowspec.pyi +7 -8
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +4 -4
  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 +2 -2
  18. metaflow-stubs/metadata_provider/util.pyi +2 -2
  19. metaflow-stubs/metaflow_config.pyi +16 -2
  20. metaflow-stubs/metaflow_current.pyi +32 -34
  21. metaflow-stubs/metaflow_git.pyi +3 -5
  22. metaflow-stubs/multicore_utils.pyi +4 -4
  23. metaflow-stubs/packaging_sys/__init__.pyi +39 -40
  24. metaflow-stubs/packaging_sys/backend.pyi +13 -13
  25. metaflow-stubs/packaging_sys/distribution_support.pyi +6 -7
  26. metaflow-stubs/packaging_sys/tar_backend.pyi +11 -11
  27. metaflow-stubs/packaging_sys/utils.pyi +3 -6
  28. metaflow-stubs/packaging_sys/v1.pyi +4 -4
  29. metaflow-stubs/parameters.pyi +6 -9
  30. metaflow-stubs/plugins/__init__.pyi +11 -11
  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 +4 -4
  44. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +5 -3
  45. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +11 -9
  46. metaflow-stubs/plugins/argo/exit_hooks.pyi +4 -7
  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 +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 +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 +5 -3
  64. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +9 -7
  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 +5 -6
  74. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_datastore.pyi +4 -2
  76. metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  77. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  78. metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  79. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  80. metaflow-stubs/plugins/cards/card_modules/components.pyi +14 -14
  81. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  82. metaflow-stubs/plugins/cards/card_modules/json_viewer.pyi +4 -4
  83. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  84. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  85. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  86. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  87. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  88. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  89. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  90. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  91. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  92. metaflow-stubs/plugins/datatools/s3/s3.pyi +27 -35
  93. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  94. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  95. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  96. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  97. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  98. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  99. metaflow-stubs/plugins/exit_hook/__init__.pyi +2 -2
  100. metaflow-stubs/plugins/exit_hook/exit_hook_decorator.pyi +2 -2
  101. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  102. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  103. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  104. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  105. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  106. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  107. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  108. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  109. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  110. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +3 -3
  111. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  112. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  113. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  114. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  115. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  116. metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  117. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/parsers.pyi +2 -2
  119. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  120. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  121. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  122. metaflow-stubs/plugins/pypi/conda_environment.pyi +3 -3
  123. metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
  124. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  125. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  126. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  127. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  128. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  129. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  130. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  131. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  132. metaflow-stubs/plugins/secrets/secrets_func.pyi +3 -5
  133. metaflow-stubs/plugins/secrets/secrets_spec.pyi +2 -2
  134. metaflow-stubs/plugins/secrets/utils.pyi +2 -2
  135. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  136. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  137. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  138. metaflow-stubs/plugins/uv/__init__.pyi +2 -2
  139. metaflow-stubs/plugins/uv/uv_environment.pyi +3 -3
  140. metaflow-stubs/pylint_wrapper.pyi +2 -2
  141. metaflow-stubs/runner/__init__.pyi +2 -2
  142. metaflow-stubs/runner/deployer.pyi +20 -19
  143. metaflow-stubs/runner/deployer_impl.pyi +6 -4
  144. metaflow-stubs/runner/metaflow_runner.pyi +134 -21
  145. metaflow-stubs/runner/nbdeploy.pyi +3 -3
  146. metaflow-stubs/runner/nbrun.pyi +3 -3
  147. metaflow-stubs/runner/subprocess_manager.pyi +8 -8
  148. metaflow-stubs/runner/utils.pyi +4 -5
  149. metaflow-stubs/system/__init__.pyi +2 -2
  150. metaflow-stubs/system/system_logger.pyi +4 -5
  151. metaflow-stubs/system/system_monitor.pyi +3 -3
  152. metaflow-stubs/tagging_util.pyi +2 -2
  153. metaflow-stubs/tuple_util.pyi +2 -2
  154. metaflow-stubs/user_configs/__init__.pyi +2 -2
  155. metaflow-stubs/user_configs/config_options.pyi +5 -6
  156. metaflow-stubs/user_configs/config_parameters.pyi +9 -9
  157. metaflow-stubs/user_decorators/__init__.pyi +2 -2
  158. metaflow-stubs/user_decorators/common.pyi +6 -6
  159. metaflow-stubs/user_decorators/mutable_flow.pyi +6 -7
  160. metaflow-stubs/user_decorators/mutable_step.pyi +6 -9
  161. metaflow-stubs/user_decorators/user_flow_decorator.pyi +6 -7
  162. metaflow-stubs/user_decorators/user_step_decorator.pyi +22 -15
  163. metaflow-stubs/version.pyi +2 -2
  164. {metaflow_stubs-2.18.12.dist-info → metaflow_stubs-2.19.0.dist-info}/METADATA +2 -2
  165. metaflow_stubs-2.19.0.dist-info/RECORD +168 -0
  166. metaflow_stubs-2.18.12.dist-info/RECORD +0 -168
  167. {metaflow_stubs-2.18.12.dist-info → metaflow_stubs-2.19.0.dist-info}/WHEEL +0 -0
  168. {metaflow_stubs-2.18.12.dist-info → metaflow_stubs-2.19.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.18.12 #
4
- # Generated on 2025-10-15T20:44:18.110823 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.756335 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.132574 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.773559 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.134120 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.775043 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -11,10 +11,10 @@ import abc
11
11
  import metaflow
12
12
  import typing
13
13
  if typing.TYPE_CHECKING:
14
- import metaflow.metaflow_environment
15
14
  import io
16
15
  import metaflow.exception
17
16
  import abc
17
+ import metaflow.metaflow_environment
18
18
 
19
19
  from ...exception import MetaflowException as MetaflowException
20
20
  from ...metaflow_config import get_pinned_conda_libs as get_pinned_conda_libs
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.18.12 #
4
- # Generated on 2025-10-15T20:44:18.083355 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.730699 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.132983 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.773945 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.134264 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.775203 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.133250 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.774223 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.111278 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.756557 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.108361 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.758230 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.112338 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.759351 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.145082 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.791936 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -10,8 +10,8 @@ import abc
10
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.144865 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.791741 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,14 +1,12 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.18.12 #
4
- # Generated on 2025-10-15T20:44:18.144572 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.791459 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
- if typing.TYPE_CHECKING:
11
- import typing
12
10
 
13
11
  from ...exception import MetaflowException as MetaflowException
14
12
  from .secrets_spec import SecretSpec as SecretSpec
@@ -16,7 +14,7 @@ from .utils import get_secrets_backend_provider as get_secrets_backend_provider
16
14
 
17
15
  DEFAULT_SECRETS_ROLE: None
18
16
 
19
- def get_secret(source: typing.Union[str, typing.Dict[str, typing.Any]], role: typing.Optional[str] = None) -> typing.Dict[str, str]:
17
+ def get_secret(source: str | typing.Dict[str, typing.Any], role: str | None = None) -> typing.Dict[str, str]:
20
18
  """
21
19
  Get secret from source
22
20
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.18.12 #
4
- # Generated on 2025-10-15T20:44:18.144311 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.791164 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.143914 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.790807 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.114325 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.761369 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.108110 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.755049 #
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.decorators
13
12
  import metaflow.unbounded_foreach
13
+ import metaflow.decorators
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16
  from ..metadata_provider.metadata import MetaDatum as MetaDatum
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.18.12 #
4
- # Generated on 2025-10-15T20:44:18.109916 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.757228 #
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.decorators
13
12
  import metaflow.exception
13
+ import metaflow.decorators
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.18.12 #
4
- # Generated on 2025-10-15T20:44:18.113721 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.760750 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.145647 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.792508 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.092328 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.741132 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.077322 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.724673 #
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.18.12 #
4
- # Generated on 2025-10-15T20:44:18.185069 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.831627 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,11 +9,10 @@ from __future__ import annotations
9
9
  import typing
10
10
  import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.plugins.argo.argo_workflows_deployer_objects
13
- import metaflow
14
12
  import metaflow.plugins.argo.argo_workflows_deployer
15
13
  import metaflow.runner.deployer
16
14
  import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
15
+ import metaflow.plugins.argo.argo_workflows_deployer_objects
17
16
  import metaflow.plugins.aws.step_functions.step_functions_deployer
18
17
 
19
18
  from ..exception import MetaflowNotFound as MetaflowNotFound
@@ -22,7 +21,7 @@ TYPE_CHECKING: bool
22
21
 
23
22
  DEFAULT_FROM_DEPLOYMENT_IMPL: str
24
23
 
25
- def generate_fake_flow_file_contents(flow_name: str, param_info: dict, project_name: typing.Optional[str] = None):
24
+ def generate_fake_flow_file_contents(flow_name: str, param_info: dict, project_name: str | None = None):
26
25
  ...
27
26
 
28
27
  class DeployerMeta(type, metaclass=type):
@@ -56,9 +55,9 @@ class Deployer(object, metaclass=DeployerMeta):
56
55
  Additional arguments that you would pass to `python myflow.py` before
57
56
  the deployment command.
58
57
  """
59
- 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):
58
+ def __init__(self, flow_file: str, show_output: bool = True, profile: str | None = None, env: typing.Dict | None = None, cwd: str | None = None, file_read_timeout: int = 3600, **kwargs):
60
59
  ...
61
- def argo_workflows(self, *, name: typing.Optional[str] = None) -> "metaflow.plugins.argo.argo_workflows_deployer.ArgoWorkflowsDeployer":
60
+ def argo_workflows(self, *, name: str | None = None) -> "metaflow.plugins.argo.argo_workflows_deployer.ArgoWorkflowsDeployer":
62
61
  """
63
62
  Deployer implementation for Argo Workflows.
64
63
 
@@ -68,7 +67,7 @@ class Deployer(object, metaclass=DeployerMeta):
68
67
  Argo workflow name. The flow name is used instead if this option is not specified.
69
68
  """
70
69
  ...
71
- def step_functions(self, *, name: typing.Optional[str] = None) -> "metaflow.plugins.aws.step_functions.step_functions_deployer.StepFunctionsDeployer":
70
+ def step_functions(self, *, name: str | None = None) -> "metaflow.plugins.aws.step_functions.step_functions_deployer.StepFunctionsDeployer":
72
71
  """
73
72
  Deployer implementation for AWS Step Functions.
74
73
 
@@ -85,7 +84,7 @@ class TriggeredRun(object, metaclass=type):
85
84
  TriggeredRun class represents a run that has been triggered on a
86
85
  production orchestrator.
87
86
  """
88
- def wait_for_run(self, check_interval: int = 5, timeout: typing.Optional[int] = None):
87
+ def wait_for_run(self, check_interval: int = 5, timeout: int | None = None):
89
88
  """
90
89
  Wait for the `run` property to become available.
91
90
 
@@ -107,7 +106,7 @@ class TriggeredRun(object, metaclass=type):
107
106
  """
108
107
  ...
109
108
  @property
110
- def run(self) -> typing.Optional["metaflow.Run"]:
109
+ def run(self) -> ForwardRef('metaflow.Run') | None:
111
110
  """
112
111
  Retrieve the `Run` object for the triggered run.
113
112
 
@@ -135,8 +134,10 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
135
134
  This class is not meant to be instantiated directly. Instead, it is returned from
136
135
  methods of `Deployer`.
137
136
  """
137
+ def __annotate_func__(format):
138
+ ...
138
139
  @classmethod
139
- def from_deployment(cls, *, identifier: str, metadata: typing.Optional[str] = None, impl: typing.Optional[str] = 'given by METAFLOW_DEFAULT_FROM_DEPLOYMENT_IMPL') -> typing.Union["metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow", "metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow"]:
140
+ def from_deployment(cls, *, identifier: str, metadata: str | None = None, impl: str | None = 'given by METAFLOW_DEFAULT_FROM_DEPLOYMENT_IMPL') -> ForwardRef('metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow') | ForwardRef('metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow'):
140
141
  """
141
142
  Retrieves a `DeployedFlow` object from an identifier and optional
142
143
  metadata. The `impl` parameter specifies the deployer implementation
@@ -157,12 +158,12 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
157
158
 
158
159
  Returns
159
160
  -------
160
- typing.Union[ForwardRef('metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow'), ForwardRef('metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow')]
161
+ ForwardRef('metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow') | ForwardRef('metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow')
161
162
  A `DeployedFlow` object
162
163
  """
163
164
  ...
164
165
  @classmethod
165
- def list_deployed_flows(cls, flow_name: typing.Optional[str] = None, impl: str = 'argo_workflows'):
166
+ def list_deployed_flows(cls, flow_name: str | None = None, impl: str = 'argo_workflows'):
166
167
  """
167
168
  List all deployed flows for the specified implementation.
168
169
 
@@ -181,7 +182,7 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
181
182
  """
182
183
  ...
183
184
  @classmethod
184
- def get_triggered_run(cls, identifier: str, run_id: str, metadata: typing.Optional[str] = None, impl: str = 'argo_workflows') -> TriggeredRun:
185
+ def get_triggered_run(cls, identifier: str, run_id: str, metadata: str | None = None, impl: str = 'argo_workflows') -> TriggeredRun:
185
186
  """
186
187
  Retrieves a `TriggeredRun` object from an identifier, a run id and optional
187
188
  metadata. The `impl` parameter specifies the deployer implementation
@@ -206,7 +207,7 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
206
207
  """
207
208
  ...
208
209
  @classmethod
209
- def from_argo_workflows(cls, *, identifier: str, metadata: typing.Optional[str] = None) -> "metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow":
210
+ def from_argo_workflows(cls, *, identifier: str, metadata: str | None = None) -> "metaflow.plugins.argo.argo_workflows_deployer_objects.ArgoWorkflowsDeployedFlow":
210
211
  """
211
212
  Retrieves a `ArgoWorkflowsDeployedFlow` object from an identifier and optional
212
213
  metadata.
@@ -230,10 +231,10 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
230
231
  """
231
232
  ...
232
233
  @classmethod
233
- def list_argo_workflows(cls, flow_name: typing.Optional[str] = None):
234
+ def list_argo_workflows(cls, flow_name: str | None = None):
234
235
  ...
235
236
  @classmethod
236
- def get_triggered_argo_workflows_run(cls, identifier: str, run_id: str, metadata: typing.Optional[str] = None):
237
+ def get_triggered_argo_workflows_run(cls, identifier: str, run_id: str, metadata: str | None = None):
237
238
  ...
238
239
  @classmethod
239
240
  def from_step_functions(cls) -> "metaflow.plugins.aws.step_functions.step_functions_deployer_objects.StepFunctionsDeployedFlow":
@@ -254,10 +255,10 @@ class DeployedFlow(object, metaclass=DeployedFlowMeta):
254
255
  """
255
256
  ...
256
257
  @classmethod
257
- def list_step_functions(cls, flow_name: typing.Optional[str] = None):
258
+ def list_step_functions(cls, flow_name: str | None = None):
258
259
  ...
259
260
  @classmethod
260
- def get_triggered_step_functions_run(cls, identifier: str, run_id: str, metadata: typing.Optional[str] = None):
261
+ def get_triggered_step_functions_run(cls, identifier: str, run_id: str, metadata: str | None = None):
261
262
  ...
262
263
  ...
263
264
 
@@ -1,15 +1,15 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.18.12 #
4
- # Generated on 2025-10-15T20:44:18.107467 #
3
+ # MF version: 2.19.0 #
4
+ # Generated on 2025-10-26T02:29:29.754453 #
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.deployer
12
11
  import typing
12
+ import metaflow.runner.deployer
13
13
 
14
14
  from .subprocess_manager import SubprocessManager as SubprocessManager
15
15
  from .utils import get_lower_level_group as get_lower_level_group
@@ -46,7 +46,7 @@ class DeployerImpl(object, metaclass=type):
46
46
  Additional arguments that you would pass to `python myflow.py` before
47
47
  the deployment command.
48
48
  """
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):
49
+ def __init__(self, flow_file: str, show_output: bool = True, profile: str | None = None, env: typing.Dict | None = None, cwd: str | None = None, file_read_timeout: int = 3600, **kwargs):
50
50
  ...
51
51
  @property
52
52
  def to_reload(self) -> typing.List[str]:
@@ -95,5 +95,7 @@ class DeployerImpl(object, metaclass=type):
95
95
  Cleanup resources.
96
96
  """
97
97
  ...
98
+ def __annotate_func__(format):
99
+ ...
98
100
  ...
99
101