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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/PKG-INFO +1 -1
  2. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/__init__.pyi +198 -198
  3. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/cards.pyi +2 -2
  4. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/cli.pyi +2 -2
  5. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/client/__init__.pyi +2 -2
  6. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/client/core.pyi +6 -6
  7. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/client/filecache.pyi +2 -2
  8. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/clone_util.pyi +2 -2
  9. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/events.pyi +3 -3
  10. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/exception.pyi +2 -2
  11. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/flowspec.pyi +5 -5
  12. ob-metaflow-stubs-6.0.3.122/metaflow-stubs/generated_for.txt +1 -0
  13. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/includefile.pyi +5 -5
  14. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/info_file.pyi +2 -2
  15. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  16. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  17. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  18. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/metadata_provider/util.pyi +2 -2
  19. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/metaflow_config.pyi +4 -2
  20. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/metaflow_current.pyi +85 -85
  21. {ob-metaflow-stubs-6.0.3.120/metaflow-stubs/mf_extensions/obcheckpoint → ob-metaflow-stubs-6.0.3.122/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.122/metaflow-stubs/mf_extensions/obcheckpoint}/__init__.pyi +2 -2
  23. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/__init__.pyi +2 -2
  24. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/__init__.pyi +2 -2
  25. ob-metaflow-stubs-6.0.3.122/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.122}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +3 -3
  27. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/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.122}/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.122}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +3 -3
  31. ob-metaflow-stubs-6.0.3.122/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.122}/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.122}/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.122}/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.122}/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.122}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +3 -3
  37. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
  38. ob-metaflow-stubs-6.0.3.122/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.122}/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.122}/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.122}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +2 -2
  42. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +3 -3
  43. ob-metaflow-stubs-6.0.3.122/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +6 -0
  44. ob-metaflow-stubs-6.0.3.122/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +6 -0
  45. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
  46. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +2 -2
  47. ob-metaflow-stubs-6.0.3.122/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +6 -0
  48. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
  49. ob-metaflow-stubs-6.0.3.122/metaflow-stubs/mflog/__init__.pyi +6 -0
  50. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/mflog/mflog.pyi +2 -2
  51. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/multicore_utils.pyi +11 -11
  52. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/parameters.pyi +5 -5
  53. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/__init__.pyi +15 -15
  54. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  55. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  56. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  57. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  58. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  59. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  61. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  62. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  63. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  64. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/argo/argo_workflows.pyi +4 -3
  65. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +2 -2
  66. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  67. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  68. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -3
  69. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  70. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  71. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  72. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  73. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  74. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  75. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  76. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  77. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  79. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/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.122}/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.122}/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.122}/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.122}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +4 -4
  85. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -3
  86. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  87. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  88. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  89. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  91. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  93. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  94. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_cli.pyi +2 -2
  95. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_client.pyi +2 -2
  96. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  97. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  98. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  99. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  100. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  101. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  102. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  103. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/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.122}/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.122}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  107. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  108. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
  109. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/catch_decorator.pyi +2 -2
  110. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  111. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
  112. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  113. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/datatools/s3/s3.pyi +4 -4
  114. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  115. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  116. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
  117. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  118. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  119. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
  120. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  121. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  122. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  123. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  125. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  127. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  128. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/kubernetes/__init__.pyi +3 -3
  129. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +8 -2
  130. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +5 -5
  131. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +2 -2
  132. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  133. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +8 -2
  134. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +3 -2
  135. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/logs_cli.pyi +2 -2
  136. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/package_cli.pyi +2 -2
  137. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  138. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/perimeters.pyi +2 -2
  139. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
  140. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
  141. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  142. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
  143. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  144. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  145. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  146. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  147. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  148. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
  149. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  150. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  151. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
  152. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/tag_cli.pyi +2 -2
  153. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +2 -2
  154. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  155. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/procpoll.pyi +2 -2
  156. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/profilers/__init__.pyi +2 -2
  157. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/pylint_wrapper.pyi +2 -2
  158. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/runner/__init__.pyi +3 -3
  159. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/runner/deployer.pyi +30 -30
  160. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/runner/deployer_impl.pyi +4 -3
  161. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/runner/metaflow_runner.pyi +8 -4
  162. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
  163. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/runner/nbrun.pyi +2 -2
  164. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/runner/subprocess_manager.pyi +7 -3
  165. ob-metaflow-stubs-6.0.3.122/metaflow-stubs/runner/utils.pyi +187 -0
  166. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/system/__init__.pyi +2 -2
  167. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/system/system_logger.pyi +2 -2
  168. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/system/system_monitor.pyi +2 -2
  169. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/tagging_util.pyi +2 -2
  170. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/tuple_util.pyi +2 -2
  171. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/ob_metaflow_stubs.egg-info/PKG-INFO +1 -1
  172. ob-metaflow-stubs-6.0.3.122/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/metaflow-stubs/runner/utils.pyi +0 -88
  182. ob-metaflow-stubs-6.0.3.120/version.py +0 -1
  183. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/MANIFEST.in +0 -0
  184. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/README.md +0 -0
  185. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/metaflow-stubs/py.typed +0 -0
  186. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/ob_metaflow_stubs.egg-info/SOURCES.txt +0 -0
  187. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/ob_metaflow_stubs.egg-info/dependency_links.txt +0 -0
  188. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/ob_metaflow_stubs.egg-info/top_level.txt +0 -0
  189. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/setup.cfg +0 -0
  190. {ob-metaflow-stubs-6.0.3.120 → ob-metaflow-stubs-6.0.3.122}/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.122
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.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.284631 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.683902 #
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
 
@@ -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
@@ -140,6 +140,12 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
140
140
  """
141
141
  ...
142
142
 
143
+ 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]]]:
144
+ """
145
+ Decorator that helps cache, version and store models/datasets from huggingface hub.
146
+ """
147
+ ...
148
+
143
149
  @typing.overload
144
150
  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]]]:
145
151
  """
@@ -180,113 +186,42 @@ def retry(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
180
186
  ...
181
187
 
182
188
  @typing.overload
183
- def resources(*, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
184
- """
185
- Specifies the resources needed when executing this step.
186
-
187
- Use `@resources` to specify the resource requirements
188
- independently of the specific compute layer (`@batch`, `@kubernetes`).
189
-
190
- You can choose the compute layer on the command line by executing e.g.
191
- ```
192
- python myflow.py run --with batch
193
- ```
194
- or
195
- ```
196
- python myflow.py run --with kubernetes
197
- ```
198
- which executes the flow on the desired system using the
199
- requirements specified in `@resources`.
200
- """
201
- ...
202
-
203
- @typing.overload
204
- def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
205
- ...
206
-
207
- @typing.overload
208
- def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
209
- ...
210
-
211
- def resources(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None):
212
- """
213
- Specifies the resources needed when executing this step.
214
-
215
- Use `@resources` to specify the resource requirements
216
- independently of the specific compute layer (`@batch`, `@kubernetes`).
217
-
218
- You can choose the compute layer on the command line by executing e.g.
219
- ```
220
- python myflow.py run --with batch
221
- ```
222
- or
223
- ```
224
- python myflow.py run --with kubernetes
225
- ```
226
- which executes the flow on the desired system using the
227
- requirements specified in `@resources`.
228
- """
229
- ...
230
-
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]]]:
189
+ 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]]]:
233
190
  """
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.
191
+ Specifies environment variables to be set prior to the execution of a step.
240
192
  """
241
193
  ...
242
194
 
243
195
  @typing.overload
244
- def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
196
+ def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
245
197
  ...
246
198
 
247
199
  @typing.overload
248
- def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
200
+ def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
249
201
  ...
250
202
 
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):
203
+ def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
252
204
  """
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.
205
+ Specifies environment variables to be set prior to the execution of a step.
259
206
  """
260
207
  ...
261
208
 
262
209
  @typing.overload
263
- def catch(*, var: typing.Optional[str] = None, print_exception: bool = True) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
210
+ def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
264
211
  """
265
- Specifies that the step will success under all circumstances.
266
-
267
- The decorator will create an optional artifact, specified by `var`, which
268
- contains the exception raised. You can use it to detect the presence
269
- of errors, indicating that all happy-path artifacts produced by the step
270
- are missing.
212
+ Decorator prototype for all step decorators. This function gets specialized
213
+ and imported for all decorators types by _import_plugin_decorators().
271
214
  """
272
215
  ...
273
216
 
274
217
  @typing.overload
275
- def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
276
- ...
277
-
278
- @typing.overload
279
- def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
218
+ def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
280
219
  ...
281
220
 
282
- def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, var: typing.Optional[str] = None, print_exception: bool = True):
221
+ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
283
222
  """
284
- Specifies that the step will success under all circumstances.
285
-
286
- The decorator will create an optional artifact, specified by `var`, which
287
- contains the exception raised. You can use it to detect the presence
288
- of errors, indicating that all happy-path artifacts produced by the step
289
- are missing.
223
+ Decorator prototype for all step decorators. This function gets specialized
224
+ and imported for all decorators types by _import_plugin_decorators().
290
225
  """
291
226
  ...
292
227
 
@@ -322,23 +257,51 @@ def pypi(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typ
322
257
  ...
323
258
 
324
259
  @typing.overload
325
- 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]]]:
260
+ def resources(*, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
326
261
  """
327
- Specifies environment variables to be set prior to the execution of a step.
262
+ Specifies the resources needed when executing this step.
263
+
264
+ Use `@resources` to specify the resource requirements
265
+ independently of the specific compute layer (`@batch`, `@kubernetes`).
266
+
267
+ You can choose the compute layer on the command line by executing e.g.
268
+ ```
269
+ python myflow.py run --with batch
270
+ ```
271
+ or
272
+ ```
273
+ python myflow.py run --with kubernetes
274
+ ```
275
+ which executes the flow on the desired system using the
276
+ requirements specified in `@resources`.
328
277
  """
329
278
  ...
330
279
 
331
280
  @typing.overload
332
- def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
281
+ def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
333
282
  ...
334
283
 
335
284
  @typing.overload
336
- def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
285
+ def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
337
286
  ...
338
287
 
339
- def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
288
+ def resources(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: typing.Optional[int] = None, disk: typing.Optional[int] = None, memory: int = 4096, shared_memory: typing.Optional[int] = None):
340
289
  """
341
- Specifies environment variables to be set prior to the execution of a step.
290
+ Specifies the resources needed when executing this step.
291
+
292
+ Use `@resources` to specify the resource requirements
293
+ independently of the specific compute layer (`@batch`, `@kubernetes`).
294
+
295
+ You can choose the compute layer on the command line by executing e.g.
296
+ ```
297
+ python myflow.py run --with batch
298
+ ```
299
+ or
300
+ ```
301
+ python myflow.py run --with kubernetes
302
+ ```
303
+ which executes the flow on the desired system using the
304
+ requirements specified in `@resources`.
342
305
  """
343
306
  ...
344
307
 
@@ -363,32 +326,34 @@ def checkpoint(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None
363
326
  """
364
327
  ...
365
328
 
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]]]:
367
- """
368
- Decorator that helps cache, version and store models/datasets from huggingface hub.
369
- """
370
- ...
371
-
372
329
  @typing.overload
373
- def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
330
+ def catch(*, var: typing.Optional[str] = None, print_exception: bool = True) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
374
331
  """
375
- Internal decorator to support Fast bakery
332
+ Specifies that the step will success under all circumstances.
333
+
334
+ The decorator will create an optional artifact, specified by `var`, which
335
+ contains the exception raised. You can use it to detect the presence
336
+ of errors, indicating that all happy-path artifacts produced by the step
337
+ are missing.
376
338
  """
377
339
  ...
378
340
 
379
341
  @typing.overload
380
- def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
342
+ def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
381
343
  ...
382
344
 
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
- """
345
+ @typing.overload
346
+ def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
387
347
  ...
388
348
 
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]]]:
349
+ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, var: typing.Optional[str] = None, print_exception: bool = True):
390
350
  """
391
- Specifies that this step should execute on Kubernetes.
351
+ Specifies that the step will success under all circumstances.
352
+
353
+ The decorator will create an optional artifact, specified by `var`, which
354
+ contains the exception raised. You can use it to detect the presence
355
+ of errors, indicating that all happy-path artifacts produced by the step
356
+ are missing.
392
357
  """
393
358
  ...
394
359
 
@@ -441,42 +406,33 @@ def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
441
406
  ...
442
407
 
443
408
  @typing.overload
444
- def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
445
- """
446
- Decorator prototype for all step decorators. This function gets specialized
447
- and imported for all decorators types by _import_plugin_decorators().
448
- """
449
- ...
450
-
451
- @typing.overload
452
- def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
453
- ...
454
-
455
- def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
456
- """
457
- Decorator prototype for all step decorators. This function gets specialized
458
- and imported for all decorators types by _import_plugin_decorators().
459
- """
460
- ...
461
-
462
- @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]]]:
409
+ 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]]]:
464
410
  """
465
- Enables loading / saving of models within a step.
411
+ Specifies the Conda environment for the step.
412
+
413
+ Information in this decorator will augment any
414
+ attributes set in the `@conda_base` flow-level decorator. Hence,
415
+ you can use `@conda_base` to set packages required by all
416
+ steps and use `@conda` to specify step-specific overrides.
466
417
  """
467
418
  ...
468
419
 
469
420
  @typing.overload
470
- def model(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
421
+ def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
471
422
  ...
472
423
 
473
424
  @typing.overload
474
- def model(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
425
+ def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
475
426
  ...
476
427
 
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):
428
+ 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):
478
429
  """
479
- Enables loading / saving of models within a step.
430
+ Specifies the Conda environment for the step.
431
+
432
+ Information in this decorator will augment any
433
+ attributes set in the `@conda_base` flow-level decorator. Hence,
434
+ you can use `@conda_base` to set packages required by all
435
+ steps and use `@conda` to specify step-specific overrides.
480
436
  """
481
437
  ...
482
438
 
@@ -519,22 +475,47 @@ def timeout(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
519
475
  """
520
476
  ...
521
477
 
478
+ 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]]]:
479
+ """
480
+ Specifies that this step should execute on Kubernetes.
481
+ """
482
+ ...
483
+
522
484
  @typing.overload
523
- def schedule(*, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
485
+ 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]]]:
524
486
  """
525
- Specifies the times when the flow should be run when running on a
526
- production scheduler.
487
+ Enables loading / saving of models within a step.
527
488
  """
528
489
  ...
529
490
 
530
491
  @typing.overload
531
- def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
492
+ def model(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
532
493
  ...
533
494
 
534
- def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None):
495
+ @typing.overload
496
+ def model(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
497
+ ...
498
+
499
+ 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):
535
500
  """
536
- Specifies the times when the flow should be run when running on a
537
- production scheduler.
501
+ Enables loading / saving of models within a step.
502
+ """
503
+ ...
504
+
505
+ @typing.overload
506
+ def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
507
+ """
508
+ Internal decorator to support Fast bakery
509
+ """
510
+ ...
511
+
512
+ @typing.overload
513
+ def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
514
+ ...
515
+
516
+ def fast_bakery_internal(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
517
+ """
518
+ Internal decorator to support Fast bakery
538
519
  """
539
520
  ...
540
521
 
@@ -619,10 +600,59 @@ def trigger_on_finish(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *
619
600
  """
620
601
  ...
621
602
 
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]]:
603
+ @typing.overload
604
+ def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
623
605
  """
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.
606
+ Specifies the PyPI packages for all steps of the flow.
607
+
608
+ Use `@pypi_base` to set common packages required by all
609
+ steps and use `@pypi` to specify step-specific overrides.
610
+ """
611
+ ...
612
+
613
+ @typing.overload
614
+ def pypi_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
615
+ ...
616
+
617
+ def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
618
+ """
619
+ Specifies the PyPI packages for all steps of the flow.
620
+
621
+ Use `@pypi_base` to set common packages required by all
622
+ steps and use `@pypi` to specify step-specific overrides.
623
+ """
624
+ ...
625
+
626
+ def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
627
+ """
628
+ This decorator is used to run NIM containers in Metaflow tasks as sidecars.
629
+
630
+ User code call
631
+ -----------
632
+ @nim(
633
+ models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
634
+ backend='managed'
635
+ )
636
+
637
+ Valid backend options
638
+ ---------------------
639
+ - 'managed': Outerbounds selects a compute provider based on the model.
640
+ - 🚧 'dataplane': Run in your account.
641
+
642
+ Valid model options
643
+ ----------------
644
+ - 'meta/llama3-8b-instruct': 8B parameter model
645
+ - 'meta/llama3-70b-instruct': 70B parameter model
646
+ - Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
647
+ """
648
+ ...
649
+
650
+ def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
651
+ """
652
+ Specifies what flows belong to the same project.
653
+
654
+ A project-specific namespace is created for all flows that
655
+ use the same `@project(name)`.
626
656
  """
627
657
  ...
628
658
 
@@ -699,26 +729,39 @@ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: t
699
729
  """
700
730
  ...
701
731
 
732
+ 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]]:
733
+ """
734
+ 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)
735
+ before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
736
+ and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
737
+ added as a flow decorators. Adding more than one decorator will ensure that `start` step
738
+ starts only after all sensors finish.
739
+ """
740
+ ...
741
+
702
742
  @typing.overload
703
- def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
743
+ def schedule(*, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
704
744
  """
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.
745
+ Specifies the times when the flow should be run when running on a
746
+ production scheduler.
709
747
  """
710
748
  ...
711
749
 
712
750
  @typing.overload
713
- def pypi_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
751
+ def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
714
752
  ...
715
753
 
716
- def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
754
+ def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None):
717
755
  """
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.
756
+ Specifies the times when the flow should be run when running on a
757
+ production scheduler.
758
+ """
759
+ ...
760
+
761
+ 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]]:
762
+ """
763
+ 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.
764
+ 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
765
  """
723
766
  ...
724
767
 
@@ -745,48 +788,5 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
745
788
  """
746
789
  ...
747
790
 
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
- def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
783
- """
784
- Specifies what flows belong to the same project.
785
-
786
- A project-specific namespace is created for all flows that
787
- use the same `@project(name)`.
788
- """
789
- ...
790
-
791
791
  pkg_name: str
792
792
 
@@ -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.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.587085 #
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.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.600734 #
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.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.590437 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.192688 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.594721 #
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 datetime
13
- import typing
14
- import tarfile
15
12
  import metaflow.client.core
13
+ import tarfile
14
+ import typing
15
+ import datetime
16
16
  import metaflow.events
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.12.32.1+obcheckpoint(0.1.4);ob(v1) #
4
- # Generated on 2024-11-26T19:30:33.219007 #
3
+ # MF version: 2.12.35.1+obcheckpoint(0.1.4);ob(v1) #
4
+ # Generated on 2024-12-06T18:19:55.620605 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations