metaflow-stubs 2.13.5__tar.gz → 2.13.7__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.5/metaflow_stubs.egg-info → metaflow_stubs-2.13.7}/PKG-INFO +2 -2
  2. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/__init__.pyi +188 -188
  3. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/cards.pyi +2 -2
  4. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/cli.pyi +2 -2
  5. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/cli_components/__init__.pyi +2 -2
  6. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/cli_components/utils.pyi +2 -2
  7. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/client/__init__.pyi +2 -2
  8. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/client/core.pyi +5 -5
  9. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/client/filecache.pyi +2 -2
  10. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/events.pyi +2 -2
  11. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/exception.pyi +2 -2
  12. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/flowspec.pyi +4 -4
  13. metaflow_stubs-2.13.7/metaflow-stubs/generated_for.txt +1 -0
  14. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/includefile.pyi +3 -3
  15. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/info_file.pyi +2 -2
  16. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  17. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  18. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  19. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/metadata_provider/util.pyi +2 -2
  20. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/metaflow_config.pyi +2 -2
  21. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/metaflow_current.pyi +21 -21
  22. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/multicore_utils.pyi +2 -2
  23. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/parameters.pyi +4 -4
  24. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/__init__.pyi +12 -12
  25. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  26. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  27. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  28. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  29. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  30. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  31. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  32. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  33. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  34. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  35. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  36. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -3
  37. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  38. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +3 -3
  39. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +2 -2
  40. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  41. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  42. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  43. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  44. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  45. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  46. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  47. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  48. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  49. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  50. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  51. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  52. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  53. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  54. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  55. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  56. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
  57. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +2 -2
  58. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  59. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  60. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  61. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  62. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  63. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  64. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  65. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  66. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  67. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  68. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  69. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  70. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  71. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  72. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  73. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_modules/components.pyi +2 -2
  74. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  75. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  76. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  77. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  78. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  79. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
  80. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/catch_decorator.pyi +2 -2
  81. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  82. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
  83. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  84. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/datatools/s3/s3.pyi +3 -3
  85. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  86. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  87. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
  88. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  89. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  90. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
  91. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  92. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  93. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  94. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  95. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  96. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  97. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  98. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  99. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  100. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
  101. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  102. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  103. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  104. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  105. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  106. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  107. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  108. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
  109. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  110. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  111. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/pypi/conda_environment.pyi +6 -6
  112. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  113. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  114. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  115. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  116. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  117. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  118. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  119. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  120. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
  121. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +2 -2
  122. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  123. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/pylint_wrapper.pyi +2 -2
  124. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/runner/__init__.pyi +2 -2
  125. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/runner/deployer.pyi +29 -29
  126. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/runner/deployer_impl.pyi +2 -2
  127. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/runner/metaflow_runner.pyi +3 -3
  128. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
  129. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/runner/nbrun.pyi +2 -2
  130. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  131. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/runner/utils.pyi +3 -3
  132. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/system/__init__.pyi +2 -2
  133. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/system/system_logger.pyi +2 -2
  134. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/system/system_monitor.pyi +2 -2
  135. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/tagging_util.pyi +2 -2
  136. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/tuple_util.pyi +2 -2
  137. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/user_configs/__init__.pyi +2 -2
  138. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/user_configs/config_decorators.pyi +6 -6
  139. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/user_configs/config_options.pyi +3 -3
  140. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/user_configs/config_parameters.pyi +10 -10
  141. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/version.pyi +2 -2
  142. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7/metaflow_stubs.egg-info}/PKG-INFO +2 -2
  143. metaflow_stubs-2.13.7/metaflow_stubs.egg-info/requires.txt +1 -0
  144. metaflow_stubs-2.13.7/version.py +1 -0
  145. metaflow_stubs-2.13.5/metaflow-stubs/generated_for.txt +0 -1
  146. metaflow_stubs-2.13.5/metaflow_stubs.egg-info/requires.txt +0 -1
  147. metaflow_stubs-2.13.5/version.py +0 -1
  148. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/MANIFEST.in +0 -0
  149. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/README.md +0 -0
  150. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow-stubs/py.typed +0 -0
  151. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow_stubs.egg-info/SOURCES.txt +0 -0
  152. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow_stubs.egg-info/dependency_links.txt +0 -0
  153. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/metaflow_stubs.egg-info/top_level.txt +0 -0
  154. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/setup.cfg +0 -0
  155. {metaflow_stubs-2.13.5 → metaflow_stubs-2.13.7}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: metaflow-stubs
3
- Version: 2.13.5
3
+ Version: 2.13.7
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.5
24
+ Requires-Dist: metaflow==2.13.7
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.5 #
4
- # Generated on 2025-01-16T23:35:54.592023 #
3
+ # MF version: 2.13.7 #
4
+ # Generated on 2025-01-23T20:47:22.326170 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -142,6 +142,105 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
142
142
  """
143
143
  ...
144
144
 
145
+ @typing.overload
146
+ 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]]]:
147
+ """
148
+ Specifies the number of times the task corresponding
149
+ to a step needs to be retried.
150
+
151
+ This decorator is useful for handling transient errors, such as networking issues.
152
+ If your task contains operations that can't be retried safely, e.g. database updates,
153
+ it is advisable to annotate it with `@retry(times=0)`.
154
+
155
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
156
+ decorator will execute a no-op task after all retries have been exhausted,
157
+ ensuring that the flow execution can continue.
158
+ """
159
+ ...
160
+
161
+ @typing.overload
162
+ def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
163
+ ...
164
+
165
+ @typing.overload
166
+ def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
167
+ ...
168
+
169
+ 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):
170
+ """
171
+ Specifies the number of times the task corresponding
172
+ to a step needs to be retried.
173
+
174
+ This decorator is useful for handling transient errors, such as networking issues.
175
+ If your task contains operations that can't be retried safely, e.g. database updates,
176
+ it is advisable to annotate it with `@retry(times=0)`.
177
+
178
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
179
+ decorator will execute a no-op task after all retries have been exhausted,
180
+ ensuring that the flow execution can continue.
181
+ """
182
+ ...
183
+
184
+ @typing.overload
185
+ 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]]]:
186
+ """
187
+ Specifies a timeout for your step.
188
+
189
+ This decorator is useful if this step may hang indefinitely.
190
+
191
+ This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
192
+ A timeout is considered to be an exception thrown by the step. It will cause the step to be
193
+ retried if needed and the exception will be caught by the `@catch` decorator, if present.
194
+
195
+ Note that all the values specified in parameters are added together so if you specify
196
+ 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
197
+ """
198
+ ...
199
+
200
+ @typing.overload
201
+ def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
202
+ ...
203
+
204
+ @typing.overload
205
+ def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
206
+ ...
207
+
208
+ 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):
209
+ """
210
+ Specifies a timeout for your step.
211
+
212
+ This decorator is useful if this step may hang indefinitely.
213
+
214
+ This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
215
+ A timeout is considered to be an exception thrown by the step. It will cause the step to be
216
+ retried if needed and the exception will be caught by the `@catch` decorator, if present.
217
+
218
+ Note that all the values specified in parameters are added together so if you specify
219
+ 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
220
+ """
221
+ ...
222
+
223
+ @typing.overload
224
+ 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]]]:
225
+ """
226
+ Specifies environment variables to be set prior to the execution of a step.
227
+ """
228
+ ...
229
+
230
+ @typing.overload
231
+ def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
232
+ ...
233
+
234
+ @typing.overload
235
+ def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
236
+ ...
237
+
238
+ def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
239
+ """
240
+ Specifies environment variables to be set prior to the execution of a step.
241
+ """
242
+ ...
243
+
145
244
  @typing.overload
146
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]]]:
147
246
  """
@@ -174,119 +273,121 @@ def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
174
273
  ...
175
274
 
176
275
  @typing.overload
177
- def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
276
+ 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]]]:
178
277
  """
179
- Decorator prototype for all step decorators. This function gets specialized
180
- and imported for all decorators types by _import_plugin_decorators().
278
+ Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
181
279
  """
182
280
  ...
183
281
 
184
282
  @typing.overload
185
- def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
283
+ def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
186
284
  ...
187
285
 
188
- def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
286
+ @typing.overload
287
+ def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
288
+ ...
289
+
290
+ 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):
189
291
  """
190
- Decorator prototype for all step decorators. This function gets specialized
191
- and imported for all decorators types by _import_plugin_decorators().
292
+ Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
192
293
  """
193
294
  ...
194
295
 
195
296
  @typing.overload
196
- def card(*, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
297
+ 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]]]:
197
298
  """
198
- Creates a human-readable report, a Metaflow Card, after this step completes.
299
+ Specifies the PyPI packages for the step.
199
300
 
200
- Note that you may add multiple `@card` decorators in a step with different parameters.
301
+ Information in this decorator will augment any
302
+ attributes set in the `@pyi_base` flow-level decorator. Hence,
303
+ you can use `@pypi_base` to set packages required by all
304
+ steps and use `@pypi` to specify step-specific overrides.
201
305
  """
202
306
  ...
203
307
 
204
308
  @typing.overload
205
- def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
309
+ def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
206
310
  ...
207
311
 
208
312
  @typing.overload
209
- def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
313
+ def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
210
314
  ...
211
315
 
212
- def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45):
316
+ 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):
213
317
  """
214
- Creates a human-readable report, a Metaflow Card, after this step completes.
318
+ Specifies the PyPI packages for the step.
215
319
 
216
- Note that you may add multiple `@card` decorators in a step with different parameters.
320
+ Information in this decorator will augment any
321
+ attributes set in the `@pyi_base` flow-level decorator. Hence,
322
+ you can use `@pypi_base` to set packages required by all
323
+ steps and use `@pypi` to specify step-specific overrides.
217
324
  """
218
325
  ...
219
326
 
220
327
  @typing.overload
221
- 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]]]:
328
+ def card(*, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
222
329
  """
223
- Specifies environment variables to be set prior to the execution of a step.
330
+ Creates a human-readable report, a Metaflow Card, after this step completes.
331
+
332
+ Note that you may add multiple `@card` decorators in a step with different parameters.
224
333
  """
225
334
  ...
226
335
 
227
336
  @typing.overload
228
- def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
337
+ def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
229
338
  ...
230
339
 
231
340
  @typing.overload
232
- def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
341
+ def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
233
342
  ...
234
343
 
235
- def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
344
+ def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45):
236
345
  """
237
- Specifies environment variables to be set prior to the execution of a step.
346
+ Creates a human-readable report, a Metaflow Card, after this step completes.
347
+
348
+ Note that you may add multiple `@card` decorators in a step with different parameters.
238
349
  """
239
350
  ...
240
351
 
241
352
  @typing.overload
242
- 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]]]:
353
+ def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
243
354
  """
244
- Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
355
+ Decorator prototype for all step decorators. This function gets specialized
356
+ and imported for all decorators types by _import_plugin_decorators().
245
357
  """
246
358
  ...
247
359
 
248
360
  @typing.overload
249
- def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
250
- ...
251
-
252
- @typing.overload
253
- def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
361
+ def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
254
362
  ...
255
363
 
256
- 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):
364
+ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
257
365
  """
258
- Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
366
+ Decorator prototype for all step decorators. This function gets specialized
367
+ and imported for all decorators types by _import_plugin_decorators().
259
368
  """
260
369
  ...
261
370
 
262
371
  @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]]]:
372
+ def secrets(*, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
264
373
  """
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.
374
+ Specifies secrets to be retrieved and injected as environment variables prior to
375
+ the execution of a step.
271
376
  """
272
377
  ...
273
378
 
274
379
  @typing.overload
275
- def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
380
+ def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
276
381
  ...
277
382
 
278
383
  @typing.overload
279
- def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
384
+ def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
280
385
  ...
281
386
 
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):
387
+ def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []):
283
388
  """
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.
389
+ Specifies secrets to be retrieved and injected as environment variables prior to
390
+ the execution of a step.
290
391
  """
291
392
  ...
292
393
 
@@ -339,37 +440,6 @@ def resources(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None]
339
440
  """
340
441
  ...
341
442
 
342
- @typing.overload
343
- 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]]]:
344
- """
345
- Specifies the PyPI packages for the step.
346
-
347
- Information in this decorator will augment any
348
- attributes set in the `@pyi_base` flow-level decorator. Hence,
349
- you can use `@pypi_base` to set packages required by all
350
- steps and use `@pypi` to specify step-specific overrides.
351
- """
352
- ...
353
-
354
- @typing.overload
355
- def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
356
- ...
357
-
358
- @typing.overload
359
- def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
360
- ...
361
-
362
- 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):
363
- """
364
- Specifies the PyPI packages for the step.
365
-
366
- Information in this decorator will augment any
367
- attributes set in the `@pyi_base` flow-level decorator. Hence,
368
- you can use `@pypi_base` to set packages required by all
369
- steps and use `@pypi` to specify step-specific overrides.
370
- """
371
- ...
372
-
373
443
  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]]]:
374
444
  """
375
445
  Specifies that this step should execute on Kubernetes.
@@ -377,103 +447,52 @@ def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: ty
377
447
  ...
378
448
 
379
449
  @typing.overload
380
- def secrets(*, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
381
- """
382
- Specifies secrets to be retrieved and injected as environment variables prior to
383
- the execution of a step.
384
- """
385
- ...
386
-
387
- @typing.overload
388
- def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
389
- ...
390
-
391
- @typing.overload
392
- def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
393
- ...
394
-
395
- def secrets(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, sources: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = []):
396
- """
397
- Specifies secrets to be retrieved and injected as environment variables prior to
398
- the execution of a step.
399
- """
400
- ...
401
-
402
- @typing.overload
403
- 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]]]:
450
+ 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]]]:
404
451
  """
405
- Specifies a timeout for your step.
406
-
407
- This decorator is useful if this step may hang indefinitely.
408
-
409
- This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
410
- A timeout is considered to be an exception thrown by the step. It will cause the step to be
411
- retried if needed and the exception will be caught by the `@catch` decorator, if present.
452
+ Specifies that the step will success under all circumstances.
412
453
 
413
- Note that all the values specified in parameters are added together so if you specify
414
- 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
454
+ The decorator will create an optional artifact, specified by `var`, which
455
+ contains the exception raised. You can use it to detect the presence
456
+ of errors, indicating that all happy-path artifacts produced by the step
457
+ are missing.
415
458
  """
416
459
  ...
417
460
 
418
461
  @typing.overload
419
- def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
462
+ def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
420
463
  ...
421
464
 
422
465
  @typing.overload
423
- def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
466
+ def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
424
467
  ...
425
468
 
426
- 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):
469
+ 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):
427
470
  """
428
- Specifies a timeout for your step.
429
-
430
- This decorator is useful if this step may hang indefinitely.
431
-
432
- This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
433
- A timeout is considered to be an exception thrown by the step. It will cause the step to be
434
- retried if needed and the exception will be caught by the `@catch` decorator, if present.
471
+ Specifies that the step will success under all circumstances.
435
472
 
436
- Note that all the values specified in parameters are added together so if you specify
437
- 60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
473
+ The decorator will create an optional artifact, specified by `var`, which
474
+ contains the exception raised. You can use it to detect the presence
475
+ of errors, indicating that all happy-path artifacts produced by the step
476
+ are missing.
438
477
  """
439
478
  ...
440
479
 
441
480
  @typing.overload
442
- 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]]]:
481
+ 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]]:
443
482
  """
444
- Specifies the number of times the task corresponding
445
- to a step needs to be retried.
446
-
447
- This decorator is useful for handling transient errors, such as networking issues.
448
- If your task contains operations that can't be retried safely, e.g. database updates,
449
- it is advisable to annotate it with `@retry(times=0)`.
450
-
451
- This can be used in conjunction with the `@catch` decorator. The `@catch`
452
- decorator will execute a no-op task after all retries have been exhausted,
453
- ensuring that the flow execution can continue.
483
+ Specifies the times when the flow should be run when running on a
484
+ production scheduler.
454
485
  """
455
486
  ...
456
487
 
457
488
  @typing.overload
458
- def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
459
- ...
460
-
461
- @typing.overload
462
- def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
489
+ def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
463
490
  ...
464
491
 
465
- 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):
492
+ 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):
466
493
  """
467
- Specifies the number of times the task corresponding
468
- to a step needs to be retried.
469
-
470
- This decorator is useful for handling transient errors, such as networking issues.
471
- If your task contains operations that can't be retried safely, e.g. database updates,
472
- it is advisable to annotate it with `@retry(times=0)`.
473
-
474
- This can be used in conjunction with the `@catch` decorator. The `@catch`
475
- decorator will execute a no-op task after all retries have been exhausted,
476
- ensuring that the flow execution can continue.
494
+ Specifies the times when the flow should be run when running on a
495
+ production scheduler.
477
496
  """
478
497
  ...
479
498
 
@@ -558,13 +577,6 @@ def trigger_on_finish(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *
558
577
  """
559
578
  ...
560
579
 
561
- 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]]:
562
- """
563
- 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.
564
- 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.
565
- """
566
- ...
567
-
568
580
  @typing.overload
569
581
  def trigger(*, event: typing.Union[str, typing.Dict[str, typing.Any], None] = None, events: typing.List[typing.Union[str, typing.Dict[str, typing.Any]]] = [], options: typing.Dict[str, typing.Any] = {}) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
570
582
  """
@@ -638,22 +650,12 @@ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: t
638
650
  """
639
651
  ...
640
652
 
641
- @typing.overload
642
- 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]]:
643
- """
644
- Specifies the times when the flow should be run when running on a
645
- production scheduler.
646
- """
647
- ...
648
-
649
- @typing.overload
650
- def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
651
- ...
652
-
653
- 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):
653
+ def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
654
654
  """
655
- Specifies the times when the flow should be run when running on a
656
- production scheduler.
655
+ Specifies what flows belong to the same project.
656
+
657
+ A project-specific namespace is created for all flows that
658
+ use the same `@project(name)`.
657
659
  """
658
660
  ...
659
661
 
@@ -680,16 +682,6 @@ def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packag
680
682
  """
681
683
  ...
682
684
 
683
- 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]]:
684
- """
685
- 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)
686
- before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
687
- and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
688
- added as a flow decorators. Adding more than one decorator will ensure that `start` step
689
- starts only after all sensors finish.
690
- """
691
- ...
692
-
693
685
  @typing.overload
694
686
  def conda_base(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
695
687
  """
@@ -713,12 +705,20 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
713
705
  """
714
706
  ...
715
707
 
716
- def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
708
+ 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]]:
717
709
  """
718
- Specifies what flows belong to the same project.
719
-
720
- A project-specific namespace is created for all flows that
721
- use the same `@project(name)`.
710
+ 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)
711
+ before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
712
+ and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
713
+ added as a flow decorators. Adding more than one decorator will ensure that `start` step
714
+ starts only after all sensors finish.
715
+ """
716
+ ...
717
+
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]]:
719
+ """
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.5 #
4
- # Generated on 2025-01-16T23:35:54.513033 #
3
+ # MF version: 2.13.7 #
4
+ # Generated on 2025-01-23T20:47:22.243094 #
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.5 #
4
- # Generated on 2025-01-16T23:35:54.521819 #
3
+ # MF version: 2.13.7 #
4
+ # Generated on 2025-01-23T20:47:22.252647 #
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.5 #
4
- # Generated on 2025-01-16T23:35:54.520521 #
3
+ # MF version: 2.13.7 #
4
+ # Generated on 2025-01-23T20:47:22.251199 #
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.5 #
4
- # Generated on 2025-01-16T23:35:54.543045 #
3
+ # MF version: 2.13.7 #
4
+ # Generated on 2025-01-23T20:47:22.275379 #
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.5 #
4
- # Generated on 2025-01-16T23:35:54.513350 #
3
+ # MF version: 2.13.7 #
4
+ # Generated on 2025-01-23T20:47:22.243400 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations