metaflow-stubs 2.17.5__py2.py3-none-any.whl → 2.18.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 (166) hide show
  1. metaflow-stubs/__init__.pyi +567 -567
  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 +6 -6
  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 +6 -6
  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 +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 +5 -5
  24. metaflow-stubs/packaging_sys/backend.pyi +4 -4
  25. metaflow-stubs/packaging_sys/distribution_support.pyi +4 -4
  26. metaflow-stubs/packaging_sys/tar_backend.pyi +6 -6
  27. metaflow-stubs/packaging_sys/utils.pyi +2 -2
  28. metaflow-stubs/packaging_sys/v1.pyi +4 -4
  29. metaflow-stubs/parameters.pyi +4 -4
  30. metaflow-stubs/plugins/__init__.pyi +13 -13
  31. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  32. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  33. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  34. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  35. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  36. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  37. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  38. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  39. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  40. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  41. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  42. metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -3
  43. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +2 -2
  44. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +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 +4 -4
  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 +2 -2
  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 -5
  64. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -4
  65. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  67. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  68. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +2 -2
  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 +2 -2
  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 +2 -2
  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 +2 -2
  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 +5 -5
  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 +3 -3
  128. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  129. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  130. metaflow-stubs/plugins/secrets/secrets_func.pyi +2 -2
  131. metaflow-stubs/plugins/secrets/secrets_spec.pyi +2 -2
  132. metaflow-stubs/plugins/secrets/utils.pyi +2 -2
  133. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  134. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +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 +2 -2
  138. metaflow-stubs/pylint_wrapper.pyi +2 -2
  139. metaflow-stubs/runner/__init__.pyi +2 -2
  140. metaflow-stubs/runner/deployer.pyi +34 -34
  141. metaflow-stubs/runner/deployer_impl.pyi +3 -3
  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 +3 -3
  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 +4 -4
  154. metaflow-stubs/user_configs/config_parameters.pyi +8 -6
  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 +6 -6
  158. metaflow-stubs/user_decorators/mutable_step.pyi +5 -5
  159. metaflow-stubs/user_decorators/user_flow_decorator.pyi +3 -3
  160. metaflow-stubs/user_decorators/user_step_decorator.pyi +6 -6
  161. metaflow-stubs/version.pyi +2 -2
  162. {metaflow_stubs-2.17.5.dist-info → metaflow_stubs-2.18.0.dist-info}/METADATA +2 -2
  163. metaflow_stubs-2.18.0.dist-info/RECORD +166 -0
  164. metaflow_stubs-2.17.5.dist-info/RECORD +0 -166
  165. {metaflow_stubs-2.17.5.dist-info → metaflow_stubs-2.18.0.dist-info}/WHEEL +0 -0
  166. {metaflow_stubs-2.17.5.dist-info → metaflow_stubs-2.18.0.dist-info}/top_level.txt +0 -0
metaflow-stubs/cards.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.404055 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.516306 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
metaflow-stubs/cli.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.413695 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.525809 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.412623 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.524717 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.445230 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.554406 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.404335 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.516593 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.409666 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.521802 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
+ import datetime
12
13
  import tarfile
13
- import metaflow.client.core
14
14
  import typing
15
- import metaflow.events
16
- import datetime
17
15
  import tempfile
16
+ import metaflow.client.core
17
+ import metaflow.events
18
18
 
19
19
  from ..metaflow_current import current as current
20
20
  from ..events import Trigger as Trigger
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.443919 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.553090 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
metaflow-stubs/events.pyi CHANGED
@@ -1,15 +1,15 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.397815 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.509715 #
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.events
12
11
  import metaflow
12
+ import metaflow.events
13
13
 
14
14
 
15
15
  TYPE_CHECKING: bool
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.385953 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.498132 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.391771 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.503906 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.flowspec
13
- import metaflow.unbounded_foreach
14
- import metaflow.exception
15
12
  import typing
13
+ import metaflow.unbounded_foreach
14
+ import metaflow.flowspec
16
15
  import metaflow.datastore.inputs
16
+ import metaflow.exception
17
17
 
18
18
  from . import parameters as parameters
19
19
  from .parameters import DelayedEvaluationParameter as DelayedEvaluationParameter
@@ -1 +1 @@
1
- 2.17.5 2025-08-25T21:01:36.380481
1
+ 2.18.0 2025-08-27T01:57:08.492662
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.403427 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.515692 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
- import typing
13
12
  import metaflow._vendor.click.types
14
13
  import metaflow.parameters
14
+ import typing
15
15
 
16
16
  from ._vendor import click as click
17
17
  from .exception import MetaflowException as MetaflowException
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.381324 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.493446 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.390575 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.502695 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.425209 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.534870 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.424658 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.534298 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
12
  import metaflow.metadata_provider.metadata
13
13
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.424893 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.534554 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.387588 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.499716 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.501092 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.615450 #
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.metaflow_current
12
- import metaflow.plugins.cards.component_serializer
13
11
  import typing
14
12
  import metaflow.events
13
+ import metaflow.plugins.cards.component_serializer
14
+ import metaflow.metaflow_current
15
15
  import metaflow
16
16
 
17
17
 
@@ -272,19 +272,6 @@ class Current(object, metaclass=type):
272
272
  """
273
273
  ...
274
274
  @property
275
- def trigger(self) -> "metaflow.events.Trigger":
276
- """
277
- (only in the presence of the @trigger_on_finish, or @trigger decorators)
278
-
279
- Returns `Trigger` if the current run is triggered by an event
280
-
281
- Returns
282
- -------
283
- Trigger
284
- `Trigger` if triggered by an event
285
- """
286
- ...
287
- @property
288
275
  def project_name(self) -> str:
289
276
  """
290
277
  (only in the presence of the @project decorator)
@@ -351,6 +338,19 @@ class Current(object, metaclass=type):
351
338
  True if the flow is deployed with `--production`.
352
339
  """
353
340
  ...
341
+ @property
342
+ def trigger(self) -> "metaflow.events.Trigger":
343
+ """
344
+ (only in the presence of the @trigger, or @trigger_on_finish decorators)
345
+
346
+ Returns `Trigger` if the current run is triggered by an event
347
+
348
+ Returns
349
+ -------
350
+ Trigger
351
+ `Trigger` if triggered by an event
352
+ """
353
+ ...
354
354
  ...
355
355
 
356
356
  current: Current
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.397119 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.509928 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.388031 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.500162 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,21 +1,21 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.384955 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.497172 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  import enum
12
12
  if typing.TYPE_CHECKING:
13
13
  import metaflow.extension_support.metadata
14
- import metaflow.packaging_sys.backend
15
14
  import typing
15
+ import enum
16
16
  import metaflow.packaging_sys
17
17
  import metaflow.packaging_sys.tar_backend
18
- import enum
18
+ import metaflow.packaging_sys.backend
19
19
 
20
20
  from . import distribution_support as distribution_support
21
21
  from .distribution_support import PackagedDistributionFinder as PackagedDistributionFinder
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.418082 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.527699 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import abc
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
- import typing
13
12
  import _io
14
13
  import abc
14
+ import typing
15
15
 
16
16
 
17
17
  class PackagingBackend(abc.ABC, metaclass=abc.ABCMeta):
@@ -1,14 +1,14 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.414273 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.526391 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
- import abc
11
9
  import importlib
10
+ import abc
11
+ import typing
12
12
  if typing.TYPE_CHECKING:
13
13
  import importlib.metadata
14
14
  import abc
@@ -1,20 +1,20 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.418838 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.528447 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import abc
11
10
  import metaflow
11
+ import typing
12
12
  if typing.TYPE_CHECKING:
13
- import _io
13
+ import abc
14
14
  import tarfile
15
- import metaflow.packaging_sys.backend
16
15
  import typing
17
- import abc
16
+ import _io
17
+ import metaflow.packaging_sys.backend
18
18
 
19
19
  from .backend import PackagingBackend as PackagingBackend
20
20
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.419230 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.528821 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,16 +1,16 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.420060 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.529684 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
- import typing
13
12
  import metaflow.packaging_sys
13
+ import typing
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16
  from ..user_decorators.user_flow_decorator import FlowMutatorMeta as FlowMutatorMeta
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.389508 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.501638 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
- import typing
13
12
  import metaflow._vendor.click.types
14
13
  import metaflow.parameters
14
+ import typing
15
15
 
16
16
  from ._vendor import click as click
17
17
  from .exception import ParameterFieldFailed as ParameterFieldFailed
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.398952 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.511231 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,23 +9,23 @@ from __future__ import annotations
9
9
 
10
10
  from . import test_unbounded_foreach_decorator as test_unbounded_foreach_decorator
11
11
  from .test_unbounded_foreach_decorator import InternalTestUnboundedForeachInput as InternalTestUnboundedForeachInput
12
- from . import aws as aws
13
- from . import timeout_decorator as timeout_decorator
14
- from . import datatools as datatools
15
12
  from . import parallel_decorator as parallel_decorator
16
- from . import airflow as airflow
17
- from . import resources_decorator as resources_decorator
18
- from . import frameworks as frameworks
13
+ from . import argo as argo
19
14
  from . import cards as cards
20
- from . import catch_decorator as catch_decorator
21
15
  from . import pypi as pypi
22
- from . import retry_decorator as retry_decorator
23
- from . import argo as argo
24
- from . import kubernetes as kubernetes
16
+ from . import timeout_decorator as timeout_decorator
17
+ from . import aws as aws
25
18
  from . import environment_decorator as environment_decorator
19
+ from . import resources_decorator as resources_decorator
20
+ from . import airflow as airflow
21
+ from . import kubernetes as kubernetes
22
+ from . import retry_decorator as retry_decorator
23
+ from . import frameworks as frameworks
24
+ from . import datatools as datatools
26
25
  from . import secrets as secrets
27
- from . import events_decorator as events_decorator
26
+ from . import catch_decorator as catch_decorator
28
27
  from . import project_decorator as project_decorator
28
+ from . import events_decorator as events_decorator
29
29
  from . import exit_hook as exit_hook
30
30
  from . import uv as uv
31
31
  from . import gcp as gcp
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.17.5 #
4
- # Generated on 2025-08-25T21:01:36.430302 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.540788 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.449212 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.568316 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.448859 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.567973 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.449409 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.568528 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.449655 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.568774 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.473971 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.591270 #
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.5 #
4
- # Generated on 2025-08-25T21:01:36.474262 #
3
+ # MF version: 2.18.0 #
4
+ # Generated on 2025-08-27T01:57:08.591572 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations