ob-metaflow-stubs 6.0.3.121__py2.py3-none-any.whl → 6.0.3.122__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. metaflow-stubs/__init__.pyi +233 -233
  2. metaflow-stubs/cards.pyi +2 -2
  3. metaflow-stubs/cli.pyi +2 -2
  4. metaflow-stubs/client/__init__.pyi +2 -2
  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 +4 -4
  13. metaflow-stubs/info_file.pyi +2 -2
  14. metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  15. metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  16. metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  17. metaflow-stubs/metadata_provider/util.pyi +2 -2
  18. metaflow-stubs/metaflow_config.pyi +4 -2
  19. metaflow-stubs/metaflow_current.pyi +34 -34
  20. metaflow-stubs/mf_extensions/__init__.pyi +2 -2
  21. metaflow-stubs/mf_extensions/obcheckpoint/__init__.pyi +2 -2
  22. metaflow-stubs/mf_extensions/obcheckpoint/plugins/__init__.pyi +2 -2
  23. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/__init__.pyi +2 -2
  24. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +2 -2
  25. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +3 -3
  26. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/constructors.pyi +2 -2
  27. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/core.pyi +4 -4
  28. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/exceptions.pyi +2 -2
  29. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +3 -3
  30. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +2 -2
  31. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/core.pyi +2 -2
  32. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/exceptions.pyi +2 -2
  33. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/task_utils.pyi +4 -4
  34. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/utils.pyi +2 -2
  35. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +3 -3
  36. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
  37. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +2 -2
  38. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/flowspec_utils.pyi +2 -2
  39. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/general.pyi +2 -2
  40. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +3 -3
  41. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +3 -3
  42. metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +2 -2
  43. metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +2 -2
  44. metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
  45. metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +2 -2
  46. metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +2 -2
  47. metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
  48. metaflow-stubs/mflog/__init__.pyi +2 -2
  49. metaflow-stubs/mflog/mflog.pyi +2 -2
  50. metaflow-stubs/multicore_utils.pyi +11 -11
  51. metaflow-stubs/parameters.pyi +4 -4
  52. metaflow-stubs/plugins/__init__.pyi +12 -12
  53. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  54. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  55. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  56. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  57. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  58. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  59. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  60. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  61. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  62. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  63. metaflow-stubs/plugins/argo/argo_workflows.pyi +4 -3
  64. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +2 -2
  65. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  66. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  67. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -3
  68. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  69. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  70. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  71. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  72. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  73. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  74. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  75. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  76. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
  77. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  78. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  79. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  80. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  81. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  82. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  83. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +4 -4
  84. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +5 -4
  85. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  86. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  87. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  88. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
  89. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  90. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  91. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  92. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  93. metaflow-stubs/plugins/cards/card_cli.pyi +2 -2
  94. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  95. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  96. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  97. metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  98. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  99. metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  100. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  101. metaflow-stubs/plugins/cards/card_modules/components.pyi +5 -5
  102. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  103. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  104. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  105. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  106. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  107. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  108. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  109. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  110. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  111. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  112. metaflow-stubs/plugins/datatools/s3/s3.pyi +4 -4
  113. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  114. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  115. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  116. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  117. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/events_decorator.pyi +12 -2
  119. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  120. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  121. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  122. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
  123. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  124. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  125. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  126. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  127. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  128. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +8 -2
  129. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +5 -5
  130. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +2 -2
  131. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  132. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +8 -2
  133. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +3 -2
  134. metaflow-stubs/plugins/logs_cli.pyi +2 -2
  135. metaflow-stubs/plugins/package_cli.pyi +2 -2
  136. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  137. metaflow-stubs/plugins/perimeters.pyi +2 -2
  138. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  139. metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
  140. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  141. metaflow-stubs/plugins/pypi/conda_environment.pyi +4 -4
  142. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  143. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  144. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  145. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  146. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  147. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  148. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +4 -4
  149. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  150. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  151. metaflow-stubs/plugins/tag_cli.pyi +2 -2
  152. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  153. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  154. metaflow-stubs/procpoll.pyi +2 -2
  155. metaflow-stubs/profilers/__init__.pyi +2 -2
  156. metaflow-stubs/pylint_wrapper.pyi +2 -2
  157. metaflow-stubs/runner/__init__.pyi +3 -3
  158. metaflow-stubs/runner/deployer.pyi +30 -30
  159. metaflow-stubs/runner/deployer_impl.pyi +3 -2
  160. metaflow-stubs/runner/metaflow_runner.pyi +7 -3
  161. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  162. metaflow-stubs/runner/nbrun.pyi +2 -2
  163. metaflow-stubs/runner/subprocess_manager.pyi +7 -3
  164. metaflow-stubs/runner/utils.pyi +109 -10
  165. metaflow-stubs/system/__init__.pyi +2 -2
  166. metaflow-stubs/system/system_logger.pyi +3 -3
  167. metaflow-stubs/system/system_monitor.pyi +2 -2
  168. metaflow-stubs/tagging_util.pyi +2 -2
  169. metaflow-stubs/tuple_util.pyi +2 -2
  170. {ob_metaflow_stubs-6.0.3.121.dist-info → ob_metaflow_stubs-6.0.3.122.dist-info}/METADATA +1 -1
  171. ob_metaflow_stubs-6.0.3.122.dist-info/RECORD +174 -0
  172. ob_metaflow_stubs-6.0.3.121.dist-info/RECORD +0 -174
  173. {ob_metaflow_stubs-6.0.3.121.dist-info → ob_metaflow_stubs-6.0.3.122.dist-info}/WHEEL +0 -0
  174. {ob_metaflow_stubs-6.0.3.121.dist-info → ob_metaflow_stubs-6.0.3.122.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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.405225 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.615920 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -13,6 +13,8 @@ if typing.TYPE_CHECKING:
13
13
 
14
14
  from ..metaflow_current import current as current
15
15
  from ..exception import MetaflowException as MetaflowException
16
+ from ..parameters import DeployTimeField as DeployTimeField
17
+ from ..parameters import deploy_time_eval as deploy_time_eval
16
18
 
17
19
  class TriggerDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
18
20
  """
@@ -65,8 +67,14 @@ class TriggerDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
65
67
  Trigger
66
68
  `Trigger` if triggered by an event
67
69
  """
70
+ def process_event_name(self, event):
71
+ ...
72
+ def process_parameters(self, parameters):
73
+ ...
68
74
  def flow_init(self, flow_name, graph, environment, flow_datastore, metadata, logger, echo, options):
69
75
  ...
76
+ def format_deploytime_value(self):
77
+ ...
70
78
  ...
71
79
 
72
80
  class TriggerOnFinishDecorator(metaflow.decorators.FlowDecorator, metaclass=type):
@@ -126,6 +134,8 @@ class TriggerOnFinishDecorator(metaflow.decorators.FlowDecorator, metaclass=type
126
134
  """
127
135
  def flow_init(self, flow_name, graph, environment, flow_datastore, metadata, logger, echo, options):
128
136
  ...
137
+ def format_deploytime_value(self):
138
+ ...
129
139
  def get_top_level_options(self):
130
140
  ...
131
141
  ...
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.404424 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.615407 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.436918 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.647138 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.401871 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.611738 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.421182 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.630122 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import abc
10
+ import metaflow
11
11
  import typing
12
12
  if typing.TYPE_CHECKING:
13
+ import abc
13
14
  import metaflow.exception
14
15
  import metaflow.plugins.secrets
15
- import abc
16
16
 
17
17
  from ...exception import MetaflowException as MetaflowException
18
18
  from ..secrets import SecretsProvider as SecretsProvider
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.420150 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.629135 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.419979 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.628999 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.420371 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.629344 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.420867 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.629827 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.403255 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.614920 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.426434 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.644038 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -12,3 +12,9 @@ from ...exception import CommandException as CommandException
12
12
  def parse_cli_options(flow_name, run_id, user, my_runs, echo):
13
13
  ...
14
14
 
15
+ def qos_requests_and_limits(qos: str, cpu: int, memory: int, storage: int):
16
+ """
17
+ return resource requests and limits for the kubernetes pod based on the given QoS Class
18
+ """
19
+ ...
20
+
@@ -1,13 +1,13 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.425550 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.643133 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
12
  import metaflow.exception
13
13
 
@@ -109,9 +109,9 @@ class Kubernetes(object, metaclass=type):
109
109
  ...
110
110
  def launch_job(self, **kwargs):
111
111
  ...
112
- def create_jobset(self, flow_name, run_id, step_name, task_id, attempt, user, code_package_sha, code_package_url, code_package_ds, docker_image, docker_image_pull_policy, step_cli = None, service_account = None, secrets = None, node_selector = None, namespace = None, cpu = None, gpu = None, gpu_vendor = None, disk = None, memory = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, run_time_limit = None, env = None, persistent_volume_claims = None, tolerations = None, labels = None, shared_memory = None, port = None, num_parallel = None):
112
+ def create_jobset(self, flow_name, run_id, step_name, task_id, attempt, user, code_package_sha, code_package_url, code_package_ds, docker_image, docker_image_pull_policy, step_cli = None, service_account = None, secrets = None, node_selector = None, namespace = None, cpu = None, gpu = None, gpu_vendor = None, disk = None, memory = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, run_time_limit = None, env = None, persistent_volume_claims = None, tolerations = None, labels = None, shared_memory = None, port = None, num_parallel = None, qos = None):
113
113
  ...
114
- def create_job_object(self, flow_name, run_id, step_name, task_id, attempt, user, code_package_sha, code_package_url, code_package_ds, step_cli, docker_image, docker_image_pull_policy, service_account = None, secrets = None, node_selector = None, namespace = None, cpu = None, gpu = None, gpu_vendor = None, disk = None, memory = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, run_time_limit = None, env = None, persistent_volume_claims = None, tolerations = None, labels = None, shared_memory = None, port = None, name_pattern = None):
114
+ def create_job_object(self, flow_name, run_id, step_name, task_id, attempt, user, code_package_sha, code_package_url, code_package_ds, step_cli, docker_image, docker_image_pull_policy, service_account = None, secrets = None, node_selector = None, namespace = None, cpu = None, gpu = None, gpu_vendor = None, disk = None, memory = None, use_tmpfs = None, tmpfs_tempdir = None, tmpfs_size = None, tmpfs_path = None, run_time_limit = None, env = None, persistent_volume_claims = None, tolerations = None, labels = None, shared_memory = None, port = None, name_pattern = None, qos = None):
115
115
  ...
116
116
  def create_k8sjob(self, job):
117
117
  ...
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.426722 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.644318 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.369133 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.581052 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.426248 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.643826 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -54,12 +54,16 @@ KUBERNETES_SHARED_MEMORY: None
54
54
 
55
55
  KUBERNETES_TOLERATIONS: str
56
56
 
57
+ KUBERNETES_QOS: str
58
+
57
59
  UBF_CONTROL: str
58
60
 
59
61
  MAX_MEMORY_PER_TASK: None
60
62
 
61
63
  MAX_CPU_PER_TASK: None
62
64
 
65
+ SUPPORTED_KUBERNETES_QOS_CLASSES: list
66
+
63
67
  class KubernetesDecorator(metaflow.decorators.StepDecorator, metaclass=type):
64
68
  """
65
69
  Specifies that this step should execute on Kubernetes.
@@ -127,6 +131,8 @@ class KubernetesDecorator(metaflow.decorators.StepDecorator, metaclass=type):
127
131
  hostname_resolution_timeout: int, default 10 * 60
128
132
  Timeout in seconds for the workers tasks in the gang scheduled cluster to resolve the hostname of control task.
129
133
  Only applicable when @parallel is used.
134
+ qos: str, default: Burstable
135
+ Quality of Service class to assign to the pod. Supported values are: Guaranteed, Burstable, BestEffort
130
136
  """
131
137
  def __init__(self, attributes = None, statically_defined = False):
132
138
  ...
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.428205 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.645560 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -12,6 +12,7 @@ if typing.TYPE_CHECKING:
12
12
  import metaflow.exception
13
13
 
14
14
  from ...exception import MetaflowException as MetaflowException
15
+ from .kube_utils import qos_requests_and_limits as qos_requests_and_limits
15
16
 
16
17
  KUBERNETES_JOBSET_GROUP: str
17
18
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.408272 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.619816 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.407638 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.619418 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.400791 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.613407 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.369449 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.581343 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.405824 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.616229 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.401062 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.613678 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
 
10
10
  from ... import metaflow_config as metaflow_config
11
11
  from ...exception import MetaflowException as MetaflowException
12
- from . import conda_decorator as conda_decorator
13
12
  from . import pypi_decorator as pypi_decorator
13
+ from . import conda_decorator as conda_decorator
14
14
  from . import utils as utils
15
15
  from . import conda_environment as conda_environment
16
16
  from . import pypi_environment as pypi_environment
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.414578 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.633919 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,20 +1,20 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.415936 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.634859 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
+ import abc
9
10
  import io
10
11
  import metaflow
11
- import abc
12
12
  import typing
13
13
  if typing.TYPE_CHECKING:
14
+ import metaflow.metaflow_environment
14
15
  import io
15
16
  import metaflow.exception
16
17
  import abc
17
- import metaflow.metaflow_environment
18
18
 
19
19
  from ...exception import MetaflowException as MetaflowException
20
20
  from ...metaflow_config import get_pinned_conda_libs as get_pinned_conda_libs
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.414957 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.633334 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.416072 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.634994 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.415192 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.634145 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.401286 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.613846 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.404225 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.612843 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.404813 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.614546 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.437720 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.635676 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import abc
10
+ import metaflow
11
11
  import typing
12
12
  if typing.TYPE_CHECKING:
13
- import metaflow.plugins.secrets
14
13
  import abc
14
+ import metaflow.plugins.secrets
15
15
 
16
16
  from . import SecretsProvider as SecretsProvider
17
17
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.437527 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.635494 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.402206 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.612074 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.407866 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.619280 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.400318 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.611179 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
  import metaflow
10
10
  import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.unbounded_foreach
13
12
  import metaflow.decorators
13
+ import metaflow.unbounded_foreach
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16
  from ..metadata_provider.metadata import MetaDatum as MetaDatum
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.403118 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.612578 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
  import metaflow
10
10
  import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.exception
13
12
  import metaflow.decorators
13
+ import metaflow.exception
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.387915 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.599768 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.369716 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.581633 #
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.33.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-12-02T17:17:46.387503 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.599312 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations