ob-metaflow-stubs 6.0.3.120__tar.gz → 6.0.3.121__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/PKG-INFO +1 -1
  2. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/__init__.pyi +192 -192
  3. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/cards.pyi +2 -2
  4. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/cli.pyi +2 -2
  5. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/client/__init__.pyi +2 -2
  6. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/client/core.pyi +4 -4
  7. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/client/filecache.pyi +3 -3
  8. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/clone_util.pyi +2 -2
  9. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/events.pyi +2 -2
  10. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/exception.pyi +2 -2
  11. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/flowspec.pyi +3 -3
  12. ob-metaflow-stubs-6.0.3.121/metaflow-stubs/generated_for.txt +1 -0
  13. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/includefile.pyi +3 -3
  14. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/info_file.pyi +2 -2
  15. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  16. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  17. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  18. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/metadata_provider/util.pyi +2 -2
  19. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/metaflow_config.pyi +2 -2
  20. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/metaflow_current.pyi +90 -90
  21. {ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions/obcheckpoint → ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mf_extensions}/__init__.pyi +2 -2
  22. {ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions → ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mf_extensions/obcheckpoint}/__init__.pyi +2 -2
  23. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/__init__.pyi +2 -2
  24. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/__init__.pyi +2 -2
  25. ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +6 -0
  26. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +4 -4
  27. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/constructors.pyi +2 -2
  28. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/core.pyi +3 -3
  29. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/exceptions.pyi +2 -2
  30. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +2 -2
  31. ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +6 -0
  32. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/core.pyi +3 -3
  33. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/exceptions.pyi +2 -2
  34. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/task_utils.pyi +3 -3
  35. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/utils.pyi +2 -2
  36. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +2 -2
  37. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
  38. ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +6 -0
  39. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/flowspec_utils.pyi +2 -2
  40. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/general.pyi +2 -2
  41. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +3 -3
  42. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +2 -2
  43. ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +6 -0
  44. ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +6 -0
  45. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
  46. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +2 -2
  47. ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +6 -0
  48. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
  49. ob-metaflow-stubs-6.0.3.121/metaflow-stubs/mflog/__init__.pyi +6 -0
  50. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/mflog/mflog.pyi +2 -2
  51. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/multicore_utils.pyi +2 -2
  52. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/parameters.pyi +3 -3
  53. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/__init__.pyi +12 -12
  54. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  55. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  56. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  57. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  58. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  59. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  60. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  61. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  62. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  63. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  64. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/argo/argo_workflows.pyi +2 -2
  65. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +2 -2
  66. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  67. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  68. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +2 -2
  69. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  70. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  71. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  72. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  73. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  74. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  75. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  76. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  77. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
  78. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  79. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  80. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  81. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  82. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  83. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  84. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
  85. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
  86. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  87. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  88. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  89. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
  90. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  91. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  92. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  93. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  94. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_cli.pyi +2 -2
  95. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  96. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  97. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  98. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  99. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  100. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  101. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  102. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_modules/components.pyi +3 -3
  103. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  104. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  105. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  106. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  107. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  108. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
  109. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  110. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  111. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
  112. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  113. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/datatools/s3/s3.pyi +4 -4
  114. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  115. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  116. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
  117. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  118. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  119. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/events_decorator.pyi +2 -12
  120. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  121. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  122. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  123. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
  124. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  125. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  126. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  127. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  128. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/kubernetes/__init__.pyi +3 -3
  129. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
  130. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  131. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +2 -2
  132. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  133. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  134. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  135. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/logs_cli.pyi +2 -2
  136. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/package_cli.pyi +2 -2
  137. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  138. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/perimeters.pyi +2 -2
  139. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
  140. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  141. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  142. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/pypi/conda_environment.pyi +6 -6
  143. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  144. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  145. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  146. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  147. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  148. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
  149. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  150. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  151. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
  152. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/tag_cli.pyi +2 -2
  153. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  154. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  155. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/procpoll.pyi +2 -2
  156. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/profilers/__init__.pyi +2 -2
  157. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/pylint_wrapper.pyi +2 -2
  158. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/runner/__init__.pyi +2 -2
  159. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/runner/deployer.pyi +4 -4
  160. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/runner/deployer_impl.pyi +3 -3
  161. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/runner/metaflow_runner.pyi +3 -3
  162. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
  163. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/runner/nbrun.pyi +2 -2
  164. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  165. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/runner/utils.pyi +4 -4
  166. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/system/__init__.pyi +2 -2
  167. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/system/system_logger.pyi +3 -3
  168. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/system/system_monitor.pyi +2 -2
  169. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/tagging_util.pyi +2 -2
  170. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/tuple_util.pyi +2 -2
  171. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/ob_metaflow_stubs.egg-info/PKG-INFO +1 -1
  172. ob-metaflow-stubs-6.0.3.121/version.py +1 -0
  173. ob-metaflow-stubs-6.0.3.120/metaflow-stubs/generated_for.txt +0 -1
  174. ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +0 -6
  175. ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +0 -6
  176. ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +0 -6
  177. ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +0 -6
  178. ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +0 -6
  179. ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +0 -6
  180. ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mflog/__init__.pyi +0 -6
  181. ob-metaflow-stubs-6.0.3.120/version.py +0 -1
  182. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/MANIFEST.in +0 -0
  183. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/README.md +0 -0
  184. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/metaflow-stubs/py.typed +0 -0
  185. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/ob_metaflow_stubs.egg-info/SOURCES.txt +0 -0
  186. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/ob_metaflow_stubs.egg-info/dependency_links.txt +0 -0
  187. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/ob_metaflow_stubs.egg-info/top_level.txt +0 -0
  188. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/setup.cfg +0 -0
  189. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.121}/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.120
3
+ Version: 6.0.3.121
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.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.284631 #
3
+ # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-02T17:17:46.476932 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -29,8 +29,8 @@ from .flowspec import FlowSpec as FlowSpec
29
29
  from .parameters import Parameter as Parameter
30
30
  from .parameters import JSONTypeClass as JSONTypeClass
31
31
  from .parameters import JSONType as JSONType
32
- from . import cards as cards
33
32
  from . import tuple_util as tuple_util
33
+ from . import cards as cards
34
34
  from . import events as events
35
35
  from . import runner as runner
36
36
  from . import plugins as plugins
@@ -141,41 +141,52 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
141
141
  ...
142
142
 
143
143
  @typing.overload
144
- 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]]]:
144
+ def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
145
145
  """
146
- Specifies the number of times the task corresponding
147
- to a step needs to be retried.
148
-
149
- This decorator is useful for handling transient errors, such as networking issues.
150
- If your task contains operations that can't be retried safely, e.g. database updates,
151
- it is advisable to annotate it with `@retry(times=0)`.
146
+ Decorator prototype for all step decorators. This function gets specialized
147
+ and imported for all decorators types by _import_plugin_decorators().
148
+ """
149
+ ...
150
+
151
+ @typing.overload
152
+ def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
153
+ ...
154
+
155
+ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
156
+ """
157
+ Decorator prototype for all step decorators. This function gets specialized
158
+ and imported for all decorators types by _import_plugin_decorators().
159
+ """
160
+ ...
161
+
162
+ @typing.overload
163
+ 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]]]:
164
+ """
165
+ Specifies the Conda environment for the step.
152
166
 
153
- This can be used in conjunction with the `@catch` decorator. The `@catch`
154
- decorator will execute a no-op task after all retries have been exhausted,
155
- ensuring that the flow execution can continue.
167
+ Information in this decorator will augment any
168
+ attributes set in the `@conda_base` flow-level decorator. Hence,
169
+ you can use `@conda_base` to set packages required by all
170
+ steps and use `@conda` to specify step-specific overrides.
156
171
  """
157
172
  ...
158
173
 
159
174
  @typing.overload
160
- def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
175
+ def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
161
176
  ...
162
177
 
163
178
  @typing.overload
164
- def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
179
+ def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
165
180
  ...
166
181
 
167
- 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):
182
+ 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):
168
183
  """
169
- Specifies the number of times the task corresponding
170
- to a step needs to be retried.
171
-
172
- This decorator is useful for handling transient errors, such as networking issues.
173
- If your task contains operations that can't be retried safely, e.g. database updates,
174
- it is advisable to annotate it with `@retry(times=0)`.
184
+ Specifies the Conda environment for the step.
175
185
 
176
- This can be used in conjunction with the `@catch` decorator. The `@catch`
177
- decorator will execute a no-op task after all retries have been exhausted,
178
- ensuring that the flow execution can continue.
186
+ Information in this decorator will augment any
187
+ attributes set in the `@conda_base` flow-level decorator. Hence,
188
+ you can use `@conda_base` to set packages required by all
189
+ steps and use `@conda` to specify step-specific overrides.
179
190
  """
180
191
  ...
181
192
 
@@ -228,34 +239,9 @@ def resources(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None]
228
239
  """
229
240
  ...
230
241
 
231
- @typing.overload
232
- 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]]]:
233
- """
234
- Specifies the Conda environment for the step.
235
-
236
- Information in this decorator will augment any
237
- attributes set in the `@conda_base` flow-level decorator. Hence,
238
- you can use `@conda_base` to set packages required by all
239
- steps and use `@conda` to specify step-specific overrides.
240
- """
241
- ...
242
-
243
- @typing.overload
244
- def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
245
- ...
246
-
247
- @typing.overload
248
- def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
249
- ...
250
-
251
- 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):
242
+ 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]]]:
252
243
  """
253
- Specifies the Conda environment for the step.
254
-
255
- Information in this decorator will augment any
256
- attributes set in the `@conda_base` flow-level decorator. Hence,
257
- you can use `@conda_base` to set packages required by all
258
- steps and use `@conda` to specify step-specific overrides.
244
+ Decorator that helps cache, version and store models/datasets from huggingface hub.
259
245
  """
260
246
  ...
261
247
 
@@ -290,6 +276,72 @@ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
290
276
  """
291
277
  ...
292
278
 
279
+ @typing.overload
280
+ 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]]]:
281
+ """
282
+ Specifies a timeout for your step.
283
+
284
+ This decorator is useful if this step may hang indefinitely.
285
+
286
+ This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
287
+ A timeout is considered to be an exception thrown by the step. It will cause the step to be
288
+ retried if needed and the exception will be caught by the `@catch` decorator, if present.
289
+
290
+ Note that all the values specified in parameters are added together so if you specify
291
+ 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
292
+ """
293
+ ...
294
+
295
+ @typing.overload
296
+ def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
297
+ ...
298
+
299
+ @typing.overload
300
+ def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
301
+ ...
302
+
303
+ 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):
304
+ """
305
+ Specifies a timeout for your step.
306
+
307
+ This decorator is useful if this step may hang indefinitely.
308
+
309
+ This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
310
+ A timeout is considered to be an exception thrown by the step. It will cause the step to be
311
+ retried if needed and the exception will be caught by the `@catch` decorator, if present.
312
+
313
+ Note that all the values specified in parameters are added together so if you specify
314
+ 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
315
+ """
316
+ ...
317
+
318
+ 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) -> 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]]]:
319
+ """
320
+ Specifies that this step should execute on Kubernetes.
321
+ """
322
+ ...
323
+
324
+ @typing.overload
325
+ 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]]]:
326
+ """
327
+ Enables checkpointing for a step.
328
+ """
329
+ ...
330
+
331
+ @typing.overload
332
+ def checkpoint(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
333
+ ...
334
+
335
+ @typing.overload
336
+ def checkpoint(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
337
+ ...
338
+
339
+ 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):
340
+ """
341
+ Enables checkpointing for a step.
342
+ """
343
+ ...
344
+
293
345
  @typing.overload
294
346
  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]]]:
295
347
  """
@@ -343,52 +395,41 @@ def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], Non
343
395
  ...
344
396
 
345
397
  @typing.overload
346
- 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]]]:
347
- """
348
- Enables checkpointing for a step.
349
- """
350
- ...
351
-
352
- @typing.overload
353
- def checkpoint(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
354
- ...
355
-
356
- @typing.overload
357
- def checkpoint(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
358
- ...
359
-
360
- 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):
361
- """
362
- Enables checkpointing for a step.
363
- """
364
- ...
365
-
366
- 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]]]:
398
+ 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]]]:
367
399
  """
368
- Decorator that helps cache, version and store models/datasets from huggingface hub.
400
+ Specifies the number of times the task corresponding
401
+ to a step needs to be retried.
402
+
403
+ This decorator is useful for handling transient errors, such as networking issues.
404
+ If your task contains operations that can't be retried safely, e.g. database updates,
405
+ it is advisable to annotate it with `@retry(times=0)`.
406
+
407
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
408
+ decorator will execute a no-op task after all retries have been exhausted,
409
+ ensuring that the flow execution can continue.
369
410
  """
370
411
  ...
371
412
 
372
413
  @typing.overload
373
- def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
374
- """
375
- Internal decorator to support Fast bakery
376
- """
414
+ def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
377
415
  ...
378
416
 
379
417
  @typing.overload
380
- def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
381
- ...
382
-
383
- def fast_bakery_internal(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
384
- """
385
- Internal decorator to support Fast bakery
386
- """
418
+ def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
387
419
  ...
388
420
 
389
- 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) -> 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]]]:
421
+ 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):
390
422
  """
391
- Specifies that this step should execute on Kubernetes.
423
+ Specifies the number of times the task corresponding
424
+ to a step needs to be retried.
425
+
426
+ This decorator is useful for handling transient errors, such as networking issues.
427
+ If your task contains operations that can't be retried safely, e.g. database updates,
428
+ it is advisable to annotate it with `@retry(times=0)`.
429
+
430
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
431
+ decorator will execute a no-op task after all retries have been exhausted,
432
+ ensuring that the flow execution can continue.
392
433
  """
393
434
  ...
394
435
 
@@ -418,104 +459,86 @@ def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typ
418
459
  ...
419
460
 
420
461
  @typing.overload
421
- 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]]]:
462
+ def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
422
463
  """
423
- Specifies secrets to be retrieved and injected as environment variables prior to
424
- the execution of a step.
464
+ Internal decorator to support Fast bakery
425
465
  """
426
466
  ...
427
467
 
428
468
  @typing.overload
429
- def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
430
- ...
431
-
432
- @typing.overload
433
- def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
469
+ def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
434
470
  ...
435
471
 
436
- 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]]] = []):
472
+ def fast_bakery_internal(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
437
473
  """
438
- Specifies secrets to be retrieved and injected as environment variables prior to
439
- the execution of a step.
474
+ Internal decorator to support Fast bakery
440
475
  """
441
476
  ...
442
477
 
443
478
  @typing.overload
444
- def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
479
+ 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]]]:
445
480
  """
446
- Decorator prototype for all step decorators. This function gets specialized
447
- and imported for all decorators types by _import_plugin_decorators().
481
+ Enables loading / saving of models within a step.
448
482
  """
449
483
  ...
450
484
 
451
485
  @typing.overload
452
- def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
486
+ def model(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
453
487
  ...
454
488
 
455
- def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
489
+ @typing.overload
490
+ def model(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
491
+ ...
492
+
493
+ 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):
456
494
  """
457
- Decorator prototype for all step decorators. This function gets specialized
458
- and imported for all decorators types by _import_plugin_decorators().
495
+ Enables loading / saving of models within a step.
459
496
  """
460
497
  ...
461
498
 
462
499
  @typing.overload
463
- 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]]]:
500
+ 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]]]:
464
501
  """
465
- Enables loading / saving of models within a step.
502
+ Specifies secrets to be retrieved and injected as environment variables prior to
503
+ the execution of a step.
466
504
  """
467
505
  ...
468
506
 
469
507
  @typing.overload
470
- def model(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
508
+ def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
471
509
  ...
472
510
 
473
511
  @typing.overload
474
- def model(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
512
+ def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
475
513
  ...
476
514
 
477
- 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):
515
+ 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]]] = []):
478
516
  """
479
- Enables loading / saving of models within a step.
517
+ Specifies secrets to be retrieved and injected as environment variables prior to
518
+ the execution of a step.
480
519
  """
481
520
  ...
482
521
 
483
522
  @typing.overload
484
- 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]]]:
523
+ def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
485
524
  """
486
- Specifies a timeout for your step.
487
-
488
- This decorator is useful if this step may hang indefinitely.
489
-
490
- This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
491
- A timeout is considered to be an exception thrown by the step. It will cause the step to be
492
- retried if needed and the exception will be caught by the `@catch` decorator, if present.
525
+ Specifies the PyPI packages for all steps of the flow.
493
526
 
494
- Note that all the values specified in parameters are added together so if you specify
495
- 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
527
+ Use `@pypi_base` to set common packages required by all
528
+ steps and use `@pypi` to specify step-specific overrides.
496
529
  """
497
530
  ...
498
531
 
499
532
  @typing.overload
500
- def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
501
- ...
502
-
503
- @typing.overload
504
- def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
533
+ def pypi_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
505
534
  ...
506
535
 
507
- 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):
536
+ def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
508
537
  """
509
- Specifies a timeout for your step.
510
-
511
- This decorator is useful if this step may hang indefinitely.
512
-
513
- This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
514
- A timeout is considered to be an exception thrown by the step. It will cause the step to be
515
- retried if needed and the exception will be caught by the `@catch` decorator, if present.
538
+ Specifies the PyPI packages for all steps of the flow.
516
539
 
517
- Note that all the values specified in parameters are added together so if you specify
518
- 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
540
+ Use `@pypi_base` to set common packages required by all
541
+ steps and use `@pypi` to specify step-specific overrides.
519
542
  """
520
543
  ...
521
544
 
@@ -538,6 +561,30 @@ def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly:
538
561
  """
539
562
  ...
540
563
 
564
+ def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
565
+ """
566
+ This decorator is used to run NIM containers in Metaflow tasks as sidecars.
567
+
568
+ User code call
569
+ -----------
570
+ @nim(
571
+ models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
572
+ backend='managed'
573
+ )
574
+
575
+ Valid backend options
576
+ ---------------------
577
+ - 'managed': Outerbounds selects a compute provider based on the model.
578
+ - 🚧 'dataplane': Run in your account.
579
+
580
+ Valid model options
581
+ ----------------
582
+ - 'meta/llama3-8b-instruct': 8B parameter model
583
+ - 'meta/llama3-70b-instruct': 70B parameter model
584
+ - Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
585
+ """
586
+ ...
587
+
541
588
  @typing.overload
542
589
  def trigger_on_finish(*, flow: typing.Union[typing.Dict[str, str], str, None] = None, flows: typing.List[typing.Union[str, typing.Dict[str, str]]] = [], options: typing.Dict[str, typing.Any] = {}) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
543
590
  """
@@ -619,10 +666,13 @@ def trigger_on_finish(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *
619
666
  """
620
667
  ...
621
668
 
622
- 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]]:
669
+ 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]]:
623
670
  """
624
- 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.
625
- 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.
671
+ 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)
672
+ before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
673
+ and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
674
+ added as a flow decorators. Adding more than one decorator will ensure that `start` step
675
+ starts only after all sensors finish.
626
676
  """
627
677
  ...
628
678
 
@@ -699,26 +749,10 @@ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: t
699
749
  """
700
750
  ...
701
751
 
702
- @typing.overload
703
- def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
704
- """
705
- Specifies the PyPI packages for all steps of the flow.
706
-
707
- Use `@pypi_base` to set common packages required by all
708
- steps and use `@pypi` to specify step-specific overrides.
709
- """
710
- ...
711
-
712
- @typing.overload
713
- def pypi_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
714
- ...
715
-
716
- def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
752
+ 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]]:
717
753
  """
718
- Specifies the PyPI packages for all steps of the flow.
719
-
720
- Use `@pypi_base` to set common packages required by all
721
- steps and use `@pypi` to specify step-specific overrides.
754
+ 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.
755
+ 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.
722
756
  """
723
757
  ...
724
758
 
@@ -745,40 +779,6 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
745
779
  """
746
780
  ...
747
781
 
748
- 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]]:
749
- """
750
- 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)
751
- before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
752
- and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
753
- added as a flow decorators. Adding more than one decorator will ensure that `start` step
754
- starts only after all sensors finish.
755
- """
756
- ...
757
-
758
- def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
759
- """
760
- This decorator is used to run NIM containers in Metaflow tasks as sidecars.
761
-
762
- User code call
763
- -----------
764
- @nim(
765
- models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
766
- backend='managed'
767
- )
768
-
769
- Valid backend options
770
- ---------------------
771
- - 'managed': Outerbounds selects a compute provider based on the model.
772
- - 🚧 'dataplane': Run in your account.
773
-
774
- Valid model options
775
- ----------------
776
- - 'meta/llama3-8b-instruct': 8B parameter model
777
- - 'meta/llama3-70b-instruct': 70B parameter model
778
- - Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
779
- """
780
- ...
781
-
782
782
  def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
783
783
  """
784
784
  Specifies what flows belong to the same project.
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.184771 #
3
+ # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-02T17:17:46.375380 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.198951 #
3
+ # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-02T17:17:46.389019 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.188288 #
3
+ # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-02T17:17:46.378636 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.192688 #
3
+ # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-02T17:17:46.382920 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,11 +9,11 @@ from __future__ import annotations
9
9
  import metaflow
10
10
  import typing
11
11
  if typing.TYPE_CHECKING:
12
+ import metaflow.events
13
+ import tarfile
12
14
  import datetime
13
15
  import typing
14
- import tarfile
15
16
  import metaflow.client.core
16
- import metaflow.events
17
17
 
18
18
  from ..metaflow_current import current as current
19
19
  from ..events import Trigger as Trigger
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.219007 #
3
+ # MF version: 2.12.33.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-02T17:17:46.409129 #
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.datastore.content_addressed_store
13
12
  import metaflow.exception
13
+ import metaflow.datastore.content_addressed_store
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16