ob-metaflow-stubs 6.0.3.137__tar.gz → 6.0.3.139__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. {ob-metaflow-stubs-6.0.3.137/ob_metaflow_stubs.egg-info → ob-metaflow-stubs-6.0.3.139}/PKG-INFO +1 -1
  2. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/__init__.pyi +189 -189
  3. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cards.pyi +2 -2
  4. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cli.pyi +2 -2
  5. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cli_components/__init__.pyi +2 -2
  6. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cli_components/utils.pyi +2 -2
  7. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/client/__init__.pyi +2 -2
  8. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/client/core.pyi +4 -4
  9. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/client/filecache.pyi +3 -3
  10. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/events.pyi +2 -2
  11. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/exception.pyi +2 -2
  12. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/flowspec.pyi +5 -5
  13. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/generated_for.txt +1 -0
  14. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/includefile.pyi +3 -3
  15. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/info_file.pyi +2 -2
  16. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  17. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  18. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  19. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metadata_provider/util.pyi +2 -2
  20. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metaflow_config.pyi +2 -2
  21. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metaflow_current.pyi +97 -97
  22. {ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities → ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions}/__init__.pyi +2 -2
  23. {ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions → ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint}/__init__.pyi +2 -2
  24. {ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint → ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins}/__init__.pyi +2 -2
  25. {ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins → ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities}/__init__.pyi +2 -2
  26. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +6 -0
  27. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/async_cards.pyi +3 -3
  28. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/deco_injection_mixin.pyi +2 -2
  29. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/extra_components.pyi +3 -3
  30. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +6 -0
  31. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +6 -0
  32. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/checkpoint_lister.pyi +3 -3
  33. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/lineage_card.pyi +2 -2
  34. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +6 -6
  35. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/constructors.pyi +2 -2
  36. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/core.pyi +6 -3
  37. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/decorator.pyi +54 -4
  38. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/exceptions.pyi +2 -2
  39. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +38 -13
  40. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/lineage.pyi +2 -2
  41. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +6 -0
  42. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/core.pyi +3 -3
  43. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/exceptions.pyi +2 -2
  44. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/task_utils.pyi +2 -2
  45. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/utils.pyi +2 -2
  46. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +2 -2
  47. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
  48. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +6 -0
  49. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/decorator.pyi +3 -3
  50. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +6 -0
  51. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/core.pyi +3 -3
  52. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/exceptions.pyi +2 -2
  53. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/model_storage.pyi +3 -3
  54. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +6 -0
  55. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/flowspec_utils.pyi +2 -2
  56. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/general.pyi +2 -2
  57. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +2 -2
  58. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +6 -0
  59. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/base.pyi +2 -2
  60. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/tar.pyi +2 -2
  61. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +2 -2
  62. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +6 -0
  63. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +6 -0
  64. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +6 -0
  65. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/snowflake.pyi +2 -2
  66. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +6 -0
  67. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
  68. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +2 -2
  69. ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +6 -0
  70. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
  71. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/multicore_utils.pyi +2 -2
  72. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/parameters.pyi +3 -3
  73. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/__init__.pyi +12 -12
  74. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  75. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  76. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  77. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  78. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  79. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  80. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  81. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  82. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  83. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  84. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_workflows.pyi +2 -2
  85. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  86. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +3 -3
  87. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +3 -3
  88. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  89. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  90. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  91. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  92. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  93. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  94. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  95. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  96. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  97. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  98. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  99. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  100. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  101. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  102. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
  103. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
  104. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  105. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  106. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  107. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  108. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  109. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  110. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  111. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/__init__.pyi +6 -6
  112. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_client.pyi +2 -2
  113. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  114. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  115. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  116. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  117. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  118. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  119. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/components.pyi +3 -3
  120. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  121. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  122. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  123. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  124. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  125. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
  126. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  127. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  128. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
  129. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  130. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/s3/s3.pyi +2 -2
  131. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  132. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  133. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
  134. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  135. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  136. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
  137. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  138. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  139. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  140. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  141. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  142. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  143. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  144. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  145. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  146. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
  147. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  148. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  149. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  150. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  151. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  152. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  153. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/perimeters.pyi +2 -2
  154. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
  155. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
  156. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  157. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/conda_environment.pyi +2 -2
  158. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  159. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  160. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  161. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  162. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  163. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  164. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  165. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  166. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/snowflake/__init__.pyi +2 -2
  167. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
  168. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  169. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  170. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/profilers/__init__.pyi +2 -2
  171. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/pylint_wrapper.pyi +2 -2
  172. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/__init__.pyi +2 -2
  173. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/deployer.pyi +28 -28
  174. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/deployer_impl.pyi +2 -2
  175. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/metaflow_runner.pyi +4 -4
  176. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
  177. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/nbrun.pyi +2 -2
  178. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  179. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/utils.pyi +3 -3
  180. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/system/__init__.pyi +2 -2
  181. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/system/system_logger.pyi +2 -2
  182. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/system/system_monitor.pyi +2 -2
  183. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/tagging_util.pyi +2 -2
  184. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/tuple_util.pyi +2 -2
  185. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/user_configs/__init__.pyi +2 -2
  186. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/user_configs/config_decorators.pyi +6 -6
  187. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/user_configs/config_options.pyi +2 -2
  188. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/user_configs/config_parameters.pyi +6 -6
  189. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139/ob_metaflow_stubs.egg-info}/PKG-INFO +1 -1
  190. ob-metaflow-stubs-6.0.3.139/version.py +1 -0
  191. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/generated_for.txt +0 -1
  192. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +0 -6
  193. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +0 -6
  194. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +0 -6
  195. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +0 -6
  196. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +0 -6
  197. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +0 -6
  198. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +0 -6
  199. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +0 -6
  200. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +0 -6
  201. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +0 -6
  202. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +0 -6
  203. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +0 -6
  204. ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +0 -6
  205. ob-metaflow-stubs-6.0.3.137/version.py +0 -1
  206. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/MANIFEST.in +0 -0
  207. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/README.md +0 -0
  208. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/py.typed +0 -0
  209. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/ob_metaflow_stubs.egg-info/SOURCES.txt +0 -0
  210. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/ob_metaflow_stubs.egg-info/dependency_links.txt +0 -0
  211. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/ob_metaflow_stubs.egg-info/top_level.txt +0 -0
  212. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/setup.cfg +0 -0
  213. {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ob-metaflow-stubs
3
- Version: 6.0.3.137
3
+ Version: 6.0.3.139
4
4
  Summary: Metaflow Stubs: Stubs for the metaflow package
5
5
  Author: Netflix, Outerbounds & the Metaflow Community
6
6
  Author-email: help@outerbounds.co
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.9.1+obcheckpoint(0.1.7);ob(v1) #
4
- # Generated on 2025-02-03T17:09:26.636126 #
3
+ # MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
4
+ # Generated on 2025-02-07T01:44:39.667412 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -36,8 +36,8 @@ from .user_configs.config_parameters import config_expr as config_expr
36
36
  from .user_configs.config_decorators import CustomFlowDecorator as CustomFlowDecorator
37
37
  from .user_configs.config_decorators import CustomStepDecorator as CustomStepDecorator
38
38
  from . import cards as cards
39
- from . import events as events
40
39
  from . import tuple_util as tuple_util
40
+ from . import events as events
41
41
  from . import runner as runner
42
42
  from . import plugins as plugins
43
43
  from .mf_extensions.outerbounds.toplevel.global_aliases_for_metaflow_package import S3 as S3
@@ -147,109 +147,56 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
147
147
  ...
148
148
 
149
149
  @typing.overload
150
- def environment(*, vars: typing.Dict[str, str] = {}) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
150
+ def secrets(*, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
151
151
  """
152
- Specifies environment variables to be set prior to the execution of a step.
152
+ Specifies secrets to be retrieved and injected as environment variables prior to
153
+ the execution of a step.
153
154
  """
154
155
  ...
155
156
 
156
157
  @typing.overload
157
- def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
158
+ def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
158
159
  ...
159
160
 
160
161
  @typing.overload
161
- def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
162
+ def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
162
163
  ...
163
164
 
164
- def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
165
+ def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []):
165
166
  """
166
- Specifies environment variables to be set prior to the execution of a step.
167
+ Specifies secrets to be retrieved and injected as environment variables prior to
168
+ the execution of a step.
167
169
  """
168
170
  ...
169
171
 
170
172
  @typing.overload
171
- def conda(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
173
+ def pypi(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
172
174
  """
173
- Specifies the Conda environment for the step.
175
+ Specifies the PyPI packages for the step.
174
176
 
175
177
  Information in this decorator will augment any
176
- attributes set in the `@conda_base` flow-level decorator. Hence,
177
- you can use `@conda_base` to set packages required by all
178
- steps and use `@conda` to specify step-specific overrides.
178
+ attributes set in the `@pyi_base` flow-level decorator. Hence,
179
+ you can use `@pypi_base` to set packages required by all
180
+ steps and use `@pypi` to specify step-specific overrides.
179
181
  """
180
182
  ...
181
183
 
182
184
  @typing.overload
183
- def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
185
+ def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
184
186
  ...
185
187
 
186
188
  @typing.overload
187
- def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
189
+ def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
188
190
  ...
189
191
 
190
- def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
192
+ def pypi(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
191
193
  """
192
- Specifies the Conda environment for the step.
194
+ Specifies the PyPI packages for the step.
193
195
 
194
196
  Information in this decorator will augment any
195
- attributes set in the `@conda_base` flow-level decorator. Hence,
196
- you can use `@conda_base` to set packages required by all
197
- steps and use `@conda` to specify step-specific overrides.
198
- """
199
- ...
200
-
201
- @typing.overload
202
- def resources(*, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
203
- """
204
- Specifies the resources needed when executing this step.
205
-
206
- Use `@resources` to specify the resource requirements
207
- independently of the specific compute layer (`@batch`, `@kubernetes`).
208
-
209
- You can choose the compute layer on the command line by executing e.g.
210
- ```
211
- python myflow.py run --with batch
212
- ```
213
- or
214
- ```
215
- python myflow.py run --with kubernetes
216
- ```
217
- which executes the flow on the desired system using the
218
- requirements specified in `@resources`.
219
- """
220
- ...
221
-
222
- @typing.overload
223
- def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
224
- ...
225
-
226
- @typing.overload
227
- def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
228
- ...
229
-
230
- def resources(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None):
231
- """
232
- Specifies the resources needed when executing this step.
233
-
234
- Use `@resources` to specify the resource requirements
235
- independently of the specific compute layer (`@batch`, `@kubernetes`).
236
-
237
- You can choose the compute layer on the command line by executing e.g.
238
- ```
239
- python myflow.py run --with batch
240
- ```
241
- or
242
- ```
243
- python myflow.py run --with kubernetes
244
- ```
245
- which executes the flow on the desired system using the
246
- requirements specified in `@resources`.
247
- """
248
- ...
249
-
250
- def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: typing.Optional[str] = None, image_pull_policy: str = 'KUBERNETES_IMAGE_PULL_POLICY', service_account: str = 'METAFLOW_KUBERNETES_SERVICE_ACCOUNT', secrets: typing.Optional[typing.List[str]] = None, node_selector: typing.Union[typing.Dict[str, str], str, None] = None, namespace: str = 'METAFLOW_KUBERNETES_NAMESPACE', gpu: typing.Optional[int] = None, gpu_vendor: str = 'KUBERNETES_GPU_VENDOR', tolerations: typing.List[str] = [], labels: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_LABELS', annotations: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_ANNOTATIONS', use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = '/metaflow_temp', persistent_volume_claims: typing.Optional[typing.Dict[str, str]] = None, shared_memory: typing.Optional[int] = None, port: typing.Optional[int] = None, compute_pool: typing.Optional[str] = None, hostname_resolution_timeout: int = 600, qos: str = 'Burstable') -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
251
- """
252
- Specifies that this step should execute on Kubernetes.
197
+ attributes set in the `@pyi_base` flow-level decorator. Hence,
198
+ you can use `@pypi_base` to set packages required by all
199
+ steps and use `@pypi` to specify step-specific overrides.
253
200
  """
254
201
  ...
255
202
 
@@ -278,6 +225,12 @@ def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typ
278
225
  """
279
226
  ...
280
227
 
228
+ def nvidia(*, gpu: int, gpu_type: str, queue_timeout: int) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
229
+ """
230
+ Specifies that this step should execute on DGX cloud.
231
+ """
232
+ ...
233
+
281
234
  @typing.overload
282
235
  def timeout(*, seconds: int = 0, minutes: int = 0, hours: int = 0) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
283
236
  """
@@ -318,54 +271,97 @@ def timeout(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
318
271
  ...
319
272
 
320
273
  @typing.overload
321
- def checkpoint(*, load_policy: str = 'fresh', temp_dir_root: str = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
274
+ def catch(*, var: typing.Optional[str] = None, print_exception: bool = True) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
322
275
  """
323
- Enables checkpointing for a step.
276
+ Specifies that the step will success under all circumstances.
277
+
278
+ The decorator will create an optional artifact, specified by `var`, which
279
+ contains the exception raised. You can use it to detect the presence
280
+ of errors, indicating that all happy-path artifacts produced by the step
281
+ are missing.
324
282
  """
325
283
  ...
326
284
 
327
285
  @typing.overload
328
- def checkpoint(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
286
+ def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
329
287
  ...
330
288
 
331
289
  @typing.overload
332
- def checkpoint(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
290
+ def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
333
291
  ...
334
292
 
335
- def checkpoint(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, load_policy: str = 'fresh', temp_dir_root: str = None):
293
+ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, var: typing.Optional[str] = None, print_exception: bool = True):
336
294
  """
337
- Enables checkpointing for a step.
295
+ Specifies that the step will success under all circumstances.
296
+
297
+ The decorator will create an optional artifact, specified by `var`, which
298
+ contains the exception raised. You can use it to detect the presence
299
+ of errors, indicating that all happy-path artifacts produced by the step
300
+ are missing.
338
301
  """
339
302
  ...
340
303
 
341
304
  @typing.overload
342
- def pypi(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
305
+ def retry(*, times: int = 3, minutes_between_retries: int = 2) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
343
306
  """
344
- Specifies the PyPI packages for the step.
307
+ Specifies the number of times the task corresponding
308
+ to a step needs to be retried.
345
309
 
346
- Information in this decorator will augment any
347
- attributes set in the `@pyi_base` flow-level decorator. Hence,
348
- you can use `@pypi_base` to set packages required by all
349
- steps and use `@pypi` to specify step-specific overrides.
310
+ This decorator is useful for handling transient errors, such as networking issues.
311
+ If your task contains operations that can't be retried safely, e.g. database updates,
312
+ it is advisable to annotate it with `@retry(times=0)`.
313
+
314
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
315
+ decorator will execute a no-op task after all retries have been exhausted,
316
+ ensuring that the flow execution can continue.
350
317
  """
351
318
  ...
352
319
 
353
320
  @typing.overload
354
- def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
321
+ def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
355
322
  ...
356
323
 
357
324
  @typing.overload
358
- def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
325
+ def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
359
326
  ...
360
327
 
361
- def pypi(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
328
+ def retry(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, times: int = 3, minutes_between_retries: int = 2):
362
329
  """
363
- Specifies the PyPI packages for the step.
330
+ Specifies the number of times the task corresponding
331
+ to a step needs to be retried.
364
332
 
365
- Information in this decorator will augment any
366
- attributes set in the `@pyi_base` flow-level decorator. Hence,
367
- you can use `@pypi_base` to set packages required by all
368
- steps and use `@pypi` to specify step-specific overrides.
333
+ This decorator is useful for handling transient errors, such as networking issues.
334
+ If your task contains operations that can't be retried safely, e.g. database updates,
335
+ it is advisable to annotate it with `@retry(times=0)`.
336
+
337
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
338
+ decorator will execute a no-op task after all retries have been exhausted,
339
+ ensuring that the flow execution can continue.
340
+ """
341
+ ...
342
+
343
+ @typing.overload
344
+ def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
345
+ """
346
+ Decorator prototype for all step decorators. This function gets specialized
347
+ and imported for all decorators types by _import_plugin_decorators().
348
+ """
349
+ ...
350
+
351
+ @typing.overload
352
+ def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
353
+ ...
354
+
355
+ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
356
+ """
357
+ Decorator prototype for all step decorators. This function gets specialized
358
+ and imported for all decorators types by _import_plugin_decorators().
359
+ """
360
+ ...
361
+
362
+ def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: typing.Optional[str] = None, image_pull_policy: str = 'KUBERNETES_IMAGE_PULL_POLICY', service_account: str = 'METAFLOW_KUBERNETES_SERVICE_ACCOUNT', secrets: typing.Optional[typing.List[str]] = None, node_selector: typing.Union[typing.Dict[str, str], str, None] = None, namespace: str = 'METAFLOW_KUBERNETES_NAMESPACE', gpu: typing.Optional[int] = None, gpu_vendor: str = 'KUBERNETES_GPU_VENDOR', tolerations: typing.List[str] = [], labels: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_LABELS', annotations: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_ANNOTATIONS', use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = '/metaflow_temp', persistent_volume_claims: typing.Optional[typing.Dict[str, str]] = None, shared_memory: typing.Optional[int] = None, port: typing.Optional[int] = None, compute_pool: typing.Optional[str] = None, hostname_resolution_timeout: int = 600, qos: str = 'Burstable') -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
363
+ """
364
+ Specifies that this step should execute on Kubernetes.
369
365
  """
370
366
  ...
371
367
 
@@ -387,70 +383,72 @@ def fast_bakery_internal(f: typing.Union[typing.Callable[[FlowSpecDerived, StepF
387
383
  ...
388
384
 
389
385
  @typing.overload
390
- def retry(*, times: int = 3, minutes_between_retries: int = 2) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
386
+ def resources(*, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
391
387
  """
392
- Specifies the number of times the task corresponding
393
- to a step needs to be retried.
388
+ Specifies the resources needed when executing this step.
394
389
 
395
- This decorator is useful for handling transient errors, such as networking issues.
396
- If your task contains operations that can't be retried safely, e.g. database updates,
397
- it is advisable to annotate it with `@retry(times=0)`.
390
+ Use `@resources` to specify the resource requirements
391
+ independently of the specific compute layer (`@batch`, `@kubernetes`).
398
392
 
399
- This can be used in conjunction with the `@catch` decorator. The `@catch`
400
- decorator will execute a no-op task after all retries have been exhausted,
401
- ensuring that the flow execution can continue.
393
+ You can choose the compute layer on the command line by executing e.g.
394
+ ```
395
+ python myflow.py run --with batch
396
+ ```
397
+ or
398
+ ```
399
+ python myflow.py run --with kubernetes
400
+ ```
401
+ which executes the flow on the desired system using the
402
+ requirements specified in `@resources`.
402
403
  """
403
404
  ...
404
405
 
405
406
  @typing.overload
406
- def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
407
+ def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
407
408
  ...
408
409
 
409
410
  @typing.overload
410
- def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
411
+ def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
411
412
  ...
412
413
 
413
- def retry(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, times: int = 3, minutes_between_retries: int = 2):
414
+ def resources(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None):
414
415
  """
415
- Specifies the number of times the task corresponding
416
- to a step needs to be retried.
416
+ Specifies the resources needed when executing this step.
417
417
 
418
- This decorator is useful for handling transient errors, such as networking issues.
419
- If your task contains operations that can't be retried safely, e.g. database updates,
420
- it is advisable to annotate it with `@retry(times=0)`.
418
+ Use `@resources` to specify the resource requirements
419
+ independently of the specific compute layer (`@batch`, `@kubernetes`).
421
420
 
422
- This can be used in conjunction with the `@catch` decorator. The `@catch`
423
- decorator will execute a no-op task after all retries have been exhausted,
424
- ensuring that the flow execution can continue.
421
+ You can choose the compute layer on the command line by executing e.g.
422
+ ```
423
+ python myflow.py run --with batch
424
+ ```
425
+ or
426
+ ```
427
+ python myflow.py run --with kubernetes
428
+ ```
429
+ which executes the flow on the desired system using the
430
+ requirements specified in `@resources`.
425
431
  """
426
432
  ...
427
433
 
428
434
  @typing.overload
429
- def secrets(*, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
435
+ def checkpoint(*, load_policy: str = 'fresh', temp_dir_root: str = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
430
436
  """
431
- Specifies secrets to be retrieved and injected as environment variables prior to
432
- the execution of a step.
437
+ Enables checkpointing for a step.
433
438
  """
434
439
  ...
435
440
 
436
441
  @typing.overload
437
- def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
442
+ def checkpoint(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
438
443
  ...
439
444
 
440
445
  @typing.overload
441
- def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
442
- ...
443
-
444
- def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []):
445
- """
446
- Specifies secrets to be retrieved and injected as environment variables prior to
447
- the execution of a step.
448
- """
446
+ def checkpoint(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
449
447
  ...
450
448
 
451
- def huggingface_hub(*, temp_dir_root: typing.Optional[str] = None, load: typing.Union[typing.List[str], typing.List[typing.Tuple[typing.Dict, str]], typing.List[typing.Tuple[str, str]], typing.List[typing.Dict], None]) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
449
+ def checkpoint(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, load_policy: str = 'fresh', temp_dir_root: str = None):
452
450
  """
453
- Decorator that helps cache, version and store models/datasets from huggingface hub.
451
+ Enables checkpointing for a step.
454
452
  """
455
453
  ...
456
454
 
@@ -476,58 +474,60 @@ def model(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
476
474
  ...
477
475
 
478
476
  @typing.overload
479
- def catch(*, var: typing.Optional[str] = None, print_exception: bool = True) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
477
+ def conda(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
480
478
  """
481
- Specifies that the step will success under all circumstances.
479
+ Specifies the Conda environment for the step.
482
480
 
483
- The decorator will create an optional artifact, specified by `var`, which
484
- contains the exception raised. You can use it to detect the presence
485
- of errors, indicating that all happy-path artifacts produced by the step
486
- are missing.
481
+ Information in this decorator will augment any
482
+ attributes set in the `@conda_base` flow-level decorator. Hence,
483
+ you can use `@conda_base` to set packages required by all
484
+ steps and use `@conda` to specify step-specific overrides.
487
485
  """
488
486
  ...
489
487
 
490
488
  @typing.overload
491
- def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
489
+ def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
492
490
  ...
493
491
 
494
492
  @typing.overload
495
- def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
493
+ def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
496
494
  ...
497
495
 
498
- def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, var: typing.Optional[str] = None, print_exception: bool = True):
496
+ def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
499
497
  """
500
- Specifies that the step will success under all circumstances.
498
+ Specifies the Conda environment for the step.
501
499
 
502
- The decorator will create an optional artifact, specified by `var`, which
503
- contains the exception raised. You can use it to detect the presence
504
- of errors, indicating that all happy-path artifacts produced by the step
505
- are missing.
500
+ Information in this decorator will augment any
501
+ attributes set in the `@conda_base` flow-level decorator. Hence,
502
+ you can use `@conda_base` to set packages required by all
503
+ steps and use `@conda` to specify step-specific overrides.
506
504
  """
507
505
  ...
508
506
 
509
- def nvidia(*, gpu: int, gpu_type: str, queue_timeout: int) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
507
+ @typing.overload
508
+ def environment(*, vars: typing.Dict[str, str] = {}) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
510
509
  """
511
- Specifies that this step should execute on DGX cloud.
510
+ Specifies environment variables to be set prior to the execution of a step.
512
511
  """
513
512
  ...
514
513
 
515
514
  @typing.overload
516
- def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
517
- """
518
- Decorator prototype for all step decorators. This function gets specialized
519
- and imported for all decorators types by _import_plugin_decorators().
520
- """
515
+ def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
521
516
  ...
522
517
 
523
518
  @typing.overload
524
- def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
519
+ def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
525
520
  ...
526
521
 
527
- def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
522
+ def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
528
523
  """
529
- Decorator prototype for all step decorators. This function gets specialized
530
- and imported for all decorators types by _import_plugin_decorators().
524
+ Specifies environment variables to be set prior to the execution of a step.
525
+ """
526
+ ...
527
+
528
+ def huggingface_hub(*, temp_dir_root: typing.Optional[str] = None, load: typing.Union[typing.List[str], typing.List[typing.Tuple[typing.Dict, str]], typing.List[typing.Tuple[str, str]], typing.List[typing.Dict], None]) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
529
+ """
530
+ Decorator that helps cache, version and store models/datasets from huggingface hub.
531
531
  """
532
532
  ...
533
533
 
@@ -642,40 +642,6 @@ def trigger_on_finish(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *
642
642
  """
643
643
  ...
644
644
 
645
- def airflow_s3_key_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, bucket_key: typing.Union[str, typing.List[str]], bucket_name: str, wildcard_match: bool, aws_conn_id: str, verify: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
646
- """
647
- The `@airflow_s3_key_sensor` decorator attaches a Airflow [S3KeySensor](https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/_api/airflow/providers/amazon/aws/sensors/s3/index.html#airflow.providers.amazon.aws.sensors.s3.S3KeySensor)
648
- before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
649
- and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
650
- added as a flow decorators. Adding more than one decorator will ensure that `start` step
651
- starts only after all sensors finish.
652
- """
653
- ...
654
-
655
- def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
656
- """
657
- This decorator is used to run NIM containers in Metaflow tasks as sidecars.
658
-
659
- User code call
660
- -----------
661
- @nim(
662
- models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
663
- backend='managed'
664
- )
665
-
666
- Valid backend options
667
- ---------------------
668
- - 'managed': Outerbounds selects a compute provider based on the model.
669
- - 🚧 'dataplane': Run in your account.
670
-
671
- Valid model options
672
- ----------------
673
- - 'meta/llama3-8b-instruct': 8B parameter model
674
- - 'meta/llama3-70b-instruct': 70B parameter model
675
- - Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
676
- """
677
- ...
678
-
679
645
  @typing.overload
680
646
  def schedule(*, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
681
647
  """
@@ -704,6 +670,30 @@ def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typ
704
670
  """
705
671
  ...
706
672
 
673
+ def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
674
+ """
675
+ This decorator is used to run NIM containers in Metaflow tasks as sidecars.
676
+
677
+ User code call
678
+ -----------
679
+ @nim(
680
+ models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
681
+ backend='managed'
682
+ )
683
+
684
+ Valid backend options
685
+ ---------------------
686
+ - 'managed': Outerbounds selects a compute provider based on the model.
687
+ - 🚧 'dataplane': Run in your account.
688
+
689
+ Valid model options
690
+ ----------------
691
+ - 'meta/llama3-8b-instruct': 8B parameter model
692
+ - 'meta/llama3-70b-instruct': 70B parameter model
693
+ - Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
694
+ """
695
+ ...
696
+
707
697
  @typing.overload
708
698
  def trigger(*, event: typing.Union[str, typing.Dict[str, typing.Any], None] = None, events: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = [], options: typing.Dict[str, typing.Any] = {}) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
709
699
  """
@@ -800,5 +790,15 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
800
790
  """
801
791
  ...
802
792
 
793
+ def airflow_s3_key_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, bucket_key: typing.Union[str, typing.List[str]], bucket_name: str, wildcard_match: bool, aws_conn_id: str, verify: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
794
+ """
795
+ The `@airflow_s3_key_sensor` decorator attaches a Airflow [S3KeySensor](https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/_api/airflow/providers/amazon/aws/sensors/s3/index.html#airflow.providers.amazon.aws.sensors.s3.S3KeySensor)
796
+ before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
797
+ and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
798
+ added as a flow decorators. Adding more than one decorator will ensure that `start` step
799
+ starts only after all sensors finish.
800
+ """
801
+ ...
802
+
803
803
  pkg_name: str
804
804
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.9.1+obcheckpoint(0.1.7);ob(v1) #
4
- # Generated on 2025-02-03T17:09:26.506477 #
3
+ # MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
4
+ # Generated on 2025-02-07T01:44:39.531852 #
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.13.9.1+obcheckpoint(0.1.7);ob(v1) #
4
- # Generated on 2025-02-03T17:09:26.520319 #
3
+ # MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
4
+ # Generated on 2025-02-07T01:44:39.546732 #
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.13.9.1+obcheckpoint(0.1.7);ob(v1) #
4
- # Generated on 2025-02-03T17:09:26.519125 #
3
+ # MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
4
+ # Generated on 2025-02-07T01:44:39.544814 #
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.13.9.1+obcheckpoint(0.1.7);ob(v1) #
4
- # Generated on 2025-02-03T17:09:26.544461 #
3
+ # MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
4
+ # Generated on 2025-02-07T01:44:39.572776 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations