ob-metaflow-stubs 6.0.4.4rc0__py2.py3-none-any.whl → 6.0.4.6rc0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. metaflow-stubs/__init__.pyi +781 -787
  2. metaflow-stubs/cards.pyi +2 -2
  3. metaflow-stubs/cli.pyi +2 -3
  4. metaflow-stubs/cli_components/__init__.pyi +2 -2
  5. metaflow-stubs/cli_components/utils.pyi +2 -2
  6. metaflow-stubs/client/__init__.pyi +2 -2
  7. metaflow-stubs/client/core.pyi +6 -5
  8. metaflow-stubs/client/filecache.pyi +3 -3
  9. metaflow-stubs/events.pyi +2 -2
  10. metaflow-stubs/exception.pyi +2 -2
  11. metaflow-stubs/flowspec.pyi +9 -9
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +3 -3
  14. metaflow-stubs/{meta_files.pyi → info_file.pyi} +6 -2
  15. metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  16. metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  17. metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  18. metaflow-stubs/metadata_provider/util.pyi +2 -2
  19. metaflow-stubs/metaflow_config.pyi +2 -6
  20. metaflow-stubs/metaflow_current.pyi +36 -36
  21. metaflow-stubs/metaflow_git.pyi +2 -2
  22. metaflow-stubs/mf_extensions/__init__.pyi +2 -2
  23. metaflow-stubs/mf_extensions/obcheckpoint/__init__.pyi +2 -2
  24. metaflow-stubs/mf_extensions/obcheckpoint/plugins/__init__.pyi +2 -2
  25. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/__init__.pyi +2 -2
  26. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +2 -2
  27. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/async_cards.pyi +2 -2
  28. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/deco_injection_mixin.pyi +2 -2
  29. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/extra_components.pyi +3 -3
  30. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +2 -2
  31. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +2 -2
  32. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/checkpoint_lister.pyi +3 -3
  33. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/lineage_card.pyi +2 -2
  34. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +5 -5
  35. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/constructors.pyi +2 -2
  36. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/core.pyi +4 -4
  37. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/decorator.pyi +4 -4
  38. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/exceptions.pyi +2 -2
  39. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +3 -3
  40. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/lineage.pyi +2 -2
  41. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +2 -2
  42. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/context.pyi +3 -3
  43. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/core.pyi +2 -2
  44. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/decorator.pyi +2 -2
  45. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/exceptions.pyi +2 -2
  46. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/task_utils.pyi +2 -2
  47. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/utils.pyi +2 -2
  48. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +2 -2
  49. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
  50. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +2 -2
  51. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/decorator.pyi +2 -2
  52. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +2 -2
  53. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/core.pyi +4 -4
  54. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/exceptions.pyi +2 -2
  55. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/model_storage.pyi +4 -4
  56. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +2 -2
  57. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/flowspec_utils.pyi +2 -2
  58. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/general.pyi +2 -2
  59. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +2 -2
  60. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +2 -2
  61. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/base.pyi +2 -2
  62. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/tar.pyi +2 -2
  63. metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +2 -2
  64. metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +2 -2
  65. metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +2 -2
  66. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/__init__.pyi +2 -2
  67. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/__init__.pyi +2 -2
  68. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/_state_machine.pyi +2 -2
  69. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/_vendor/__init__.pyi +2 -2
  70. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/_vendor/spinner/__init__.pyi +2 -2
  71. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/_vendor/spinner/spinners.pyi +2 -2
  72. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/app_cli.pyi +2 -2
  73. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/app_config.pyi +2 -2
  74. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/capsule.pyi +4 -4
  75. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/click_importer.pyi +2 -2
  76. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/code_package/__init__.pyi +2 -2
  77. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/code_package/code_packager.pyi +2 -2
  78. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/__init__.pyi +2 -2
  79. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/cli_generator.pyi +2 -2
  80. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/config_utils.pyi +3 -3
  81. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/schema_export.pyi +2 -2
  82. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/typed_configs.pyi +2 -2
  83. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/unified_config.pyi +3 -3
  84. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/dependencies.pyi +4 -4
  85. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/deployer.pyi +4 -4
  86. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/experimental/__init__.pyi +2 -2
  87. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/perimeters.pyi +2 -2
  88. metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/utils.pyi +3 -3
  89. metaflow-stubs/mf_extensions/outerbounds/plugins/aws/__init__.pyi +2 -2
  90. metaflow-stubs/mf_extensions/outerbounds/plugins/aws/assume_role_decorator.pyi +8 -12
  91. metaflow-stubs/mf_extensions/outerbounds/plugins/card_utilities/__init__.pyi +2 -2
  92. metaflow-stubs/mf_extensions/outerbounds/plugins/card_utilities/async_cards.pyi +3 -3
  93. metaflow-stubs/mf_extensions/outerbounds/plugins/card_utilities/injector.pyi +2 -2
  94. metaflow-stubs/mf_extensions/outerbounds/plugins/checkpoint_datastores/__init__.pyi +2 -2
  95. metaflow-stubs/mf_extensions/outerbounds/plugins/checkpoint_datastores/coreweave.pyi +11 -13
  96. metaflow-stubs/mf_extensions/outerbounds/plugins/checkpoint_datastores/nebius.pyi +11 -13
  97. metaflow-stubs/mf_extensions/outerbounds/plugins/fast_bakery/__init__.pyi +2 -2
  98. metaflow-stubs/mf_extensions/outerbounds/plugins/fast_bakery/baker.pyi +4 -4
  99. metaflow-stubs/mf_extensions/outerbounds/plugins/fast_bakery/docker_environment.pyi +3 -3
  100. metaflow-stubs/mf_extensions/outerbounds/plugins/fast_bakery/fast_bakery.pyi +2 -2
  101. metaflow-stubs/mf_extensions/outerbounds/plugins/kubernetes/__init__.pyi +2 -2
  102. metaflow-stubs/mf_extensions/outerbounds/plugins/kubernetes/pod_killer.pyi +2 -2
  103. metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/__init__.pyi +2 -2
  104. metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/constants.pyi +2 -2
  105. metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/exceptions.pyi +2 -2
  106. metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/ollama.pyi +2 -2
  107. metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/status_card.pyi +2 -2
  108. metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +2 -2
  109. metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/snowflake.pyi +2 -2
  110. metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +2 -2
  111. metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
  112. metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +2 -2
  113. metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +2 -2
  114. metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
  115. metaflow-stubs/multicore_utils.pyi +2 -2
  116. metaflow-stubs/ob_internal.pyi +2 -2
  117. metaflow-stubs/parameters.pyi +3 -3
  118. metaflow-stubs/plugins/__init__.pyi +13 -13
  119. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  120. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  121. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  122. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  123. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  124. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  125. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  126. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  127. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  128. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  129. metaflow-stubs/plugins/argo/argo_workflows.pyi +5 -5
  130. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +2 -2
  131. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +2 -2
  132. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +2 -2
  133. metaflow-stubs/plugins/argo/exit_hooks.pyi +3 -3
  134. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  135. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  136. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  137. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  138. metaflow-stubs/plugins/aws/batch/batch.pyi +4 -4
  139. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  140. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -4
  141. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  142. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
  143. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  144. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  145. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  146. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +3 -3
  147. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  148. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
  149. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
  150. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  151. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  152. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  153. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
  154. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  155. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  156. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  157. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  158. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  159. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  160. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  161. metaflow-stubs/plugins/cards/card_decorator.pyi +4 -2
  162. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  163. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  164. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  165. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  166. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  167. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  168. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  169. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  170. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  171. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  172. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  173. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  174. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  175. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  176. metaflow-stubs/plugins/datatools/s3/s3.pyi +3 -3
  177. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  178. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  179. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  180. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  181. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  182. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  183. metaflow-stubs/plugins/exit_hook/__init__.pyi +2 -2
  184. metaflow-stubs/plugins/exit_hook/exit_hook_decorator.pyi +2 -2
  185. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  186. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  187. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  188. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
  189. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  190. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  191. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  192. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  193. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  194. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
  195. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +4 -4
  196. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  197. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -4
  198. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  199. metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  200. metaflow-stubs/plugins/ollama/__init__.pyi +3 -3
  201. metaflow-stubs/plugins/parallel_decorator.pyi +3 -3
  202. metaflow-stubs/plugins/perimeters.pyi +2 -2
  203. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  204. metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
  205. metaflow-stubs/plugins/pypi/conda_decorator.pyi +8 -5
  206. metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -6
  207. metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
  208. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +4 -4
  209. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  210. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  211. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  212. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  213. metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
  214. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +4 -4
  215. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  216. metaflow-stubs/plugins/secrets/secrets_func.pyi +2 -2
  217. metaflow-stubs/plugins/secrets/secrets_spec.pyi +2 -2
  218. metaflow-stubs/plugins/secrets/utils.pyi +2 -2
  219. metaflow-stubs/plugins/snowflake/__init__.pyi +2 -2
  220. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  221. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +4 -4
  222. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  223. metaflow-stubs/plugins/torchtune/__init__.pyi +2 -2
  224. metaflow-stubs/plugins/uv/__init__.pyi +2 -2
  225. metaflow-stubs/plugins/uv/uv_environment.pyi +2 -3
  226. metaflow-stubs/profilers/__init__.pyi +2 -2
  227. metaflow-stubs/pylint_wrapper.pyi +2 -2
  228. metaflow-stubs/runner/__init__.pyi +2 -2
  229. metaflow-stubs/runner/deployer.pyi +29 -29
  230. metaflow-stubs/runner/deployer_impl.pyi +3 -3
  231. metaflow-stubs/runner/metaflow_runner.pyi +3 -3
  232. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  233. metaflow-stubs/runner/nbrun.pyi +2 -2
  234. metaflow-stubs/runner/subprocess_manager.pyi +2 -3
  235. metaflow-stubs/runner/utils.pyi +3 -3
  236. metaflow-stubs/system/__init__.pyi +2 -2
  237. metaflow-stubs/system/system_logger.pyi +3 -3
  238. metaflow-stubs/system/system_monitor.pyi +2 -2
  239. metaflow-stubs/tagging_util.pyi +2 -2
  240. metaflow-stubs/tuple_util.pyi +2 -2
  241. metaflow-stubs/user_configs/__init__.pyi +3 -2
  242. metaflow-stubs/user_configs/config_decorators.pyi +251 -0
  243. metaflow-stubs/user_configs/config_options.pyi +4 -3
  244. metaflow-stubs/user_configs/config_parameters.pyi +8 -6
  245. {ob_metaflow_stubs-6.0.4.4rc0.dist-info → ob_metaflow_stubs-6.0.4.6rc0.dist-info}/METADATA +1 -1
  246. ob_metaflow_stubs-6.0.4.6rc0.dist-info/RECORD +249 -0
  247. metaflow-stubs/packaging_sys/__init__.pyi +0 -430
  248. metaflow-stubs/packaging_sys/backend.pyi +0 -73
  249. metaflow-stubs/packaging_sys/distribution_support.pyi +0 -57
  250. metaflow-stubs/packaging_sys/tar_backend.pyi +0 -53
  251. metaflow-stubs/packaging_sys/utils.pyi +0 -26
  252. metaflow-stubs/packaging_sys/v1.pyi +0 -145
  253. metaflow-stubs/user_decorators/__init__.pyi +0 -15
  254. metaflow-stubs/user_decorators/common.pyi +0 -38
  255. metaflow-stubs/user_decorators/mutable_flow.pyi +0 -223
  256. metaflow-stubs/user_decorators/mutable_step.pyi +0 -152
  257. metaflow-stubs/user_decorators/user_flow_decorator.pyi +0 -137
  258. metaflow-stubs/user_decorators/user_step_decorator.pyi +0 -323
  259. ob_metaflow_stubs-6.0.4.4rc0.dist-info/RECORD +0 -260
  260. {ob_metaflow_stubs-6.0.4.4rc0.dist-info → ob_metaflow_stubs-6.0.4.6rc0.dist-info}/WHEEL +0 -0
  261. {ob_metaflow_stubs-6.0.4.4rc0.dist-info → ob_metaflow_stubs-6.0.4.6rc0.dist-info}/top_level.txt +0 -0
@@ -1,137 +0,0 @@
1
- ######################################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.1.1+obcheckpoint(0.2.4);ob(v1) #
4
- # Generated on 2025-07-15T21:03:18.195050 #
5
- ######################################################################################################
6
-
7
- from __future__ import annotations
8
-
9
- import typing
10
- import metaflow
11
- if typing.TYPE_CHECKING:
12
- import metaflow.user_decorators.user_flow_decorator
13
- import metaflow.decorators
14
- import metaflow.flowspec
15
- import metaflow.user_decorators.mutable_flow
16
-
17
- from ..exception import MetaflowException as MetaflowException
18
- from ..user_configs.config_parameters import resolve_delayed_evaluator as resolve_delayed_evaluator
19
- from ..user_configs.config_parameters import unpack_delayed_evaluator as unpack_delayed_evaluator
20
- from .common import ClassPath_Trie as ClassPath_Trie
21
-
22
- TYPE_CHECKING: bool
23
-
24
- class FlowMutatorMeta(type, metaclass=type):
25
- @staticmethod
26
- def __new__(mcs, name, bases, namespace):
27
- ...
28
- @classmethod
29
- def all_decorators(mcs) -> typing.Dict[str, "FlowMutatorMeta"]:
30
- ...
31
- def __str__(cls):
32
- ...
33
- @classmethod
34
- def get_decorator_by_name(mcs, decorator_name: str) -> typing.Union["FlowDecoratorMeta", "metaflow.decorators.Decorator", None]:
35
- """
36
- Get a decorator by its name.
37
-
38
- Parameters
39
- ----------
40
- decorator_name: str
41
- The name of the decorator to retrieve.
42
-
43
- Returns
44
- -------
45
- Optional[FlowDecoratorMeta]
46
- The decorator class if found, None otherwise.
47
- """
48
- ...
49
- @classmethod
50
- def get_decorator_name(mcs, decorator_type: type) -> typing.Optional[str]:
51
- """
52
- Get the minimally unique classpath name for a decorator type.
53
-
54
- Parameters
55
- ----------
56
- decorator_type: type
57
- The type of the decorator to retrieve the name for.
58
-
59
- Returns
60
- -------
61
- Optional[str]
62
- The minimally unique classpath name if found, None otherwise.
63
- """
64
- ...
65
- ...
66
-
67
- class FlowMutator(object, metaclass=FlowMutatorMeta):
68
- """
69
- Derive from this class to implement a flow mutator.
70
-
71
- A flow mutator allows you to introspect a flow and its included steps. You can
72
- then add parameters, configurations and decorators to the flow as well as modify
73
- any of its steps.
74
- use values available through configurations to determine how to mutate the flow.
75
-
76
- There are two main methods provided:
77
- - pre_mutate: called as early as possible right after configuration values are read.
78
- - mutate: called right after all the command line is parsed but before any
79
- Metaflow decorators are applied.
80
-
81
- The `mutate` method does not allow you to modify the flow itself but you can still
82
- modify the steps.
83
- """
84
- def __init__(self, *args, **kwargs):
85
- ...
86
- def __mro_entries__(self, bases):
87
- ...
88
- def __call__(self, flow_spec: typing.Optional["metaflow.flowspec.FlowSpecMeta"] = None) -> "metaflow.flowspec.FlowSpecMeta":
89
- ...
90
- def __str__(self):
91
- ...
92
- def init(self, *args, **kwargs):
93
- """
94
- Implement this method if you wish for your FlowMutator to take in arguments.
95
-
96
- Your flow-mutator can then look like:
97
-
98
- @MyMutator(arg1, arg2)
99
- class MyFlow(FlowSpec):
100
- pass
101
-
102
- It is an error to use your mutator with arguments but not implement this method.
103
- """
104
- ...
105
- def external_init(self):
106
- ...
107
- def pre_mutate(self, mutable_flow: "metaflow.user_decorators.mutable_flow.MutableFlow"):
108
- """
109
- Method called right after all configuration values are read.
110
-
111
- Parameters
112
- ----------
113
- mutable_flow : metaflow.user_decorators.mutable_flow.MutableFlow
114
- A representation of this flow
115
- """
116
- ...
117
- def mutate(self, mutable_flow: "metaflow.user_decorators.mutable_flow.MutableFlow"):
118
- """
119
- Method called right before the first Metaflow step decorator is applied. This
120
- means that the command line, including all `--with` options has been parsed.
121
-
122
- Given how late this function is called, there are a few restrictions on what
123
- you can do; the following methods on MutableFlow are not allowed and calling
124
- them will result in an error:
125
- - add_parameter/remove_parameter
126
- - add_decorator/remove_decorator
127
-
128
- To call these methods, use the `pre_mutate` method instead.
129
-
130
- Parameters
131
- ----------
132
- mutable_flow : metaflow.user_decorators.mutable_flow.MutableFlow
133
- A representation of this flow
134
- """
135
- ...
136
- ...
137
-
@@ -1,323 +0,0 @@
1
- ######################################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.1.1+obcheckpoint(0.2.4);ob(v1) #
4
- # Generated on 2025-07-15T21:03:18.194328 #
5
- ######################################################################################################
6
-
7
- from __future__ import annotations
8
-
9
- import typing
10
- import metaflow
11
- if typing.TYPE_CHECKING:
12
- import typing
13
- import metaflow.flowspec
14
- import metaflow.datastore.inputs
15
- import metaflow.decorators
16
- import metaflow.user_decorators.user_step_decorator
17
- import metaflow.user_decorators.mutable_step
18
-
19
- from ..exception import MetaflowException as MetaflowException
20
- from ..user_configs.config_parameters import resolve_delayed_evaluator as resolve_delayed_evaluator
21
- from ..user_configs.config_parameters import unpack_delayed_evaluator as unpack_delayed_evaluator
22
- from .common import ClassPath_Trie as ClassPath_Trie
23
-
24
- TYPE_CHECKING: bool
25
-
26
- USER_SKIP_STEP: dict
27
-
28
- class UserStepDecoratorMeta(type, metaclass=type):
29
- @staticmethod
30
- def __new__(mcs, name, bases, namespace, **_kwargs):
31
- ...
32
- def __str__(cls):
33
- ...
34
- @classmethod
35
- def all_decorators(mcs) -> typing.Dict[str, "UserStepDecoratorMeta"]:
36
- """
37
- Get all registered decorators using the minimally unique classpath name
38
-
39
- Returns
40
- -------
41
- Dict[str, UserStepDecoratorBase]
42
- A dictionary mapping decorator names to their classes.
43
- """
44
- ...
45
- @classmethod
46
- def get_decorator_by_name(mcs, decorator_name: str) -> typing.Union["UserStepDecoratorBase", "metaflow.decorators.Decorator", None]:
47
- """
48
- Get a decorator by its name.
49
-
50
- Parameters
51
- ----------
52
- decorator_name: str
53
- The name of the decorator to retrieve.
54
-
55
- Returns
56
- -------
57
- Optional[UserStepDecoratorBase]
58
- The decorator class if found, None otherwise.
59
- """
60
- ...
61
- @classmethod
62
- def get_decorator_name(mcs, decorator_type: type) -> typing.Optional[str]:
63
- """
64
- Get the minimally unique classpath name for a decorator type.
65
-
66
- Parameters
67
- ----------
68
- decorator_type: type
69
- The type of the decorator to retrieve the name for.
70
-
71
- Returns
72
- -------
73
- Optional[str]
74
- The minimally unique classpath name if found, None otherwise.
75
- """
76
- ...
77
- ...
78
-
79
- class UserStepDecoratorBase(object, metaclass=UserStepDecoratorMeta):
80
- def __init__(self, *args, **kwargs):
81
- ...
82
- def __get__(self, instance, owner):
83
- ...
84
- def __call__(self, step: typing.Union[typing.Callable[["metaflow.decorators.FlowSpecDerived"], None], typing.Callable[["metaflow.decorators.FlowSpecDerived", typing.Any], None], None] = None, **kwargs) -> typing.Union[typing.Callable[["metaflow.decorators.FlowSpecDerived"], None], typing.Callable[["metaflow.decorators.FlowSpecDerived", typing.Any], None]]:
85
- ...
86
- def add_or_raise(self, step: typing.Union[typing.Callable[["metaflow.decorators.FlowSpecDerived"], None], typing.Callable[["metaflow.decorators.FlowSpecDerived", typing.Any], None]], statically_defined: bool, duplicates: int, inserted_by: typing.Optional[str] = None):
87
- ...
88
- def __str__(self):
89
- ...
90
- @classmethod
91
- def extract_args_kwargs_from_decorator_spec(cls, deco_spec: str) -> typing.Tuple[typing.List[typing.Any], typing.Dict[str, typing.Any]]:
92
- ...
93
- @classmethod
94
- def parse_decorator_spec(cls, deco_spec: str) -> typing.Optional["UserStepDecoratorBase"]:
95
- ...
96
- def make_decorator_spec(self):
97
- ...
98
- def get_args_kwargs(self) -> typing.Tuple[typing.List[typing.Any], typing.Dict[str, typing.Any]]:
99
- """
100
- Get the arguments and keyword arguments of the decorator.
101
-
102
- Returns
103
- -------
104
- Tuple[List[Any], Dict[str, Any]]
105
- A tuple containing a list of arguments and a dictionary of keyword arguments.
106
- """
107
- ...
108
- def init(self, *args, **kwargs):
109
- ...
110
- def external_init(self):
111
- ...
112
- @classmethod
113
- def __init_subclass__(cls_, **_kwargs):
114
- ...
115
- ...
116
-
117
- class UserStepDecorator(UserStepDecoratorBase, metaclass=UserStepDecoratorMeta):
118
- def init(self, *args, **kwargs):
119
- """
120
- Implement this method if your UserStepDecorator takes arguments. It replaces the
121
- __init__ method in traditional Python classes.
122
-
123
-
124
- As an example:
125
- ```
126
- class MyDecorator(UserStepDecorator):
127
- def init(self, *args, **kwargs):
128
- self.arg1 = kwargs.get("arg1", None)
129
- self.arg2 = kwargs.get("arg2", None)
130
- # Do something with the arguments
131
- ```
132
-
133
- can then be used as
134
- ```
135
- @MyDecorator(arg1=42, arg2=conf_expr("config.my_arg2"))
136
- @step
137
- def start(self):
138
- pass
139
- ```
140
- """
141
- ...
142
- def pre_step(self, step_name: str, flow: "metaflow.flowspec.FlowSpec", inputs: typing.Optional["metaflow.datastore.inputs.Inputs"] = None) -> typing.Optional[typing.Callable[["metaflow.flowspec.FlowSpec", typing.Optional[typing.Any]], typing.Any]]:
143
- """
144
- Implement this method to perform any action prior to the execution of a step.
145
-
146
- It should return either None to execute anything wrapped by this step decorator
147
- as usual or a callable that will be called instead.
148
-
149
- Parameters
150
- ----------
151
- step_name: str
152
- The name of the step being decorated.
153
- flow: FlowSpec
154
- The flow object to which the step belongs.
155
- inputs: Optional[List[FlowSpec]]
156
- The inputs to the step being decorated. This is only provided for join steps
157
- and is None for all other steps.
158
-
159
- Returns
160
- -------
161
- Optional[Callable[FlowSpec, Optional[Any]]]
162
- An optional function to use instead of the wrapped step. Note that the function
163
- returned should match the signature of the step being wrapped (join steps
164
- take an additional "inputs" argument).
165
- """
166
- ...
167
- def post_step(self, step_name: str, flow: "metaflow.flowspec.FlowSpec", exception: typing.Optional[Exception] = None):
168
- """
169
- Implement this method to perform any action after the execution of a step.
170
-
171
- If the step (or any code being wrapped by this decorator) raises an exception,
172
- it will be passed here and can either be caught (in which case the step will
173
- be considered as successful) or re-raised (in which case the entire step
174
- will be considered a failure unless another decorator catches the execption).
175
-
176
- Note that this method executes *before* artifacts are stored in the datastore
177
- so it is able to modify, add or remove artifacts from `flow`.
178
-
179
- Parameters
180
- ----------
181
- step_name: str
182
- The name of the step being decorated.
183
- flow: FlowSpec
184
- The flow object to which the step belongs.
185
- exception: Optional[Exception]
186
- The exception raised during the step execution, if any.
187
- """
188
- ...
189
- @property
190
- def skip_step(self) -> typing.Union[bool, typing.Dict[str, typing.Any]]:
191
- """
192
- Returns whether or not the step (or rather anything wrapped by this decorator)
193
- should be skipped
194
-
195
- Returns
196
- -------
197
- Union[bool, Dict[str, Any]]
198
- False if the step should not be skipped. True if it should be skipped and
199
- a dictionary if it should be skipped and the values passed in used as
200
- the arguments to the self.next call.
201
- """
202
- ...
203
- @skip_step.setter
204
- def skip_step(self, value: typing.Union[bool, typing.Dict[str, typing.Any]]):
205
- """
206
- Set the skip_step property. You can set it to:
207
- - True to skip the step
208
- - False to not skip the step (default)
209
- - A dictionary with the keys valid in the `self.next` call.
210
-
211
- Parameters
212
- ----------
213
- value: Union[bool, Dict[str, Any]]
214
- True/False or a dictionary with the keys valid in the `self.next` call.
215
- """
216
- ...
217
- ...
218
-
219
- def user_step_decorator(*args, **kwargs):
220
- """
221
- Use this decorator to transform a generator function into a user step decorator.
222
-
223
- As an example:
224
-
225
- ```
226
- @user_step_decorator
227
- def timing(step_name, flow, inputs):
228
- start_time = time.time()
229
- yield
230
- end_time = time.time()
231
- flow.artifact_total_time = end_time - start_time
232
- print(f"Step {step_name} took {flow.artifact_total_time} seconds")
233
- ```
234
- which can then be used as:
235
-
236
- ```
237
- @timing
238
- @step
239
- def start(self):
240
- print("Hello, world!")
241
- ```
242
-
243
- Your generator should:
244
- - yield at most once -- if you do not yield, the step will not execute.
245
- - yield:
246
- - None
247
- - a callable that will replace whatever is being wrapped (it
248
- should have the same parameters as the wrapped function, namely, it should
249
- be a
250
- Callable[[FlowSpec, Inputs], Optional[Union[Dict[str, Any]]]]).
251
- Note that the return type is a bit different -- you can return:
252
- - None: no special behavior;
253
- - A dictionary containing parameters for `self.next()`.
254
- - a dictionary to skip the step. An empty dictionary is equivalent
255
- to just skipping the step. A full dictionary will pass the arguments
256
- to the `self.next()` call -- this allows you to modify the behavior
257
- of `self.next` (for example, changing the `foreach` values. We provide
258
- USER_SKIP_STEP as a special value that is equivalent to {}.
259
-
260
-
261
- You are able to catch exceptions thrown by the yield statement (ie: coming from the
262
- wrapped code). Catching and not re-raising the exception will make the step
263
- successful.
264
-
265
- Note that you are able to modify the step's artifact after the yield.
266
-
267
- For more complex use cases, you can use the `UserStepDecorator` class directly which
268
- allows more control.
269
- """
270
- ...
271
-
272
- class StepMutator(UserStepDecoratorBase, metaclass=UserStepDecoratorMeta):
273
- """
274
- Derive from this class to implement a step mutator.
275
-
276
- A step mutator allows you to introspect a step and add decorators to it. You can
277
- use values available through configurations to determine how to mutate the step.
278
-
279
- There are two main methods provided:
280
- - pre_mutate: called as early as possible right after configuration values are read.
281
- - mutate: called right after all the command line is parsed but before any
282
- Metaflow decorators are applied.
283
- """
284
- def init(self, *args, **kwargs):
285
- """
286
- Implement this method if you wish for your StepMutator to take in arguments.
287
-
288
- Your step-mutator can then look like:
289
-
290
- @MyMutator(arg1, arg2)
291
- @step
292
- def my_step(self):
293
- pass
294
-
295
- It is an error to use your mutator with arguments but not implement this method.
296
- """
297
- ...
298
- def pre_mutate(self, mutable_step: "metaflow.user_decorators.mutable_step.MutableStep"):
299
- """
300
- Method called right after all configuration values are read.
301
-
302
- Parameters
303
- ----------
304
- mutable_step : metaflow.user_decorators.mutable_step.MutableStep
305
- A representation of this step
306
- """
307
- ...
308
- def mutate(self, mutable_step: "metaflow.user_decorators.mutable_step.MutableStep"):
309
- """
310
- Method called right before the first Metaflow decorator is applied. This
311
- means that the command line, including all `--with` options has been parsed.
312
-
313
- Parameters
314
- ----------
315
- mutable_step : metaflow.user_decorators.mutable_step.MutableStep
316
- A representation of this step
317
- """
318
- ...
319
- @classmethod
320
- def __init_subclass__(cls_, **_kwargs):
321
- ...
322
- ...
323
-