metaflow-stubs 2.12.12__py2.py3-none-any.whl → 2.12.14__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 (150) hide show
  1. metaflow-stubs/__init__.pyi +564 -561
  2. metaflow-stubs/cards.pyi +5 -5
  3. metaflow-stubs/cli.pyi +2 -2
  4. metaflow-stubs/client/__init__.pyi +4 -4
  5. metaflow-stubs/client/core.pyi +6 -6
  6. metaflow-stubs/client/filecache.pyi +2 -2
  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 +5 -5
  11. metaflow-stubs/generated_for.txt +1 -1
  12. metaflow-stubs/includefile.pyi +4 -4
  13. metaflow-stubs/metadata/metadata.pyi +2 -2
  14. metaflow-stubs/metadata/util.pyi +2 -2
  15. metaflow-stubs/metaflow_config.pyi +6 -4
  16. metaflow-stubs/metaflow_current.pyi +23 -23
  17. metaflow-stubs/mflog/mflog.pyi +2 -2
  18. metaflow-stubs/multicore_utils.pyi +2 -2
  19. metaflow-stubs/parameters.pyi +3 -3
  20. metaflow-stubs/plugins/__init__.pyi +3 -3
  21. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  22. metaflow-stubs/plugins/airflow/airflow.pyi +2 -2
  23. metaflow-stubs/plugins/airflow/airflow_cli.pyi +2 -2
  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 +2 -2
  29. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +3 -3
  30. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +3 -3
  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 +7 -7
  36. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +7 -7
  37. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +20 -5
  38. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  39. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  40. metaflow-stubs/plugins/aws/aws_utils.pyi +5 -2
  41. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  42. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  43. metaflow-stubs/plugins/aws/batch/batch_cli.pyi +2 -2
  44. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  45. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  46. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  47. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  48. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  49. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  52. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  53. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  54. metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +4 -4
  55. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  56. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  57. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +20 -5
  58. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  59. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  60. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  61. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  62. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  63. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  64. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  65. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_cli.pyi +4 -4
  67. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  68. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  69. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  70. metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  71. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  72. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  73. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  74. metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
  77. metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
  78. metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +2 -2
  79. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  80. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  81. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  82. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  83. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  84. metaflow-stubs/plugins/cards/component_serializer.pyi +4 -4
  85. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  86. metaflow-stubs/plugins/catch_decorator.pyi +2 -2
  87. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  88. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  89. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  90. metaflow-stubs/plugins/datatools/s3/s3.pyi +5 -5
  91. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  92. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  93. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  94. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  95. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  96. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  97. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  98. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  99. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  100. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  101. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  102. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  103. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  104. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  105. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  106. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +6 -2
  107. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +2 -2
  108. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  109. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  110. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  111. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  112. metaflow-stubs/plugins/logs_cli.pyi +3 -3
  113. metaflow-stubs/plugins/package_cli.pyi +2 -2
  114. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  115. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  116. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  117. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/pypi/conda_environment.pyi +3 -3
  119. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +6 -2
  120. metaflow-stubs/plugins/pypi/pypi_environment.pyi +3 -3
  121. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  122. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  123. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  124. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  125. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  126. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  127. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  128. metaflow-stubs/plugins/tag_cli.pyi +5 -5
  129. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  130. metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  131. metaflow-stubs/procpoll.pyi +2 -2
  132. metaflow-stubs/pylint_wrapper.pyi +2 -2
  133. metaflow-stubs/runner/__init__.pyi +2 -2
  134. metaflow-stubs/runner/deployer.pyi +22 -7
  135. metaflow-stubs/runner/metaflow_runner.pyi +5 -5
  136. metaflow-stubs/runner/nbdeploy.pyi +4 -4
  137. metaflow-stubs/runner/nbrun.pyi +4 -4
  138. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  139. metaflow-stubs/runner/utils.pyi +2 -2
  140. metaflow-stubs/system/__init__.pyi +2 -2
  141. metaflow-stubs/system/system_logger.pyi +2 -2
  142. metaflow-stubs/system/system_monitor.pyi +2 -2
  143. metaflow-stubs/tagging_util.pyi +2 -2
  144. metaflow-stubs/tuple_util.pyi +2 -2
  145. metaflow-stubs/version.pyi +2 -2
  146. {metaflow_stubs-2.12.12.dist-info → metaflow_stubs-2.12.14.dist-info}/METADATA +2 -2
  147. metaflow_stubs-2.12.14.dist-info/RECORD +150 -0
  148. {metaflow_stubs-2.12.12.dist-info → metaflow_stubs-2.12.14.dist-info}/WHEEL +1 -1
  149. metaflow_stubs-2.12.12.dist-info/RECORD +0 -150
  150. {metaflow_stubs-2.12.12.dist-info → metaflow_stubs-2.12.14.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.065262 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.888565 #
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.graph
12
- import metaflow.runner.subprocess_manager
13
12
  import metaflow.runner.deployer
13
+ import metaflow.runner.subprocess_manager
14
14
 
15
15
  class ArgoWorkflows(object, metaclass=type):
16
16
  def __init__(self, name, graph: metaflow.graph.FlowGraph, flow, code_package_sha, code_package_url, production_token, metadata, flow_datastore, environment, event_logger, monitor, tags = None, namespace = None, username = None, max_workers = None, workflow_timeout = None, workflow_priority = None, auto_emit_argo_events = False, notify_on_error = False, notify_on_success = False, notify_slack_webhook_url = None, notify_pager_duty_integration_key = None, enable_heartbeat_daemon = True, enable_error_msg_capture = False):
@@ -55,7 +55,7 @@ class ArgoWorkflows(object, metaclass=type):
55
55
  ...
56
56
 
57
57
  class DeployerImpl(object, metaclass=type):
58
- 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, **kwargs):
58
+ 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):
59
59
  ...
60
60
  def __enter__(self) -> metaflow.runner.deployer.DeployerImpl:
61
61
  ...
@@ -100,6 +100,21 @@ class DeployedFlow(object, metaclass=type):
100
100
  class TriggeredRun(object, metaclass=type):
101
101
  def __init__(self, deployer: metaflow.runner.deployer.DeployerImpl, content: str):
102
102
  ...
103
+ def wait_for_run(self, timeout = None):
104
+ """
105
+ Wait for the `run` property to become available.
106
+
107
+ Parameters
108
+ ----------
109
+ timeout : int, optional
110
+ Maximum time to wait for the `run` to become available, in seconds. If None, wait indefinitely.
111
+
112
+ Raises
113
+ ------
114
+ TimeoutError
115
+ If the `run` is not available within the specified timeout.
116
+ """
117
+ ...
103
118
  @property
104
119
  def run(self):
105
120
  """
@@ -143,7 +158,7 @@ def get_lower_level_group(api, top_level_kwargs: typing.Dict, _type: typing.Opti
143
158
  """
144
159
  ...
145
160
 
146
- def handle_timeout(tfp_runner_attribute, command_obj: metaflow.runner.subprocess_manager.CommandManager):
161
+ def handle_timeout(tfp_runner_attribute, command_obj: metaflow.runner.subprocess_manager.CommandManager, file_read_timeout: int):
147
162
  """
148
163
  Handle the timeout for a running subprocess command that reads a file
149
164
  and raises an error with appropriate logs if a TimeoutError occurs.
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.006181 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.844000 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.027353 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.875621 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.026944 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.875233 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -14,6 +14,9 @@ class MetaflowException(Exception, metaclass=type):
14
14
  ...
15
15
  ...
16
16
 
17
+ def parse_s3_full_path(s3_uri):
18
+ ...
19
+
17
20
  def get_ec2_instance_metadata():
18
21
  """
19
22
  Fetches the EC2 instance metadata through AWS instance metadata service
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.026554 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.874825 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.074810 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.912621 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.076441 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.914228 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.073601 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.911401 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.075734 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.913499 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.027473 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.875748 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.084265 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.921942 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import abc
12
11
  import metaflow.plugins.secrets
12
+ import abc
13
13
  import metaflow.exception
14
14
 
15
15
  class MetaflowException(Exception, metaclass=type):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.027071 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.875361 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.076700 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.914482 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.077671 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.915451 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.082169 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.919904 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.077347 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.915122 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.080428 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.918084 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.083779 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.921427 #
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.metaflow_current
13
- import metaflow.parameters
12
+ import metaflow.decorators
14
13
  import metaflow.exception
14
+ import metaflow.parameters
15
15
 
16
16
  JSONType: metaflow.parameters.JSONTypeClass
17
17
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.078027 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.915812 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.077155 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.914931 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.081852 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.919623 #
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.subprocess_manager
12
11
  import metaflow.runner.deployer
12
+ import metaflow.runner.subprocess_manager
13
13
 
14
14
  class StepFunctions(object, metaclass=type):
15
15
  def __init__(self, name, graph, flow, code_package_sha, code_package_url, production_token, metadata, flow_datastore, environment, event_logger, monitor, tags = None, namespace = None, username = None, max_workers = None, workflow_timeout = None, is_project = False, use_distributed_map = False):
@@ -43,7 +43,7 @@ class StepFunctions(object, metaclass=type):
43
43
  ...
44
44
 
45
45
  class DeployerImpl(object, metaclass=type):
46
- 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, **kwargs):
46
+ 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):
47
47
  ...
48
48
  def __enter__(self) -> metaflow.runner.deployer.DeployerImpl:
49
49
  ...
@@ -88,6 +88,21 @@ class DeployedFlow(object, metaclass=type):
88
88
  class TriggeredRun(object, metaclass=type):
89
89
  def __init__(self, deployer: metaflow.runner.deployer.DeployerImpl, content: str):
90
90
  ...
91
+ def wait_for_run(self, timeout = None):
92
+ """
93
+ Wait for the `run` property to become available.
94
+
95
+ Parameters
96
+ ----------
97
+ timeout : int, optional
98
+ Maximum time to wait for the `run` to become available, in seconds. If None, wait indefinitely.
99
+
100
+ Raises
101
+ ------
102
+ TimeoutError
103
+ If the `run` is not available within the specified timeout.
104
+ """
105
+ ...
91
106
  @property
92
107
  def run(self):
93
108
  """
@@ -131,7 +146,7 @@ def get_lower_level_group(api, top_level_kwargs: typing.Dict, _type: typing.Opti
131
146
  """
132
147
  ...
133
148
 
134
- def handle_timeout(tfp_runner_attribute, command_obj: metaflow.runner.subprocess_manager.CommandManager):
149
+ def handle_timeout(tfp_runner_attribute, command_obj: metaflow.runner.subprocess_manager.CommandManager, file_read_timeout: int):
135
150
  """
136
151
  Handle the timeout for a running subprocess command that reads a file
137
152
  and raises an error with appropriate logs if a TimeoutError occurs.
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.012523 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.849065 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.069664 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.905726 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.069921 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.905983 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.071359 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.907383 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import abc
12
11
  import metaflow.plugins.secrets
12
+ import abc
13
13
  import metaflow.exception
14
14
 
15
15
  class SecretsProvider(abc.ABC, metaclass=abc.ABCMeta):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.070403 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.906473 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.070800 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.906868 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.003110 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.841576 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.010831 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.843439 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.047853 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.874658 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,10 +9,10 @@ from __future__ import annotations
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
11
  import metaflow.exception
12
- import metaflow.client.core
13
12
  import metaflow.parameters
14
- import typing
15
13
  import datetime
14
+ import metaflow.client.core
15
+ import typing
16
16
 
17
17
  class Task(metaflow.client.core.MetaflowObject, metaclass=type):
18
18
  def __init__(self, *args, **kwargs):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.020816 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.857983 #
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.plugins.cards.card_client
12
- import metaflow.exception
13
12
  import metaflow
13
+ import metaflow.exception
14
14
 
15
15
  TYPE_CHECKING: bool
16
16
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.042566 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.869555 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.044671 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.871338 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.043459 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.870441 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.040054 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.867020 #
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.12.12 #
4
- # Generated on 2024-08-13T23:49:27.015455 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.852571 #
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.card_modules.basic
12
11
  import metaflow.plugins.cards.card_modules.card
13
12
  import metaflow
13
+ import metaflow.plugins.cards.card_modules.basic
14
14
 
15
15
  class MetaflowCard(object, metaclass=type):
16
16
  def __init__(self, options = {}, components = [], graph = None):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.12 #
4
- # Generated on 2024-08-13T23:49:27.021298 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.858461 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.086527 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.909849 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.088288 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.925459 #
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.12 #
4
- # Generated on 2024-08-13T23:49:27.087955 #
3
+ # MF version: 2.12.14 #
4
+ # Generated on 2024-08-22T15:17:51.925136 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations