metaflow-stubs 2.13.6__tar.gz → 2.13.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. {metaflow_stubs-2.13.6/metaflow_stubs.egg-info → metaflow_stubs-2.13.8}/PKG-INFO +2 -2
  2. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/__init__.pyi +165 -165
  3. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/cards.pyi +2 -2
  4. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/cli.pyi +2 -2
  5. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/cli_components/__init__.pyi +2 -2
  6. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/cli_components/utils.pyi +2 -2
  7. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/client/__init__.pyi +2 -2
  8. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/client/core.pyi +5 -5
  9. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/client/filecache.pyi +3 -3
  10. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/events.pyi +3 -3
  11. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/exception.pyi +2 -2
  12. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/flowspec.pyi +4 -4
  13. metaflow_stubs-2.13.8/metaflow-stubs/generated_for.txt +1 -0
  14. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/includefile.pyi +3 -3
  15. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/info_file.pyi +2 -2
  16. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  17. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  18. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  19. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/metadata_provider/util.pyi +2 -2
  20. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/metaflow_config.pyi +4 -2
  21. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/metaflow_current.pyi +23 -23
  22. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/multicore_utils.pyi +2 -2
  23. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/parameters.pyi +7 -4
  24. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/__init__.pyi +12 -12
  25. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  26. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  27. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  28. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  29. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  30. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  31. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  32. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  33. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  34. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  35. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  36. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -3
  37. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  38. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +2 -2
  39. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +3 -3
  40. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/__init__.pyi +4 -4
  41. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  42. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  43. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  44. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  45. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  46. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  47. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  48. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  49. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  50. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  51. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  52. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  53. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  54. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  55. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  56. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +2 -2
  57. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +2 -2
  58. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  59. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  60. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  61. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  62. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  63. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  64. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  65. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  66. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_client.pyi +2 -2
  67. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  68. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  69. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  70. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  71. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  72. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  73. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  74. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  75. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  76. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  77. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  78. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  79. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
  80. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  81. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  82. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
  83. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  84. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/datatools/s3/s3.pyi +12 -3
  85. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  86. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  87. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
  88. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  89. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  90. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
  91. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  92. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  93. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  94. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  95. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  96. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  97. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  98. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  99. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  100. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
  101. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  102. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  103. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  104. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  105. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  106. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  107. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  108. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
  109. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
  110. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  111. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/pypi/conda_environment.pyi +3 -3
  112. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  113. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  114. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  115. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  116. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  117. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
  118. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  119. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  120. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
  121. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  122. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  123. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/pylint_wrapper.pyi +2 -2
  124. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/runner/__init__.pyi +2 -2
  125. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/runner/deployer.pyi +4 -4
  126. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/runner/deployer_impl.pyi +2 -2
  127. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/runner/metaflow_runner.pyi +3 -3
  128. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
  129. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/runner/nbrun.pyi +2 -2
  130. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  131. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/runner/utils.pyi +5 -4
  132. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/system/__init__.pyi +2 -2
  133. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/system/system_logger.pyi +2 -2
  134. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/system/system_monitor.pyi +2 -2
  135. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/tagging_util.pyi +2 -2
  136. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/tuple_util.pyi +2 -2
  137. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/user_configs/__init__.pyi +2 -2
  138. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/user_configs/config_decorators.pyi +6 -6
  139. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/user_configs/config_options.pyi +2 -2
  140. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/user_configs/config_parameters.pyi +12 -12
  141. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/version.pyi +2 -2
  142. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8/metaflow_stubs.egg-info}/PKG-INFO +2 -2
  143. metaflow_stubs-2.13.8/metaflow_stubs.egg-info/requires.txt +1 -0
  144. metaflow_stubs-2.13.8/version.py +1 -0
  145. metaflow_stubs-2.13.6/metaflow-stubs/generated_for.txt +0 -1
  146. metaflow_stubs-2.13.6/metaflow_stubs.egg-info/requires.txt +0 -1
  147. metaflow_stubs-2.13.6/version.py +0 -1
  148. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/MANIFEST.in +0 -0
  149. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/README.md +0 -0
  150. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow-stubs/py.typed +0 -0
  151. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow_stubs.egg-info/SOURCES.txt +0 -0
  152. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow_stubs.egg-info/dependency_links.txt +0 -0
  153. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/metaflow_stubs.egg-info/top_level.txt +0 -0
  154. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/setup.cfg +0 -0
  155. {metaflow_stubs-2.13.6 → metaflow_stubs-2.13.8}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metaflow-stubs
3
- Version: 2.13.6
3
+ Version: 2.13.8
4
4
  Summary: Metaflow Stubs: Stubs for the metaflow package
5
5
  Author: Metaflow Developers
6
6
  Author-email: help@metaflow.org
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
22
  Requires-Python: >=3.7.0
23
23
  Description-Content-Type: text/markdown
24
- Requires-Dist: metaflow==2.13.6
24
+ Requires-Dist: metaflow==2.13.8
25
25
  Dynamic: author
26
26
  Dynamic: author-email
27
27
  Dynamic: classifier
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.6 #
4
- # Generated on 2025-01-23T12:09:53.031777 #
3
+ # MF version: 2.13.8 #
4
+ # Generated on 2025-01-30T22:35:29.279121 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -35,8 +35,8 @@ from .user_configs.config_parameters import ConfigValue as ConfigValue
35
35
  from .user_configs.config_parameters import config_expr as config_expr
36
36
  from .user_configs.config_decorators import CustomFlowDecorator as CustomFlowDecorator
37
37
  from .user_configs.config_decorators import CustomStepDecorator as CustomStepDecorator
38
- from . import tuple_util as tuple_util
39
38
  from . import events as events
39
+ from . import tuple_util as tuple_util
40
40
  from . import runner as runner
41
41
  from . import plugins as plugins
42
42
  from .plugins.datatools.s3.s3 import S3 as S3
@@ -143,138 +143,91 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
143
143
  ...
144
144
 
145
145
  @typing.overload
146
- 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]]]:
146
+ 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]]]:
147
147
  """
148
- Specifies a timeout for your step.
149
-
150
- This decorator is useful if this step may hang indefinitely.
148
+ Specifies the resources needed when executing this step.
151
149
 
152
- This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
153
- A timeout is considered to be an exception thrown by the step. It will cause the step to be
154
- retried if needed and the exception will be caught by the `@catch` decorator, if present.
150
+ Use `@resources` to specify the resource requirements
151
+ independently of the specific compute layer (`@batch`, `@kubernetes`).
155
152
 
156
- Note that all the values specified in parameters are added together so if you specify
157
- 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
153
+ You can choose the compute layer on the command line by executing e.g.
154
+ ```
155
+ python myflow.py run --with batch
156
+ ```
157
+ or
158
+ ```
159
+ python myflow.py run --with kubernetes
160
+ ```
161
+ which executes the flow on the desired system using the
162
+ requirements specified in `@resources`.
158
163
  """
159
164
  ...
160
165
 
161
166
  @typing.overload
162
- def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
167
+ def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
163
168
  ...
164
169
 
165
170
  @typing.overload
166
- def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
171
+ def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
167
172
  ...
168
173
 
169
- 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):
174
+ 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):
170
175
  """
171
- Specifies a timeout for your step.
172
-
173
- This decorator is useful if this step may hang indefinitely.
176
+ Specifies the resources needed when executing this step.
174
177
 
175
- This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
176
- A timeout is considered to be an exception thrown by the step. It will cause the step to be
177
- retried if needed and the exception will be caught by the `@catch` decorator, if present.
178
+ Use `@resources` to specify the resource requirements
179
+ independently of the specific compute layer (`@batch`, `@kubernetes`).
178
180
 
179
- Note that all the values specified in parameters are added together so if you specify
180
- 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
181
- """
182
- ...
183
-
184
- @typing.overload
185
- def batch(*, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[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]]]:
186
- """
187
- Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
188
- """
189
- ...
190
-
191
- @typing.overload
192
- def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
193
- ...
194
-
195
- @typing.overload
196
- def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
197
- ...
198
-
199
- def batch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[str]] = None):
200
- """
201
- Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
181
+ You can choose the compute layer on the command line by executing e.g.
182
+ ```
183
+ python myflow.py run --with batch
184
+ ```
185
+ or
186
+ ```
187
+ python myflow.py run --with kubernetes
188
+ ```
189
+ which executes the flow on the desired system using the
190
+ requirements specified in `@resources`.
202
191
  """
203
192
  ...
204
193
 
205
194
  @typing.overload
206
- 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]]]:
195
+ def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
207
196
  """
208
- Specifies the number of times the task corresponding
209
- to a step needs to be retried.
210
-
211
- This decorator is useful for handling transient errors, such as networking issues.
212
- If your task contains operations that can't be retried safely, e.g. database updates,
213
- it is advisable to annotate it with `@retry(times=0)`.
214
-
215
- This can be used in conjunction with the `@catch` decorator. The `@catch`
216
- decorator will execute a no-op task after all retries have been exhausted,
217
- ensuring that the flow execution can continue.
197
+ Decorator prototype for all step decorators. This function gets specialized
198
+ and imported for all decorators types by _import_plugin_decorators().
218
199
  """
219
200
  ...
220
201
 
221
202
  @typing.overload
222
- def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
223
- ...
224
-
225
- @typing.overload
226
- def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
203
+ def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
227
204
  ...
228
205
 
229
- 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):
206
+ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
230
207
  """
231
- Specifies the number of times the task corresponding
232
- to a step needs to be retried.
233
-
234
- This decorator is useful for handling transient errors, such as networking issues.
235
- If your task contains operations that can't be retried safely, e.g. database updates,
236
- it is advisable to annotate it with `@retry(times=0)`.
237
-
238
- This can be used in conjunction with the `@catch` decorator. The `@catch`
239
- decorator will execute a no-op task after all retries have been exhausted,
240
- ensuring that the flow execution can continue.
208
+ Decorator prototype for all step decorators. This function gets specialized
209
+ and imported for all decorators types by _import_plugin_decorators().
241
210
  """
242
211
  ...
243
212
 
244
213
  @typing.overload
245
- 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]]]:
214
+ 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]]]:
246
215
  """
247
- Specifies the Conda environment for the step.
248
-
249
- Information in this decorator will augment any
250
- attributes set in the `@conda_base` flow-level decorator. Hence,
251
- you can use `@conda_base` to set packages required by all
252
- steps and use `@conda` to specify step-specific overrides.
216
+ Specifies environment variables to be set prior to the execution of a step.
253
217
  """
254
218
  ...
255
219
 
256
220
  @typing.overload
257
- def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
221
+ def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
258
222
  ...
259
223
 
260
224
  @typing.overload
261
- def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
262
- ...
263
-
264
- 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):
265
- """
266
- Specifies the Conda environment for the step.
267
-
268
- Information in this decorator will augment any
269
- attributes set in the `@conda_base` flow-level decorator. Hence,
270
- you can use `@conda_base` to set packages required by all
271
- steps and use `@conda` to specify step-specific overrides.
272
- """
225
+ def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
273
226
  ...
274
227
 
275
- def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: typing.Optional[str] = None, image_pull_policy: str = 'KUBERNETES_IMAGE_PULL_POLICY', service_account: str = 'METAFLOW_KUBERNETES_SERVICE_ACCOUNT', secrets: typing.Optional[typing.List[str]] = None, node_selector: typing.Union[typing.Dict[str, str], str, None] = None, namespace: str = 'METAFLOW_KUBERNETES_NAMESPACE', gpu: typing.Optional[int] = None, gpu_vendor: str = 'KUBERNETES_GPU_VENDOR', tolerations: typing.List[str] = [], labels: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_LABELS', annotations: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_ANNOTATIONS', use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = '/metaflow_temp', persistent_volume_claims: typing.Optional[typing.Dict[str, str]] = None, shared_memory: typing.Optional[int] = None, port: typing.Optional[int] = None, compute_pool: typing.Optional[str] = None, hostname_resolution_timeout: int = 600, qos: str = 'Burstable') -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
228
+ def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
276
229
  """
277
- Specifies that this step should execute on Kubernetes.
230
+ Specifies environment variables to be set prior to the execution of a step.
278
231
  """
279
232
  ...
280
233
 
@@ -326,34 +279,30 @@ def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typ
326
279
  """
327
280
  ...
328
281
 
282
+ def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: typing.Optional[str] = None, image_pull_policy: str = 'KUBERNETES_IMAGE_PULL_POLICY', service_account: str = 'METAFLOW_KUBERNETES_SERVICE_ACCOUNT', secrets: typing.Optional[typing.List[str]] = None, node_selector: typing.Union[typing.Dict[str, str], str, None] = None, namespace: str = 'METAFLOW_KUBERNETES_NAMESPACE', gpu: typing.Optional[int] = None, gpu_vendor: str = 'KUBERNETES_GPU_VENDOR', tolerations: typing.List[str] = [], labels: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_LABELS', annotations: typing.Dict[str, str] = 'METAFLOW_KUBERNETES_ANNOTATIONS', use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = '/metaflow_temp', persistent_volume_claims: typing.Optional[typing.Dict[str, str]] = None, shared_memory: typing.Optional[int] = None, port: typing.Optional[int] = None, compute_pool: typing.Optional[str] = None, hostname_resolution_timeout: int = 600, qos: str = 'Burstable') -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
283
+ """
284
+ Specifies that this step should execute on Kubernetes.
285
+ """
286
+ ...
287
+
329
288
  @typing.overload
330
- 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]]]:
289
+ def batch(*, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[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]]]:
331
290
  """
332
- Specifies the PyPI packages for the step.
333
-
334
- Information in this decorator will augment any
335
- attributes set in the `@pyi_base` flow-level decorator. Hence,
336
- you can use `@pypi_base` to set packages required by all
337
- steps and use `@pypi` to specify step-specific overrides.
291
+ Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
338
292
  """
339
293
  ...
340
294
 
341
295
  @typing.overload
342
- def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
296
+ def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
343
297
  ...
344
298
 
345
299
  @typing.overload
346
- def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
300
+ def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
347
301
  ...
348
302
 
349
- def pypi(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
303
+ def batch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[str]] = None):
350
304
  """
351
- Specifies the PyPI packages for the step.
352
-
353
- Information in this decorator will augment any
354
- attributes set in the `@pyi_base` flow-level decorator. Hence,
355
- you can use `@pypi_base` to set packages required by all
356
- steps and use `@pypi` to specify step-specific overrides.
305
+ Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
357
306
  """
358
307
  ...
359
308
 
@@ -389,91 +338,142 @@ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
389
338
  ...
390
339
 
391
340
  @typing.overload
392
- 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]]]:
341
+ 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]]]:
393
342
  """
394
- Specifies environment variables to be set prior to the execution of a step.
343
+ Specifies the PyPI packages for the step.
344
+
345
+ Information in this decorator will augment any
346
+ attributes set in the `@pyi_base` flow-level decorator. Hence,
347
+ you can use `@pypi_base` to set packages required by all
348
+ steps and use `@pypi` to specify step-specific overrides.
395
349
  """
396
350
  ...
397
351
 
398
352
  @typing.overload
399
- def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
353
+ def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
400
354
  ...
401
355
 
402
356
  @typing.overload
403
- def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
357
+ def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
404
358
  ...
405
359
 
406
- def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
360
+ def pypi(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
407
361
  """
408
- Specifies environment variables to be set prior to the execution of a step.
362
+ Specifies the PyPI packages for the step.
363
+
364
+ Information in this decorator will augment any
365
+ attributes set in the `@pyi_base` flow-level decorator. Hence,
366
+ you can use `@pypi_base` to set packages required by all
367
+ steps and use `@pypi` to specify step-specific overrides.
409
368
  """
410
369
  ...
411
370
 
412
371
  @typing.overload
413
- 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]]]:
372
+ 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]]]:
414
373
  """
415
- Specifies the resources needed when executing this step.
374
+ Specifies the number of times the task corresponding
375
+ to a step needs to be retried.
416
376
 
417
- Use `@resources` to specify the resource requirements
418
- independently of the specific compute layer (`@batch`, `@kubernetes`).
377
+ This decorator is useful for handling transient errors, such as networking issues.
378
+ If your task contains operations that can't be retried safely, e.g. database updates,
379
+ it is advisable to annotate it with `@retry(times=0)`.
419
380
 
420
- You can choose the compute layer on the command line by executing e.g.
421
- ```
422
- python myflow.py run --with batch
423
- ```
424
- or
425
- ```
426
- python myflow.py run --with kubernetes
427
- ```
428
- which executes the flow on the desired system using the
429
- requirements specified in `@resources`.
381
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
382
+ decorator will execute a no-op task after all retries have been exhausted,
383
+ ensuring that the flow execution can continue.
430
384
  """
431
385
  ...
432
386
 
433
387
  @typing.overload
434
- def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
388
+ def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
435
389
  ...
436
390
 
437
391
  @typing.overload
438
- def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
392
+ def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
439
393
  ...
440
394
 
441
- 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):
395
+ 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):
442
396
  """
443
- Specifies the resources needed when executing this step.
397
+ Specifies the number of times the task corresponding
398
+ to a step needs to be retried.
444
399
 
445
- Use `@resources` to specify the resource requirements
446
- independently of the specific compute layer (`@batch`, `@kubernetes`).
400
+ This decorator is useful for handling transient errors, such as networking issues.
401
+ If your task contains operations that can't be retried safely, e.g. database updates,
402
+ it is advisable to annotate it with `@retry(times=0)`.
447
403
 
448
- You can choose the compute layer on the command line by executing e.g.
449
- ```
450
- python myflow.py run --with batch
451
- ```
452
- or
453
- ```
454
- python myflow.py run --with kubernetes
455
- ```
456
- which executes the flow on the desired system using the
457
- requirements specified in `@resources`.
404
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
405
+ decorator will execute a no-op task after all retries have been exhausted,
406
+ ensuring that the flow execution can continue.
458
407
  """
459
408
  ...
460
409
 
461
410
  @typing.overload
462
- def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
411
+ 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]]]:
463
412
  """
464
- Decorator prototype for all step decorators. This function gets specialized
465
- and imported for all decorators types by _import_plugin_decorators().
413
+ Specifies a timeout for your step.
414
+
415
+ This decorator is useful if this step may hang indefinitely.
416
+
417
+ This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
418
+ A timeout is considered to be an exception thrown by the step. It will cause the step to be
419
+ retried if needed and the exception will be caught by the `@catch` decorator, if present.
420
+
421
+ Note that all the values specified in parameters are added together so if you specify
422
+ 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
466
423
  """
467
424
  ...
468
425
 
469
426
  @typing.overload
470
- def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
427
+ def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
471
428
  ...
472
429
 
473
- def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
430
+ @typing.overload
431
+ def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
432
+ ...
433
+
434
+ 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):
474
435
  """
475
- Decorator prototype for all step decorators. This function gets specialized
476
- and imported for all decorators types by _import_plugin_decorators().
436
+ Specifies a timeout for your step.
437
+
438
+ This decorator is useful if this step may hang indefinitely.
439
+
440
+ This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
441
+ A timeout is considered to be an exception thrown by the step. It will cause the step to be
442
+ retried if needed and the exception will be caught by the `@catch` decorator, if present.
443
+
444
+ Note that all the values specified in parameters are added together so if you specify
445
+ 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
446
+ """
447
+ ...
448
+
449
+ @typing.overload
450
+ 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]]]:
451
+ """
452
+ Specifies the Conda environment for the step.
453
+
454
+ Information in this decorator will augment any
455
+ attributes set in the `@conda_base` flow-level decorator. Hence,
456
+ you can use `@conda_base` to set packages required by all
457
+ steps and use `@conda` to specify step-specific overrides.
458
+ """
459
+ ...
460
+
461
+ @typing.overload
462
+ def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
463
+ ...
464
+
465
+ @typing.overload
466
+ def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
467
+ ...
468
+
469
+ 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):
470
+ """
471
+ Specifies the Conda environment for the step.
472
+
473
+ Information in this decorator will augment any
474
+ attributes set in the `@conda_base` flow-level decorator. Hence,
475
+ you can use `@conda_base` to set packages required by all
476
+ steps and use `@conda` to specify step-specific overrides.
477
477
  """
478
478
  ...
479
479
 
@@ -650,6 +650,16 @@ def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly:
650
650
  """
651
651
  ...
652
652
 
653
+ 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]]:
654
+ """
655
+ 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)
656
+ before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
657
+ and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
658
+ added as a flow decorators. Adding more than one decorator will ensure that `start` step
659
+ starts only after all sensors finish.
660
+ """
661
+ ...
662
+
653
663
  @typing.overload
654
664
  def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
655
665
  """
@@ -696,13 +706,6 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
696
706
  """
697
707
  ...
698
708
 
699
- 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]]:
700
- """
701
- 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.
702
- 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.
703
- """
704
- ...
705
-
706
709
  def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
707
710
  """
708
711
  Specifies what flows belong to the same project.
@@ -712,13 +715,10 @@ def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typ
712
715
  """
713
716
  ...
714
717
 
715
- 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]]:
718
+ 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]]:
716
719
  """
717
- 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)
718
- before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
719
- and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
720
- added as a flow decorators. Adding more than one decorator will ensure that `start` step
721
- starts only after all sensors finish.
720
+ 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.
721
+ 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
722
  """
723
723
  ...
724
724
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.6 #
4
- # Generated on 2025-01-23T12:09:52.952052 #
3
+ # MF version: 2.13.8 #
4
+ # Generated on 2025-01-30T22:35:29.199412 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.6 #
4
- # Generated on 2025-01-23T12:09:52.961230 #
3
+ # MF version: 2.13.8 #
4
+ # Generated on 2025-01-30T22:35:29.207772 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.6 #
4
- # Generated on 2025-01-23T12:09:52.959924 #
3
+ # MF version: 2.13.8 #
4
+ # Generated on 2025-01-30T22:35:29.206577 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.6 #
4
- # Generated on 2025-01-23T12:09:52.982895 #
3
+ # MF version: 2.13.8 #
4
+ # Generated on 2025-01-30T22:35:29.227873 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.6 #
4
- # Generated on 2025-01-23T12:09:52.952355 #
3
+ # MF version: 2.13.8 #
4
+ # Generated on 2025-01-30T22:35:29.199688 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.6 #
4
- # Generated on 2025-01-23T12:09:52.957244 #
3
+ # MF version: 2.13.8 #
4
+ # Generated on 2025-01-30T22:35:29.204117 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,11 +9,11 @@ from __future__ import annotations
9
9
  import typing
10
10
  import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import typing
13
- import tarfile
14
- import metaflow.events
15
12
  import metaflow.client.core
13
+ import tarfile
14
+ import typing
16
15
  import datetime
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.13.6 #
4
- # Generated on 2025-01-23T12:09:52.982504 #
3
+ # MF version: 2.13.8 #
4
+ # Generated on 2025-01-30T22:35:29.227461 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
  import metaflow
10
10
  import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.exception
13
12
  import metaflow.datastore.content_addressed_store
13
+ import metaflow.exception
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16