metaflow-stubs 2.12.0__py2.py3-none-any.whl → 2.12.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.
Files changed (142) hide show
  1. metaflow-stubs/__init__.pyi +467 -467
  2. metaflow-stubs/cards.pyi +6 -6
  3. metaflow-stubs/cli.pyi +8 -23
  4. metaflow-stubs/client/__init__.pyi +3 -3
  5. metaflow-stubs/client/core.pyi +7 -7
  6. metaflow-stubs/client/filecache.pyi +3 -3
  7. metaflow-stubs/clone_util.pyi +2 -2
  8. metaflow-stubs/events.pyi +2 -2
  9. metaflow-stubs/exception.pyi +2 -2
  10. metaflow-stubs/flowspec.pyi +4 -4
  11. metaflow-stubs/generated_for.txt +1 -1
  12. metaflow-stubs/includefile.pyi +5 -5
  13. metaflow-stubs/metadata/metadata.pyi +3 -3
  14. metaflow-stubs/metadata/util.pyi +2 -2
  15. metaflow-stubs/metaflow_config.pyi +4 -2
  16. metaflow-stubs/metaflow_current.pyi +18 -18
  17. metaflow-stubs/mflog/mflog.pyi +2 -2
  18. metaflow-stubs/multicore_utils.pyi +2 -2
  19. metaflow-stubs/parameters.pyi +4 -4
  20. metaflow-stubs/plugins/__init__.pyi +3 -3
  21. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  22. metaflow-stubs/plugins/airflow/airflow.pyi +3 -3
  23. metaflow-stubs/plugins/airflow/airflow_cli.pyi +3 -3
  24. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  25. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  27. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  28. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +3 -3
  29. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +4 -4
  30. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +4 -4
  31. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  32. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  33. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  34. metaflow-stubs/plugins/argo/argo_workflows.pyi +4 -4
  35. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +4 -4
  36. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +4 -4
  37. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  38. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  39. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  40. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  41. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  42. metaflow-stubs/plugins/aws/batch/batch_cli.pyi +2 -2
  43. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  44. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +3 -3
  45. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  46. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  47. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  48. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  49. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  52. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  53. metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +4 -4
  54. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  55. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  56. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  57. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  58. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  59. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  60. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  61. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  62. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  63. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  64. metaflow-stubs/plugins/cards/card_cli.pyi +4 -4
  65. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  66. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  67. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  68. metaflow-stubs/plugins/cards/card_decorator.pyi +3 -3
  69. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  70. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  71. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  72. metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +2 -2
  73. metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
  74. metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +2 -2
  77. metaflow-stubs/plugins/cards/card_modules/components.pyi +5 -5
  78. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  79. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  80. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +3 -3
  81. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  82. metaflow-stubs/plugins/cards/component_serializer.pyi +5 -5
  83. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  84. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  85. metaflow-stubs/plugins/datatools/__init__.pyi +4 -4
  86. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  87. metaflow-stubs/plugins/datatools/s3/__init__.pyi +3 -3
  88. metaflow-stubs/plugins/datatools/s3/s3.pyi +4 -4
  89. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  90. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  91. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  92. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  93. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  94. metaflow-stubs/plugins/events_decorator.pyi +3 -3
  95. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  96. metaflow-stubs/plugins/frameworks/pytorch.pyi +3 -3
  97. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  98. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  99. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  100. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  101. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  102. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  103. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  104. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  105. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +4 -4
  106. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  107. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +3 -3
  108. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  109. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  110. metaflow-stubs/plugins/logs_cli.pyi +3 -3
  111. metaflow-stubs/plugins/package_cli.pyi +2 -2
  112. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  113. metaflow-stubs/plugins/project_decorator.pyi +3 -3
  114. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  115. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  116. metaflow-stubs/plugins/pypi/conda_environment.pyi +4 -4
  117. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/pypi/pypi_environment.pyi +3 -3
  119. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  120. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  121. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  122. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  123. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  124. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  125. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  126. metaflow-stubs/plugins/tag_cli.pyi +5 -5
  127. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  128. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  129. metaflow-stubs/procpoll.pyi +2 -2
  130. metaflow-stubs/pylint_wrapper.pyi +2 -2
  131. metaflow-stubs/runner/__init__.pyi +2 -2
  132. metaflow-stubs/runner/metaflow_runner.pyi +5 -5
  133. metaflow-stubs/runner/nbrun.pyi +2 -2
  134. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  135. metaflow-stubs/tagging_util.pyi +2 -2
  136. metaflow-stubs/tuple_util.pyi +2 -2
  137. metaflow-stubs/version.pyi +2 -2
  138. {metaflow_stubs-2.12.0.dist-info → metaflow_stubs-2.12.2.dist-info}/METADATA +2 -2
  139. metaflow_stubs-2.12.2.dist-info/RECORD +142 -0
  140. metaflow_stubs-2.12.0.dist-info/RECORD +0 -142
  141. {metaflow_stubs-2.12.0.dist-info → metaflow_stubs-2.12.2.dist-info}/WHEEL +0 -0
  142. {metaflow_stubs-2.12.0.dist-info → metaflow_stubs-2.12.2.dist-info}/top_level.txt +0 -0
metaflow-stubs/cards.pyi CHANGED
@@ -1,19 +1,19 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.178939 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.080326 #
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
12
11
  import metaflow.plugins.cards.card_modules.card
13
- import metaflow.plugins.cards.card_modules.components
14
- import typing
15
- import metaflow.plugins.cards.card_client
16
12
  import metaflow.plugins.cards.card_modules.basic
13
+ import metaflow.plugins.cards.card_client
14
+ import metaflow
15
+ import typing
16
+ import metaflow.plugins.cards.card_modules.components
17
17
 
18
18
  def get_cards(task: typing.Union[str, "metaflow.Task"], id: typing.Optional[str] = None, type: typing.Optional[str] = None, follow_resumed: bool = True) -> metaflow.plugins.cards.card_client.CardContainer:
19
19
  """
metaflow-stubs/cli.pyi CHANGED
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.188718 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.090332 #
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
11
  import metaflow.exception
12
+ import metaflow.metaflow_current
13
13
 
14
14
  def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
15
15
  """
@@ -31,26 +31,6 @@ def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
31
31
  """
32
32
  ...
33
33
 
34
- def get_metadata() -> str:
35
- """
36
- Returns the current Metadata provider.
37
-
38
- If this is not set explicitly using `metadata`, the default value is
39
- determined through the Metaflow configuration. You can use this call to
40
- check that your configuration is set up properly.
41
-
42
- If multiple configuration profiles are present, this call returns the one
43
- selected through the `METAFLOW_PROFILE` environment variable.
44
-
45
- Returns
46
- -------
47
- str
48
- Information about the Metadata provider currently selected. This information typically
49
- returns provider specific information (like URL for remote providers or local paths for
50
- local providers).
51
- """
52
- ...
53
-
54
34
  class CommandException(metaflow.exception.MetaflowException, metaclass=type):
55
35
  ...
56
36
 
@@ -61,6 +41,8 @@ class MetaflowException(Exception, metaclass=type):
61
41
  ...
62
42
  ...
63
43
 
44
+ DECOSPECS: str
45
+
64
46
  DEFAULT_DATASTORE: str
65
47
 
66
48
  DEFAULT_ENVIRONMENT: str
@@ -132,6 +114,9 @@ def echo_always(line, **kwargs):
132
114
  def logger(body = "", system_msg = False, head = "", bad = False, timestamp = True, nl = True):
133
115
  ...
134
116
 
117
+ def config_merge_cb(ctx, param, value):
118
+ ...
119
+
135
120
  def common_run_options(func):
136
121
  ...
137
122
 
@@ -1,17 +1,17 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.181932 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.083530 #
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.client.core
12
11
  import metaflow.events
13
12
  import datetime
14
13
  import typing
14
+ import metaflow.client.core
15
15
 
16
16
  def namespace(ns: typing.Optional[str]) -> typing.Optional[str]:
17
17
  """
@@ -1,21 +1,21 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.165323 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.066373 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
+ import tarfile
12
+ import metaflow.exception
13
+ import metaflow.metaflow_current
14
+ import metaflow.client.core
11
15
  import metaflow
16
+ import metaflow.events
12
17
  import datetime
13
- import metaflow.client.core
14
18
  import typing
15
- import metaflow.metaflow_current
16
- import metaflow.events
17
- import tarfile
18
- import metaflow.exception
19
19
 
20
20
  current: metaflow.metaflow_current.Current
21
21
 
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.189755 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.091404 #
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.datastore.content_addressed_store
12
11
  import metaflow.exception
12
+ import metaflow.datastore.content_addressed_store
13
13
 
14
14
  class MetaflowException(Exception, metaclass=type):
15
15
  def __init__(self, msg = "", lineno = None):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.187329 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.088941 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
metaflow-stubs/events.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.167869 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.068937 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.156081 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.056862 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,18 +1,18 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.166982 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.068025 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import metaflow.parameters
12
11
  import metaflow.datastore.inputs
12
+ import metaflow.exception
13
+ import metaflow.parameters
13
14
  import metaflow.unbounded_foreach
14
15
  import typing
15
- import metaflow.exception
16
16
 
17
17
  class DelayedEvaluationParameter(object, metaclass=type):
18
18
  def __init__(self, name, field, fun):
@@ -1 +1 @@
1
- 2.12.0 2024-05-28T09:55:27.139119
1
+ 2.12.2 2024-06-04T07:19:10.039668
@@ -1,18 +1,18 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.176873 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.078169 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import metaflow.parameters
12
- import metaflow._vendor.click.types
13
11
  import metaflow.plugins.datatools.s3.s3
14
- import typing
12
+ import metaflow._vendor.click.types
13
+ import metaflow.parameters
15
14
  import io
15
+ import typing
16
16
 
17
17
  class MetaflowException(Exception, metaclass=type):
18
18
  def __init__(self, msg = "", lineno = None):
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.211687 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.128380 #
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.metadata.metadata
12
11
  import metaflow.exception
12
+ import metaflow.metadata.metadata
13
13
 
14
14
  class MetaflowInternalError(metaflow.exception.MetaflowException, metaclass=type):
15
15
  ...
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.263111 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.185876 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.157447 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.058208 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -138,6 +138,8 @@ UI_URL: None
138
138
 
139
139
  CONTACT_INFO: dict
140
140
 
141
+ DECOSPECS: str
142
+
141
143
  ECS_S3_ACCESS_IAM_ROLE: None
142
144
 
143
145
  ECS_FARGATE_EXECUTION_ROLE: None
@@ -1,18 +1,18 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.268101 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.209061 #
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.plugins.cards.component_serializer
12
- import metaflow
13
- import typing
14
11
  import metaflow.metaflow_current
12
+ import metaflow
13
+ import metaflow.plugins.cards.component_serializer
15
14
  import metaflow.events
15
+ import typing
16
16
 
17
17
  TYPE_CHECKING: bool
18
18
 
@@ -242,19 +242,6 @@ class Current(object, metaclass=type):
242
242
  """
243
243
  ...
244
244
  @property
245
- def trigger(self) -> "metaflow.events.Trigger":
246
- """
247
- (only in the presence of the @trigger, or @trigger_on_finish decorators)
248
-
249
- Returns `Trigger` if the current run is triggered by an event
250
-
251
- Returns
252
- -------
253
- Trigger
254
- `Trigger` if triggered by an event
255
- """
256
- ...
257
- @property
258
245
  def project_name(self) -> str:
259
246
  """
260
247
  (only in the presence of the @project decorator)
@@ -321,6 +308,19 @@ class Current(object, metaclass=type):
321
308
  True if the flow is deployed with `--production`.
322
309
  """
323
310
  ...
311
+ @property
312
+ def trigger(self) -> "metaflow.events.Trigger":
313
+ """
314
+ (only in the presence of the @trigger, or @trigger_on_finish decorators)
315
+
316
+ Returns `Trigger` if the current run is triggered by an event
317
+
318
+ Returns
319
+ -------
320
+ Trigger
321
+ `Trigger` if triggered by an event
322
+ """
323
+ ...
324
324
  ...
325
325
 
326
326
  current: Current
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.212074 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.129027 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.157949 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.058714 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.159363 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.060162 #
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.exception
11
12
  import metaflow.parameters
12
- import typing
13
13
  import metaflow._vendor.click.types
14
- import metaflow.exception
14
+ import typing
15
15
 
16
16
  class ParameterFieldFailed(metaflow.exception.MetaflowException, metaclass=type):
17
17
  def __init__(self, name, field):
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.169745 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.070856 #
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.unbounded_foreach
12
11
  import metaflow.plugins.cards.card_modules.card
12
+ import metaflow.unbounded_foreach
13
13
 
14
14
  CLIS_DESC: list
15
15
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.194893 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.093215 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.244542 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.148028 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
11
  import metaflow.exception
12
- import metaflow._vendor.click.types
13
12
  import metaflow.metaflow_current
13
+ import metaflow._vendor.click.types
14
14
 
15
15
  current: metaflow.metaflow_current.Current
16
16
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.245677 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.149518 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
11
  import metaflow.exception
12
- import metaflow.decorators
13
12
  import metaflow.metaflow_current
13
+ import metaflow.decorators
14
14
 
15
15
  current: metaflow.metaflow_current.Current
16
16
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.242239 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.144835 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.241793 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.144254 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.242497 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.145192 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.242766 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.145594 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.264525 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.202152 #
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.decorators
12
11
  import metaflow.exception
12
+ import metaflow.decorators
13
13
 
14
14
  class AirflowException(metaflow.exception.MetaflowException, metaclass=type):
15
15
  def __init__(self, msg):
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.265007 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.202909 #
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.decorators
12
- import metaflow.plugins.airflow.sensors.base_sensor
13
11
  import metaflow.exception
12
+ import metaflow.plugins.airflow.sensors.base_sensor
13
+ import metaflow.decorators
14
14
 
15
15
  class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
16
16
  def __init__(self, *args, **kwargs):
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.265418 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.203472 #
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.decorators
12
- import metaflow.plugins.airflow.sensors.base_sensor
13
11
  import metaflow.exception
12
+ import metaflow.plugins.airflow.sensors.base_sensor
13
+ import metaflow.decorators
14
14
 
15
15
  class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
16
16
  def __init__(self, *args, **kwargs):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.0 #
4
- # Generated on 2024-05-28T09:55:27.194065 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.096682 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.225381 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.157749 #
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.12.0 #
4
- # Generated on 2024-05-28T09:55:27.223794 #
3
+ # MF version: 2.12.2 #
4
+ # Generated on 2024-06-04T07:19:10.155439 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations