ob-metaflow-stubs 6.0.3.129__tar.gz → 6.0.3.130__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.129/ob_metaflow_stubs.egg-info → ob-metaflow-stubs-6.0.3.130}/PKG-INFO +1 -1
  2. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/__init__.pyi +168 -168
  3. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/cards.pyi +2 -2
  4. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/cli.pyi +2 -2
  5. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/cli_components/__init__.pyi +2 -2
  6. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/cli_components/utils.pyi +2 -2
  7. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/client/__init__.pyi +2 -2
  8. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/client/core.pyi +5 -5
  9. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/client/filecache.pyi +3 -3
  10. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/events.pyi +3 -3
  11. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/exception.pyi +2 -2
  12. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/flowspec.pyi +4 -4
  13. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/generated_for.txt +1 -0
  14. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/includefile.pyi +4 -4
  15. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/info_file.pyi +2 -2
  16. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  17. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  18. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  19. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/metadata_provider/util.pyi +2 -2
  20. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/metaflow_config.pyi +4 -2
  21. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/metaflow_current.pyi +77 -77
  22. {ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities → ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions}/__init__.pyi +2 -2
  23. {ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions → ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint}/__init__.pyi +2 -2
  24. {ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint → ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins}/__init__.pyi +2 -2
  25. {ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins → ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities}/__init__.pyi +2 -2
  26. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +6 -0
  27. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/async_cards.pyi +2 -2
  28. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/deco_injection_mixin.pyi +2 -2
  29. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/extra_components.pyi +3 -3
  30. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +6 -0
  31. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +6 -0
  32. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/checkpoint_lister.pyi +6 -6
  33. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/lineage_card.pyi +2 -2
  34. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +4 -4
  35. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/constructors.pyi +2 -2
  36. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/core.pyi +4 -4
  37. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/decorator.pyi +4 -4
  38. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/exceptions.pyi +2 -2
  39. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +2 -2
  40. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/lineage.pyi +2 -2
  41. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +6 -0
  42. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/core.pyi +2 -2
  43. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/exceptions.pyi +2 -2
  44. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/task_utils.pyi +3 -3
  45. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/utils.pyi +2 -2
  46. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +3 -3
  47. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
  48. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +6 -0
  49. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/decorator.pyi +2 -2
  50. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +6 -0
  51. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/core.pyi +2 -2
  52. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/exceptions.pyi +2 -2
  53. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/model_storage.pyi +4 -4
  54. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +6 -0
  55. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/flowspec_utils.pyi +2 -2
  56. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/general.pyi +2 -2
  57. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +2 -2
  58. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +6 -0
  59. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/base.pyi +2 -2
  60. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/tar.pyi +3 -3
  61. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +3 -3
  62. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +6 -0
  63. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +6 -0
  64. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +6 -0
  65. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/snowflake.pyi +2 -2
  66. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +6 -0
  67. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
  68. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +2 -2
  69. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +6 -0
  70. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
  71. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/multicore_utils.pyi +2 -2
  72. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/parameters.pyi +4 -4
  73. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/__init__.pyi +12 -12
  74. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  75. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  76. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  77. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  78. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  79. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  80. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  81. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  82. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  83. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  84. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/argo/argo_workflows.pyi +2 -8
  85. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -5
  86. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  87. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -4
  88. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  89. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  90. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  91. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  92. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  93. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  94. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +9 -10
  95. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  96. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  97. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  98. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  99. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  100. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  101. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  102. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +4 -4
  103. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -4
  104. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  105. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  106. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  107. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  108. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  109. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  110. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  111. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  112. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_client.pyi +2 -2
  113. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  114. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  115. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  116. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  117. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  118. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  119. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_modules/components.pyi +3 -3
  120. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  121. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  122. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  123. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  124. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  125. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
  126. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  127. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  128. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
  129. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  130. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/datatools/s3/s3.pyi +3 -3
  131. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  132. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  133. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
  134. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  135. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  136. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
  137. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  138. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  139. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  140. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  141. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  142. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  143. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  144. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  145. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/kubernetes/__init__.pyi +3 -2
  146. ob-metaflow-stubs-6.0.3.130/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +43 -0
  147. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +4 -21
  148. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  149. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +12 -3
  150. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +10 -4
  151. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  152. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/perimeters.pyi +2 -2
  153. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
  154. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  155. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  156. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/pypi/conda_environment.pyi +4 -4
  157. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  158. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  159. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/pypi/utils.pyi +6 -2
  160. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  161. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  162. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  163. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  164. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  165. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/snowflake/__init__.pyi +2 -2
  166. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
  167. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +2 -2
  168. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  169. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/profilers/__init__.pyi +2 -2
  170. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/pylint_wrapper.pyi +2 -2
  171. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/runner/__init__.pyi +2 -2
  172. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/runner/deployer.pyi +30 -30
  173. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/runner/deployer_impl.pyi +2 -2
  174. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/runner/metaflow_runner.pyi +3 -3
  175. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
  176. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/runner/nbrun.pyi +2 -2
  177. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  178. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/runner/utils.pyi +2 -2
  179. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/system/__init__.pyi +2 -2
  180. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/system/system_logger.pyi +3 -3
  181. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/system/system_monitor.pyi +2 -2
  182. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/tagging_util.pyi +2 -2
  183. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/tuple_util.pyi +2 -2
  184. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/user_configs/__init__.pyi +2 -2
  185. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/user_configs/config_decorators.pyi +6 -6
  186. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/user_configs/config_options.pyi +3 -3
  187. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/user_configs/config_parameters.pyi +5 -5
  188. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130/ob_metaflow_stubs.egg-info}/PKG-INFO +1 -1
  189. ob-metaflow-stubs-6.0.3.130/version.py +1 -0
  190. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/generated_for.txt +0 -1
  191. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +0 -6
  192. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +0 -6
  193. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +0 -6
  194. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +0 -6
  195. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +0 -6
  196. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +0 -6
  197. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +0 -6
  198. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +0 -6
  199. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +0 -6
  200. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +0 -6
  201. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +0 -6
  202. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +0 -6
  203. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +0 -6
  204. ob-metaflow-stubs-6.0.3.129/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +0 -20
  205. ob-metaflow-stubs-6.0.3.129/version.py +0 -1
  206. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/MANIFEST.in +0 -0
  207. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/README.md +0 -0
  208. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/metaflow-stubs/py.typed +0 -0
  209. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/ob_metaflow_stubs.egg-info/SOURCES.txt +0 -0
  210. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/ob_metaflow_stubs.egg-info/dependency_links.txt +0 -0
  211. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/ob_metaflow_stubs.egg-info/top_level.txt +0 -0
  212. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/setup.cfg +0 -0
  213. {ob-metaflow-stubs-6.0.3.129 → ob-metaflow-stubs-6.0.3.130}/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.129
3
+ Version: 6.0.3.130
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,15 +1,15 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.779274 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.764131 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import datetime
12
11
  import typing
12
+ import datetime
13
13
  FlowSpecDerived = typing.TypeVar("FlowSpecDerived", bound="FlowSpec", contravariant=False, covariant=False)
14
14
  StepFlag = typing.NewType("StepFlag", bool)
15
15
 
@@ -35,9 +35,9 @@ from .user_configs.config_parameters import ConfigValue as ConfigValue
35
35
  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
+ from . import tuple_util as tuple_util
38
39
  from . import cards as cards
39
40
  from . import events as events
40
- from . import tuple_util as tuple_util
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
@@ -146,24 +146,15 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
146
146
  """
147
147
  ...
148
148
 
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]]]:
149
+ 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]]]:
151
150
  """
152
- Specifies environment variables to be set prior to the execution of a step.
151
+ Specifies that this step should execute on Kubernetes.
153
152
  """
154
153
  ...
155
154
 
156
- @typing.overload
157
- def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
158
- ...
159
-
160
- @typing.overload
161
- def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
162
- ...
163
-
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] = {}):
155
+ 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]]]:
165
156
  """
166
- Specifies environment variables to be set prior to the execution of a step.
157
+ Decorator that helps cache, version and store models/datasets from huggingface hub.
167
158
  """
168
159
  ...
169
160
 
@@ -207,39 +198,41 @@ def retry(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
207
198
  ...
208
199
 
209
200
  @typing.overload
210
- def card(*, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45) -> 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]]]:
201
+ 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]]]:
211
202
  """
212
- Creates a human-readable report, a Metaflow Card, after this step completes.
203
+ Specifies a timeout for your step.
213
204
 
214
- Note that you may add multiple `@card` decorators in a step with different parameters.
205
+ This decorator is useful if this step may hang indefinitely.
206
+
207
+ This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
208
+ A timeout is considered to be an exception thrown by the step. It will cause the step to be
209
+ retried if needed and the exception will be caught by the `@catch` decorator, if present.
210
+
211
+ Note that all the values specified in parameters are added together so if you specify
212
+ 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
215
213
  """
216
214
  ...
217
215
 
218
216
  @typing.overload
219
- def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
217
+ def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
220
218
  ...
221
219
 
222
220
  @typing.overload
223
- def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
221
+ def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
224
222
  ...
225
223
 
226
- def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45):
224
+ def timeout(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, seconds: int = 0, minutes: int = 0, hours: int = 0):
227
225
  """
228
- Creates a human-readable report, a Metaflow Card, after this step completes.
226
+ Specifies a timeout for your step.
229
227
 
230
- Note that you may add multiple `@card` decorators in a step with different parameters.
231
- """
232
- ...
233
-
234
- 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]]]:
235
- """
236
- Decorator that helps cache, version and store models/datasets from huggingface hub.
237
- """
238
- ...
239
-
240
- def nvidia(*, gpu: int, gpu_type: 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]]]:
241
- """
242
- Specifies that this step should execute on DGX cloud.
228
+ This decorator is useful if this step may hang indefinitely.
229
+
230
+ This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
231
+ A timeout is considered to be an exception thrown by the step. It will cause the step to be
232
+ retried if needed and the exception will be caught by the `@catch` decorator, if present.
233
+
234
+ Note that all the values specified in parameters are added together so if you specify
235
+ 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
243
236
  """
244
237
  ...
245
238
 
@@ -275,47 +268,80 @@ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
275
268
  ...
276
269
 
277
270
  @typing.overload
278
- 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]]]:
271
+ def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
279
272
  """
280
- Specifies a timeout for your step.
281
-
282
- This decorator is useful if this step may hang indefinitely.
283
-
284
- This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
285
- A timeout is considered to be an exception thrown by the step. It will cause the step to be
286
- retried if needed and the exception will be caught by the `@catch` decorator, if present.
287
-
288
- Note that all the values specified in parameters are added together so if you specify
289
- 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
273
+ Decorator prototype for all step decorators. This function gets specialized
274
+ and imported for all decorators types by _import_plugin_decorators().
290
275
  """
291
276
  ...
292
277
 
293
278
  @typing.overload
294
- def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
279
+ def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
280
+ ...
281
+
282
+ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
283
+ """
284
+ Decorator prototype for all step decorators. This function gets specialized
285
+ and imported for all decorators types by _import_plugin_decorators().
286
+ """
295
287
  ...
296
288
 
297
289
  @typing.overload
298
- def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
290
+ 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]]]:
291
+ """
292
+ Enables checkpointing for a step.
293
+ """
299
294
  ...
300
295
 
301
- def timeout(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, seconds: int = 0, minutes: int = 0, hours: int = 0):
296
+ @typing.overload
297
+ def checkpoint(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
298
+ ...
299
+
300
+ @typing.overload
301
+ def checkpoint(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
302
+ ...
303
+
304
+ 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):
302
305
  """
303
- Specifies a timeout for your step.
304
-
305
- This decorator is useful if this step may hang indefinitely.
306
-
307
- This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
308
- A timeout is considered to be an exception thrown by the step. It will cause the step to be
309
- retried if needed and the exception will be caught by the `@catch` decorator, if present.
310
-
311
- Note that all the values specified in parameters are added together so if you specify
312
- 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
306
+ Enables checkpointing for a step.
313
307
  """
314
308
  ...
315
309
 
316
- 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] = [], 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]]]:
310
+ @typing.overload
311
+ 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]]]:
317
312
  """
318
- Specifies that this step should execute on Kubernetes.
313
+ Specifies environment variables to be set prior to the execution of a step.
314
+ """
315
+ ...
316
+
317
+ @typing.overload
318
+ def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
319
+ ...
320
+
321
+ @typing.overload
322
+ def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
323
+ ...
324
+
325
+ def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
326
+ """
327
+ Specifies environment variables to be set prior to the execution of a step.
328
+ """
329
+ ...
330
+
331
+ @typing.overload
332
+ def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
333
+ """
334
+ Internal decorator to support Fast bakery
335
+ """
336
+ ...
337
+
338
+ @typing.overload
339
+ def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
340
+ ...
341
+
342
+ def fast_bakery_internal(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
343
+ """
344
+ Internal decorator to support Fast bakery
319
345
  """
320
346
  ...
321
347
 
@@ -399,64 +425,9 @@ def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
399
425
  """
400
426
  ...
401
427
 
402
- @typing.overload
403
- def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
404
- """
405
- Decorator prototype for all step decorators. This function gets specialized
406
- and imported for all decorators types by _import_plugin_decorators().
407
- """
408
- ...
409
-
410
- @typing.overload
411
- def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
412
- ...
413
-
414
- def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
415
- """
416
- Decorator prototype for all step decorators. This function gets specialized
417
- and imported for all decorators types by _import_plugin_decorators().
418
- """
419
- ...
420
-
421
- @typing.overload
422
- def model(*, load: typing.Union[typing.List[str], str, typing.List[typing.Tuple[str, typing.Optional[str]]]] = None, 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]]]:
423
- """
424
- Enables loading / saving of models within a step.
425
- """
426
- ...
427
-
428
- @typing.overload
429
- def model(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
430
- ...
431
-
432
- @typing.overload
433
- def model(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
434
- ...
435
-
436
- def model(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, load: typing.Union[typing.List[str], str, typing.List[typing.Tuple[str, typing.Optional[str]]]] = None, temp_dir_root: str = None):
437
- """
438
- Enables loading / saving of models within a step.
439
- """
440
- ...
441
-
442
- @typing.overload
443
- 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]]]:
444
- """
445
- Enables checkpointing for a step.
446
- """
447
- ...
448
-
449
- @typing.overload
450
- def checkpoint(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
451
- ...
452
-
453
- @typing.overload
454
- def checkpoint(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
455
- ...
456
-
457
- 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):
428
+ def nvidia(*, gpu: int, gpu_type: 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]]]:
458
429
  """
459
- Enables checkpointing for a step.
430
+ Specifies that this step should execute on DGX cloud.
460
431
  """
461
432
  ...
462
433
 
@@ -484,19 +455,23 @@ def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
484
455
  ...
485
456
 
486
457
  @typing.overload
487
- def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
458
+ def model(*, load: typing.Union[typing.List[str], str, typing.List[typing.Tuple[str, typing.Optional[str]]]] = None, 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]]]:
488
459
  """
489
- Internal decorator to support Fast bakery
460
+ Enables loading / saving of models within a step.
490
461
  """
491
462
  ...
492
463
 
493
464
  @typing.overload
494
- def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
465
+ def model(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
495
466
  ...
496
467
 
497
- def fast_bakery_internal(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
468
+ @typing.overload
469
+ def model(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
470
+ ...
471
+
472
+ def model(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, load: typing.Union[typing.List[str], str, typing.List[typing.Tuple[str, typing.Optional[str]]]] = None, temp_dir_root: str = None):
498
473
  """
499
- Internal decorator to support Fast bakery
474
+ Enables loading / saving of models within a step.
500
475
  """
501
476
  ...
502
477
 
@@ -531,10 +506,37 @@ def pypi(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typ
531
506
  """
532
507
  ...
533
508
 
534
- def airflow_external_task_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, external_dag_id: str, external_task_ids: typing.List[str], allowed_states: typing.List[str], failed_states: typing.List[str], execution_delta: "datetime.timedelta", check_existence: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
509
+ @typing.overload
510
+ def card(*, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45) -> 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]]]:
535
511
  """
536
- The `@airflow_external_task_sensor` decorator attaches a Airflow [ExternalTaskSensor](https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/sensors/external_task/index.html#airflow.sensors.external_task.ExternalTaskSensor) before the start step of the flow.
537
- This decorator only works when a flow is scheduled on Airflow and is compiled using `airflow create`. More than one `@airflow_external_task_sensor` can be added as a flow decorators. Adding more than one decorator will ensure that `start` step starts only after all sensors finish.
512
+ Creates a human-readable report, a Metaflow Card, after this step completes.
513
+
514
+ Note that you may add multiple `@card` decorators in a step with different parameters.
515
+ """
516
+ ...
517
+
518
+ @typing.overload
519
+ def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
520
+ ...
521
+
522
+ @typing.overload
523
+ def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
524
+ ...
525
+
526
+ def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45):
527
+ """
528
+ Creates a human-readable report, a Metaflow Card, after this step completes.
529
+
530
+ Note that you may add multiple `@card` decorators in a step with different parameters.
531
+ """
532
+ ...
533
+
534
+ def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
535
+ """
536
+ Specifies what flows belong to the same project.
537
+
538
+ A project-specific namespace is created for all flows that
539
+ use the same `@project(name)`.
538
540
  """
539
541
  ...
540
542
 
@@ -548,36 +550,26 @@ def airflow_s3_key_sensor(*, timeout: int, poke_interval: int, mode: str, expone
548
550
  """
549
551
  ...
550
552
 
551
- def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
553
+ @typing.overload
554
+ def conda_base(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
552
555
  """
553
- Specifies what flows belong to the same project.
556
+ Specifies the Conda environment for all steps of the flow.
554
557
 
555
- A project-specific namespace is created for all flows that
556
- use the same `@project(name)`.
558
+ Use `@conda_base` to set common libraries required by all
559
+ steps and use `@conda` to specify step-specific additions.
557
560
  """
558
561
  ...
559
562
 
560
- def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
563
+ @typing.overload
564
+ def conda_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
565
+ ...
566
+
567
+ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
561
568
  """
562
- This decorator is used to run NIM containers in Metaflow tasks as sidecars.
563
-
564
- User code call
565
- -----------
566
- @nim(
567
- models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
568
- backend='managed'
569
- )
570
-
571
- Valid backend options
572
- ---------------------
573
- - 'managed': Outerbounds selects a compute provider based on the model.
574
- - 🚧 'dataplane': Run in your account.
569
+ Specifies the Conda environment for all steps of the flow.
575
570
 
576
- Valid model options
577
- ----------------
578
- - 'meta/llama3-8b-instruct': 8B parameter model
579
- - 'meta/llama3-70b-instruct': 70B parameter model
580
- - Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
571
+ Use `@conda_base` to set common libraries required by all
572
+ steps and use `@conda` to specify step-specific additions.
581
573
  """
582
574
  ...
583
575
 
@@ -681,26 +673,27 @@ def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly:
681
673
  """
682
674
  ...
683
675
 
684
- @typing.overload
685
- def conda_base(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
676
+ def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
686
677
  """
687
- Specifies the Conda environment for all steps of the flow.
678
+ This decorator is used to run NIM containers in Metaflow tasks as sidecars.
688
679
 
689
- Use `@conda_base` to set common libraries required by all
690
- steps and use `@conda` to specify step-specific additions.
691
- """
692
- ...
693
-
694
- @typing.overload
695
- def conda_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
696
- ...
697
-
698
- def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
699
- """
700
- Specifies the Conda environment for all steps of the flow.
680
+ User code call
681
+ -----------
682
+ @nim(
683
+ models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
684
+ backend='managed'
685
+ )
701
686
 
702
- Use `@conda_base` to set common libraries required by all
703
- steps and use `@conda` to specify step-specific additions.
687
+ Valid backend options
688
+ ---------------------
689
+ - 'managed': Outerbounds selects a compute provider based on the model.
690
+ - 🚧 'dataplane': Run in your account.
691
+
692
+ Valid model options
693
+ ----------------
694
+ - 'meta/llama3-8b-instruct': 8B parameter model
695
+ - 'meta/llama3-70b-instruct': 70B parameter model
696
+ - Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
704
697
  """
705
698
  ...
706
699
 
@@ -800,5 +793,12 @@ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: t
800
793
  """
801
794
  ...
802
795
 
796
+ def airflow_external_task_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, external_dag_id: str, external_task_ids: typing.List[str], allowed_states: typing.List[str], failed_states: typing.List[str], execution_delta: "datetime.timedelta", check_existence: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
797
+ """
798
+ The `@airflow_external_task_sensor` decorator attaches a Airflow [ExternalTaskSensor](https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/sensors/external_task/index.html#airflow.sensors.external_task.ExternalTaskSensor) before the start step of the flow.
799
+ This decorator only works when a flow is scheduled on Airflow and is compiled using `airflow create`. More than one `@airflow_external_task_sensor` can be added as a flow decorators. Adding more than one decorator will ensure that `start` step 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.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.641958 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.622970 #
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.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.660191 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.646363 #
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.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.658856 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.644346 #
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.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.685938 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.674051 #
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.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.645630 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.628165 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.653546 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.635799 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import tarfile
13
12
  import metaflow.client.core
14
- import metaflow.events
15
13
  import datetime
14
+ import tarfile
15
+ import metaflow.events
16
16
  import typing
17
17
 
18
18
  from ..metaflow_current import current as current
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.680994 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.669051 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
  import metaflow
10
10
  import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.exception
13
12
  import metaflow.datastore.content_addressed_store
13
+ import metaflow.exception
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16
 
@@ -1,15 +1,15 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.642544 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.624044 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import metaflow
12
11
  import metaflow.events
12
+ import metaflow
13
13
 
14
14
 
15
15
  TYPE_CHECKING: bool
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.0.1+obcheckpoint(0.1.6);ob(v1) #
4
- # Generated on 2024-12-20T17:11:09.634367 #
3
+ # MF version: 2.13.1.1+obcheckpoint(0.1.6);ob(v1) #
4
+ # Generated on 2025-01-06T16:50:32.612858 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations