ob-metaflow-stubs 6.0.3.109rc1__py2.py3-none-any.whl → 6.0.3.110__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 +586 -594
  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 +6 -6
  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 +4 -4
  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 +2 -2
  15. metaflow-stubs/metadata/util.pyi +2 -2
  16. metaflow-stubs/metaflow_config.pyi +4 -2
  17. metaflow-stubs/metaflow_current.pyi +48 -48
  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 +2 -2
  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 +5 -5
  33. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +8 -8
  34. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +6 -6
  35. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +132 -4
  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 +3 -3
  65. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  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 +3 -3
  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 +3 -3
  104. metaflow-stubs/plugins/perimeters.pyi +2 -2
  105. metaflow-stubs/plugins/project_decorator.pyi +3 -3
  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 +3 -3
  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 +3 -3
  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 +2 -2
  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 +3 -3
  133. metaflow-stubs/system/system_monitor.pyi +2 -2
  134. metaflow-stubs/tagging_util.pyi +2 -2
  135. metaflow-stubs/tuple_util.pyi +2 -2
  136. {ob_metaflow_stubs-6.0.3.109rc1.dist-info → ob_metaflow_stubs-6.0.3.110.dist-info}/METADATA +1 -1
  137. ob_metaflow_stubs-6.0.3.110.dist-info/RECORD +140 -0
  138. ob_metaflow_stubs-6.0.3.109rc1.dist-info/RECORD +0 -140
  139. {ob_metaflow_stubs-6.0.3.109rc1.dist-info → ob_metaflow_stubs-6.0.3.110.dist-info}/WHEEL +0 -0
  140. {ob_metaflow_stubs-6.0.3.109rc1.dist-info → ob_metaflow_stubs-6.0.3.110.dist-info}/top_level.txt +0 -0
@@ -1,21 +1,21 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.593776 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.925702 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import metaflow.metaflow_current
12
- import metaflow.events
13
- import metaflow.graph
14
- import metaflow.decorators
15
- import metaflow.client.core
16
- import datetime
17
11
  import metaflow.exception
18
12
  import metaflow.parameters
13
+ import metaflow.decorators
14
+ import datetime
15
+ import metaflow.client.core
16
+ import metaflow.metaflow_current
17
+ import metaflow.graph
18
+ import metaflow.events
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.584659 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.916001 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import metaflow.metaflow_current
12
- import metaflow.events
13
11
  import metaflow.datastore.inputs
14
- import metaflow.graph
15
12
  import metaflow.flowspec
16
13
  import metaflow.decorators
17
- import typing
14
+ import metaflow.metaflow_current
18
15
  import metaflow
16
+ import typing
17
+ import metaflow.graph
18
+ import metaflow.events
19
19
 
20
20
  current: metaflow.metaflow_current.Current
21
21
 
@@ -1,15 +1,90 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.591497 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.923433 #
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.graph
12
11
  import metaflow.runner.deployer
12
+ import metaflow.graph
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
13
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):
@@ -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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.552540 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.884686 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.573191 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.910432 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.572741 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.909974 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.572980 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.910217 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.603746 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.937328 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.602639 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.935416 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.604504 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.938745 #
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.decorators
13
12
  import metaflow.exception
13
+ import metaflow.metaflow_current
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.573314 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.910541 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.604915 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.939438 #
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.exception
13
12
  import metaflow.plugins.secrets
13
+ import abc
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.572870 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.910097 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.597703 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.930019 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.601494 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.933839 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.597427 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.929742 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.600014 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.932330 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.598006 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.930323 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.601242 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.933591 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.556551 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.887890 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.595550 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.927493 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.595766 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.927712 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.596941 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.928906 #
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.exception
13
12
  import metaflow.plugins.secrets
13
+ import abc
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.596168 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.928114 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.596492 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.928453 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.549529 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.880933 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.554927 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.883946 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.582999 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.904815 #
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
- import datetime
13
11
  import metaflow.exception
14
- import typing
15
12
  import metaflow.parameters
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
  """
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.25.1+obcheckpoint(0.0.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.539385 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.870812 #
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
11
12
  import metaflow.plugins.cards.card_client
12
13
  import metaflow.exception
13
- import metaflow
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.25.1+obcheckpoint(0.0.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.580080 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.901813 #
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.13);ob(v1) #
4
- # Generated on 2024-10-10T01:39:58.563633 #
3
+ # MF version: 2.12.25.2+obcheckpoint(0.1.0);ob(v1) #
4
+ # Generated on 2024-10-16T01:27:45.894982 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations