ob-metaflow-stubs 6.0.3.108__py2.py3-none-any.whl → 6.0.3.109__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. metaflow-stubs/__init__.pyi +494 -494
  2. metaflow-stubs/cards.pyi +5 -5
  3. metaflow-stubs/cli.pyi +3 -3
  4. metaflow-stubs/client/__init__.pyi +4 -4
  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 +3 -3
  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 +5 -5
  13. metaflow-stubs/info_file.pyi +2 -2
  14. metaflow-stubs/metadata/metadata.pyi +3 -3
  15. metaflow-stubs/metadata/util.pyi +2 -2
  16. metaflow-stubs/metaflow_config.pyi +4 -2
  17. metaflow-stubs/metaflow_current.pyi +85 -85
  18. metaflow-stubs/mflog/mflog.pyi +2 -2
  19. metaflow-stubs/multicore_utils.pyi +2 -2
  20. metaflow-stubs/parameters.pyi +4 -4
  21. metaflow-stubs/plugins/__init__.pyi +5 -3
  22. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  23. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  24. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  25. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +3 -3
  27. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +3 -3
  28. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +3 -3
  29. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  30. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  31. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  32. metaflow-stubs/plugins/argo/argo_workflows.pyi +4 -4
  33. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +5 -5
  34. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +5 -5
  35. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +131 -3
  36. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  37. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  38. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  39. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  40. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  41. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  42. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +3 -3
  43. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  44. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  45. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  46. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  47. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  48. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  49. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +6 -3
  52. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  53. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  54. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  55. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  56. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  57. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  58. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  59. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  60. metaflow-stubs/plugins/cards/card_cli.pyi +5 -5
  61. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  62. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  63. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  64. metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  65. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_modules/basic.pyi +4 -4
  67. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  68. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  69. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  70. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  71. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +3 -3
  72. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  73. metaflow-stubs/plugins/cards/component_serializer.pyi +4 -4
  74. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  75. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  76. metaflow-stubs/plugins/datatools/__init__.pyi +3 -3
  77. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  78. metaflow-stubs/plugins/datatools/s3/__init__.pyi +3 -3
  79. metaflow-stubs/plugins/datatools/s3/s3.pyi +6 -6
  80. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  81. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  82. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  83. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  84. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  85. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  86. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  87. metaflow-stubs/plugins/frameworks/pytorch.pyi +3 -3
  88. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  89. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  90. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  91. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  92. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  93. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  94. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  95. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
  96. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +3 -3
  97. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +3 -3
  98. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  99. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +3 -3
  100. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  101. metaflow-stubs/plugins/logs_cli.pyi +3 -3
  102. metaflow-stubs/plugins/package_cli.pyi +2 -2
  103. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  104. metaflow-stubs/plugins/perimeters.pyi +2 -2
  105. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  106. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  107. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  108. metaflow-stubs/plugins/pypi/conda_environment.pyi +4 -4
  109. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  110. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  111. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  112. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  113. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  114. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  115. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  116. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  117. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  118. metaflow-stubs/plugins/tag_cli.pyi +5 -5
  119. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  120. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  121. metaflow-stubs/procpoll.pyi +2 -2
  122. metaflow-stubs/profilers/__init__.pyi +2 -2
  123. metaflow-stubs/pylint_wrapper.pyi +2 -2
  124. metaflow-stubs/runner/__init__.pyi +2 -2
  125. metaflow-stubs/runner/deployer.pyi +20 -4
  126. metaflow-stubs/runner/metaflow_runner.pyi +5 -5
  127. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  128. metaflow-stubs/runner/nbrun.pyi +2 -2
  129. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  130. metaflow-stubs/runner/utils.pyi +2 -2
  131. metaflow-stubs/system/__init__.pyi +3 -3
  132. metaflow-stubs/system/system_logger.pyi +2 -2
  133. metaflow-stubs/system/system_monitor.pyi +3 -3
  134. metaflow-stubs/tagging_util.pyi +2 -2
  135. metaflow-stubs/tuple_util.pyi +2 -2
  136. {ob_metaflow_stubs-6.0.3.108.dist-info → ob_metaflow_stubs-6.0.3.109.dist-info}/METADATA +1 -1
  137. ob_metaflow_stubs-6.0.3.109.dist-info/RECORD +140 -0
  138. ob_metaflow_stubs-6.0.3.108.dist-info/RECORD +0 -140
  139. {ob_metaflow_stubs-6.0.3.108.dist-info → ob_metaflow_stubs-6.0.3.109.dist-info}/WHEEL +0 -0
  140. {ob_metaflow_stubs-6.0.3.108.dist-info → ob_metaflow_stubs-6.0.3.109.dist-info}/top_level.txt +0 -0
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.189138 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.408354 #
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
11
12
  import metaflow.plugins.airflow.sensors.base_sensor
12
13
  import metaflow.exception
13
- import metaflow.decorators
14
14
 
15
15
  class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
16
16
  """
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.189519 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.408751 #
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
11
12
  import metaflow.plugins.airflow.sensors.base_sensor
12
13
  import metaflow.exception
13
- import metaflow.decorators
14
14
 
15
15
  class AirflowSensorDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
16
16
  """
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.136927 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.352311 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.164861 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.368385 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.162869 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.366503 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.169660 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.373074 #
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._vendor.click.types
12
- import metaflow.exception
13
11
  import metaflow.metaflow_current
14
12
  import metaflow.graph
15
13
  import metaflow.parameters
14
+ import metaflow._vendor.click.types
15
+ import metaflow.exception
16
16
 
17
17
  inf: float
18
18
 
@@ -1,21 +1,21 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.173385 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.377561 #
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
12
- import metaflow.client.core
13
11
  import metaflow.decorators
14
12
  import metaflow.metaflow_current
15
13
  import metaflow.graph
14
+ import metaflow.client.core
15
+ import metaflow.events
16
16
  import datetime
17
17
  import metaflow.parameters
18
- import metaflow.events
18
+ import metaflow.exception
19
19
 
20
20
  JSONType: metaflow.parameters.JSONTypeClass
21
21
 
@@ -1,21 +1,21 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.164230 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.367750 #
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.decorators
12
+ import metaflow.flowspec
13
13
  import metaflow.metaflow_current
14
14
  import metaflow.datastore.inputs
15
- import metaflow.graph
16
15
  import typing
17
- import metaflow.flowspec
16
+ import metaflow.graph
18
17
  import metaflow.events
18
+ import metaflow
19
19
 
20
20
  current: metaflow.metaflow_current.Current
21
21
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.171101 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.375148 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -11,6 +11,81 @@ if typing.TYPE_CHECKING:
11
11
  import metaflow.graph
12
12
  import metaflow.runner.deployer
13
13
 
14
+ def get_metadata() -> str:
15
+ """
16
+ Returns the current Metadata provider.
17
+
18
+ If this is not set explicitly using `metadata`, the default value is
19
+ determined through the Metaflow configuration. You can use this call to
20
+ check that your configuration is set up properly.
21
+
22
+ If multiple configuration profiles are present, this call returns the one
23
+ selected through the `METAFLOW_PROFILE` environment variable.
24
+
25
+ Returns
26
+ -------
27
+ str
28
+ Information about the Metadata provider currently selected. This information typically
29
+ returns provider specific information (like URL for remote providers or local paths for
30
+ local providers).
31
+ """
32
+ ...
33
+
34
+ class MetaflowException(Exception, metaclass=type):
35
+ def __init__(self, msg = "", lineno = None):
36
+ ...
37
+ def __str__(self):
38
+ ...
39
+ ...
40
+
41
+ class ArgoClient(object, metaclass=type):
42
+ def __init__(self, namespace = None):
43
+ ...
44
+ def get_workflow(self, name):
45
+ ...
46
+ def get_workflow_template(self, name):
47
+ ...
48
+ def get_workflow_templates(self):
49
+ ...
50
+ def register_workflow_template(self, name, workflow_template):
51
+ ...
52
+ def delete_cronworkflow(self, name):
53
+ """
54
+ Issues an API call for deleting a cronworkflow
55
+
56
+ Returns either the successful API response, or None in case the resource was not found.
57
+ """
58
+ ...
59
+ def delete_workflow_template(self, name):
60
+ """
61
+ Issues an API call for deleting a cronworkflow
62
+
63
+ Returns either the successful API response, or None in case the resource was not found.
64
+ """
65
+ ...
66
+ def terminate_workflow(self, name):
67
+ ...
68
+ def suspend_workflow(self, name):
69
+ ...
70
+ def unsuspend_workflow(self, name):
71
+ ...
72
+ def trigger_workflow_template(self, name, parameters = {}):
73
+ ...
74
+ def schedule_workflow_template(self, name, schedule = None, timezone = None):
75
+ ...
76
+ def register_sensor(self, name, sensor = None):
77
+ ...
78
+ def delete_sensor(self, name):
79
+ """
80
+ Issues an API call for deleting a sensor
81
+
82
+ Returns either the successful API response, or None in case the resource was not found.
83
+ """
84
+ ...
85
+ ...
86
+
87
+ KUBERNETES_NAMESPACE: str
88
+
14
89
  class ArgoWorkflows(object, metaclass=type):
15
90
  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):
16
91
  ...
@@ -53,6 +128,50 @@ class ArgoWorkflows(object, metaclass=type):
53
128
  ...
54
129
  ...
55
130
 
131
+ class Deployer(object, metaclass=type):
132
+ """
133
+ Use the `Deployer` class to configure and access one of the production
134
+ orchestrators supported by Metaflow.
135
+
136
+ Parameters
137
+ ----------
138
+ flow_file : str
139
+ Path to the flow file to deploy.
140
+ show_output : bool, default True
141
+ Show the 'stdout' and 'stderr' to the console by default.
142
+ profile : Optional[str], default None
143
+ Metaflow profile to use for the deployment. If not specified, the default
144
+ profile is used.
145
+ env : Optional[Dict[str, str]], default None
146
+ Additional environment variables to set for the deployment.
147
+ cwd : Optional[str], default None
148
+ The directory to run the subprocess in; if not specified, the current
149
+ directory is used.
150
+ file_read_timeout : int, default 3600
151
+ The timeout until which we try to read the deployer attribute file.
152
+ **kwargs : Any
153
+ Additional arguments that you would pass to `python myflow.py` before
154
+ the deployment command.
155
+ """
156
+ 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):
157
+ ...
158
+ def _Deployer__make_function(self, deployer_class):
159
+ """
160
+ Create a function for the given deployer class.
161
+
162
+ Parameters
163
+ ----------
164
+ deployer_class : Type[DeployerImpl]
165
+ Deployer implementation class.
166
+
167
+ Returns
168
+ -------
169
+ Callable
170
+ Function that initializes and returns an instance of the deployer class.
171
+ """
172
+ ...
173
+ ...
174
+
56
175
  class DeployerImpl(object, metaclass=type):
57
176
  """
58
177
  Base class for deployer implementations. Each implementation should define a TYPE
@@ -115,7 +234,7 @@ class DeployerImpl(object, metaclass=type):
115
234
  ...
116
235
  ...
117
236
 
118
- class DeployedFlow(object, metaclass=type):
237
+ class DeployedFlow(object, metaclass=metaflow.runner.deployer.DeploymentMethodsMeta):
119
238
  """
120
239
  DeployedFlow class represents a flow that has been deployed.
121
240
 
@@ -126,6 +245,9 @@ class DeployedFlow(object, metaclass=type):
126
245
  """
127
246
  def __init__(self, deployer: metaflow.runner.deployer.DeployerImpl):
128
247
  ...
248
+ @staticmethod
249
+ def from_deployment(identifier, metadata = None, impl = None):
250
+ ...
129
251
  ...
130
252
 
131
253
  class TriggeredRun(object, metaclass=type):
@@ -222,6 +344,12 @@ def handle_timeout(tfp_runner_attribute, command_obj: "CommandManager", file_rea
222
344
  """
223
345
  ...
224
346
 
347
+ def generate_fake_flow_file_contents(flow_name: str, param_info: dict, project_name: typing.Optional[str] = None):
348
+ ...
349
+
350
+ def from_deployment(identifier: str, metadata: typing.Optional[str] = None):
351
+ ...
352
+
225
353
  def suspend(instance: metaflow.runner.deployer.TriggeredRun, **kwargs):
226
354
  """
227
355
  Suspend the running workflow.
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.136292 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.353630 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.162344 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.386542 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.161891 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.386081 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.162127 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.386320 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.186985 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.405787 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.186005 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.404720 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.187747 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.406594 #
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
12
11
  import metaflow.decorators
13
12
  import metaflow.metaflow_current
13
+ import metaflow.exception
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.162462 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.386651 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.188172 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.407036 #
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.secrets
12
- import metaflow.exception
13
12
  import abc
13
+ import metaflow.exception
14
14
 
15
15
  class MetaflowException(Exception, metaclass=type):
16
16
  def __init__(self, msg = "", lineno = None):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.162013 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.386206 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.181056 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.399889 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.184823 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.399168 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.180784 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.399607 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.183352 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.402205 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.181362 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.400203 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.184575 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.403521 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -103,7 +103,7 @@ class DeployerImpl(object, metaclass=type):
103
103
  ...
104
104
  ...
105
105
 
106
- class DeployedFlow(object, metaclass=type):
106
+ class DeployedFlow(object, metaclass=metaflow.runner.deployer.DeploymentMethodsMeta):
107
107
  """
108
108
  DeployedFlow class represents a flow that has been deployed.
109
109
 
@@ -114,6 +114,9 @@ class DeployedFlow(object, metaclass=type):
114
114
  """
115
115
  def __init__(self, deployer: metaflow.runner.deployer.DeployerImpl):
116
116
  ...
117
+ @staticmethod
118
+ def from_deployment(identifier, metadata = None, impl = None):
119
+ ...
117
120
  ...
118
121
 
119
122
  class TriggeredRun(object, metaclass=type):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.138815 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.357504 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.178560 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.397430 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.178780 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.397653 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.179945 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.398834 #
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.secrets
12
- import metaflow.exception
13
12
  import abc
13
+ import metaflow.exception
14
14
 
15
15
  class SecretsProvider(abc.ABC, metaclass=abc.ABCMeta):
16
16
  def get_secret_as_dict(self, secret_id, options = {}, role = None) -> typing.Dict[str, str]:
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.179179 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.398060 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.179506 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.398386 #
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.25.1+obcheckpoint(0.0.11);ob(v1) #
4
- # Generated on 2024-10-08T12:29:45.130378 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.0.11);ob(v1) #
4
+ # Generated on 2024-10-15T21:29:55.349034 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations