metaflow-stubs 2.13.1__tar.gz → 2.13.3__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 (154) hide show
  1. {metaflow_stubs-2.13.1/metaflow_stubs.egg-info → metaflow_stubs-2.13.3}/PKG-INFO +13 -3
  2. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/__init__.pyi +190 -190
  3. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/cards.pyi +3 -2
  4. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/cli.pyi +2 -2
  5. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/cli_components/__init__.pyi +2 -2
  6. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/cli_components/utils.pyi +2 -2
  7. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/client/__init__.pyi +2 -2
  8. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/client/core.pyi +5 -5
  9. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/client/filecache.pyi +3 -3
  10. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/events.pyi +3 -3
  11. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/exception.pyi +2 -2
  12. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/flowspec.pyi +6 -6
  13. metaflow_stubs-2.13.3/metaflow-stubs/generated_for.txt +1 -0
  14. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/includefile.pyi +4 -4
  15. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/info_file.pyi +2 -2
  16. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  17. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  18. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  19. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/metadata_provider/util.pyi +2 -2
  20. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/metaflow_config.pyi +2 -2
  21. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/metaflow_current.pyi +16 -16
  22. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/multicore_utils.pyi +2 -2
  23. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/parameters.pyi +4 -4
  24. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/__init__.pyi +21 -13
  25. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  26. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  27. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  28. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  29. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  30. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  31. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  32. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  33. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  34. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  35. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  36. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/argo/argo_workflows.pyi +2 -2
  37. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  38. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  39. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -4
  40. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/__init__.pyi +3 -3
  41. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  42. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  43. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  44. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  45. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  46. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  47. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  48. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  49. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  50. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  51. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  52. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  53. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  54. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  55. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  56. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +5 -5
  57. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
  58. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  59. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  60. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  61. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  62. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  63. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  64. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  65. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  66. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_client.pyi +2 -2
  67. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  68. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  69. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  70. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  71. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +15 -7
  72. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_modules/card.pyi +9 -3
  73. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_modules/components.pyi +47 -9
  74. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  75. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  76. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +6 -6
  77. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  78. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/component_serializer.pyi +3 -3
  79. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
  80. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/catch_decorator.pyi +2 -2
  81. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  82. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
  83. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  84. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/datatools/s3/s3.pyi +4 -4
  85. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  86. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  87. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
  88. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  89. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  90. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
  91. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  92. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  93. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  94. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  95. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  96. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  97. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  98. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  99. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  100. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +3 -3
  101. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  102. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  103. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  104. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  105. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  106. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  107. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
  108. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  109. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  110. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/pypi/conda_environment.pyi +6 -6
  111. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  112. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  113. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  114. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  115. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  116. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
  117. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  118. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  119. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
  120. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  121. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  122. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/pylint_wrapper.pyi +2 -2
  123. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/runner/__init__.pyi +2 -2
  124. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/runner/deployer.pyi +6 -6
  125. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/runner/deployer_impl.pyi +3 -3
  126. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/runner/metaflow_runner.pyi +14 -6
  127. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
  128. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/runner/nbrun.pyi +2 -2
  129. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  130. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/runner/utils.pyi +4 -4
  131. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/system/__init__.pyi +2 -2
  132. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/system/system_logger.pyi +3 -3
  133. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/system/system_monitor.pyi +2 -2
  134. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/tagging_util.pyi +2 -2
  135. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/tuple_util.pyi +2 -2
  136. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/user_configs/__init__.pyi +2 -2
  137. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/user_configs/config_decorators.pyi +5 -5
  138. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/user_configs/config_options.pyi +4 -4
  139. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/user_configs/config_parameters.pyi +6 -6
  140. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/version.pyi +2 -2
  141. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3/metaflow_stubs.egg-info}/PKG-INFO +13 -3
  142. metaflow_stubs-2.13.3/metaflow_stubs.egg-info/requires.txt +1 -0
  143. metaflow_stubs-2.13.3/version.py +1 -0
  144. metaflow_stubs-2.13.1/metaflow-stubs/generated_for.txt +0 -1
  145. metaflow_stubs-2.13.1/metaflow_stubs.egg-info/requires.txt +0 -1
  146. metaflow_stubs-2.13.1/version.py +0 -1
  147. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/MANIFEST.in +0 -0
  148. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/README.md +0 -0
  149. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow-stubs/py.typed +0 -0
  150. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow_stubs.egg-info/SOURCES.txt +0 -0
  151. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow_stubs.egg-info/dependency_links.txt +0 -0
  152. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/metaflow_stubs.egg-info/top_level.txt +0 -0
  153. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/setup.cfg +0 -0
  154. {metaflow_stubs-2.13.1 → metaflow_stubs-2.13.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: metaflow-stubs
3
- Version: 2.13.1
3
+ Version: 2.13.3
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,17 @@ 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.1
24
+ Requires-Dist: metaflow==2.13.3
25
+ Dynamic: author
26
+ Dynamic: author-email
27
+ Dynamic: classifier
28
+ Dynamic: description
29
+ Dynamic: description-content-type
30
+ Dynamic: license
31
+ Dynamic: project-url
32
+ Dynamic: requires-dist
33
+ Dynamic: requires-python
34
+ Dynamic: summary
25
35
 
26
36
  # Metaflow Stubs
27
37
 
@@ -1,15 +1,15 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.1 #
4
- # Generated on 2025-01-06T13:29:15.375037 #
3
+ # MF version: 2.13.3 #
4
+ # Generated on 2025-01-10T15:23:16.057741 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import datetime
12
11
  import typing
12
+ import datetime
13
13
  FlowSpecDerived = typing.TypeVar("FlowSpecDerived", bound="FlowSpec", contravariant=False, covariant=False)
14
14
  StepFlag = typing.NewType("StepFlag", bool)
15
15
 
@@ -35,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 events as events
39
38
  from . import tuple_util as tuple_util
39
+ from . import events as events
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,41 +143,74 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
143
143
  ...
144
144
 
145
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]]]:
146
+ 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]]]:
147
147
  """
148
- Specifies the number of times the task corresponding
149
- to a step needs to be retried.
148
+ Specifies secrets to be retrieved and injected as environment variables prior to
149
+ the execution of a step.
150
+ """
151
+ ...
152
+
153
+ @typing.overload
154
+ def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
155
+ ...
156
+
157
+ @typing.overload
158
+ def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
159
+ ...
160
+
161
+ 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]]] = []):
162
+ """
163
+ Specifies secrets to be retrieved and injected as environment variables prior to
164
+ the execution of a step.
165
+ """
166
+ ...
167
+
168
+ @typing.overload
169
+ 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]]]:
170
+ """
171
+ Specifies the resources needed when executing this step.
150
172
 
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)`.
173
+ Use `@resources` to specify the resource requirements
174
+ independently of the specific compute layer (`@batch`, `@kubernetes`).
154
175
 
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.
176
+ You can choose the compute layer on the command line by executing e.g.
177
+ ```
178
+ python myflow.py run --with batch
179
+ ```
180
+ or
181
+ ```
182
+ python myflow.py run --with kubernetes
183
+ ```
184
+ which executes the flow on the desired system using the
185
+ requirements specified in `@resources`.
158
186
  """
159
187
  ...
160
188
 
161
189
  @typing.overload
162
- def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
190
+ def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
163
191
  ...
164
192
 
165
193
  @typing.overload
166
- def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
194
+ def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
167
195
  ...
168
196
 
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):
197
+ 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
198
  """
171
- Specifies the number of times the task corresponding
172
- to a step needs to be retried.
199
+ Specifies the resources needed when executing this step.
173
200
 
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)`.
201
+ Use `@resources` to specify the resource requirements
202
+ independently of the specific compute layer (`@batch`, `@kubernetes`).
177
203
 
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.
204
+ You can choose the compute layer on the command line by executing e.g.
205
+ ```
206
+ python myflow.py run --with batch
207
+ ```
208
+ or
209
+ ```
210
+ python myflow.py run --with kubernetes
211
+ ```
212
+ which executes the flow on the desired system using the
213
+ requirements specified in `@resources`.
181
214
  """
182
215
  ...
183
216
 
@@ -252,6 +285,31 @@ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
252
285
  """
253
286
  ...
254
287
 
288
+ @typing.overload
289
+ 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]]]:
290
+ """
291
+ Creates a human-readable report, a Metaflow Card, after this step completes.
292
+
293
+ Note that you may add multiple `@card` decorators in a step with different parameters.
294
+ """
295
+ ...
296
+
297
+ @typing.overload
298
+ def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
299
+ ...
300
+
301
+ @typing.overload
302
+ def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
303
+ ...
304
+
305
+ 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):
306
+ """
307
+ Creates a human-readable report, a Metaflow Card, after this step completes.
308
+
309
+ Note that you may add multiple `@card` decorators in a step with different parameters.
310
+ """
311
+ ...
312
+
255
313
  @typing.overload
256
314
  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]]]:
257
315
  """
@@ -322,60 +380,6 @@ def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
322
380
  """
323
381
  ...
324
382
 
325
- @typing.overload
326
- 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]]]:
327
- """
328
- Creates a human-readable report, a Metaflow Card, after this step completes.
329
-
330
- Note that you may add multiple `@card` decorators in a step with different parameters.
331
- """
332
- ...
333
-
334
- @typing.overload
335
- def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
336
- ...
337
-
338
- @typing.overload
339
- def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
340
- ...
341
-
342
- 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):
343
- """
344
- Creates a human-readable report, a Metaflow Card, after this step completes.
345
-
346
- Note that you may add multiple `@card` decorators in a step with different parameters.
347
- """
348
- ...
349
-
350
- 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]]]:
351
- """
352
- Specifies that this step should execute on Kubernetes.
353
- """
354
- ...
355
-
356
- @typing.overload
357
- 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]]]:
358
- """
359
- Specifies secrets to be retrieved and injected as environment variables prior to
360
- the execution of a step.
361
- """
362
- ...
363
-
364
- @typing.overload
365
- def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
366
- ...
367
-
368
- @typing.overload
369
- def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
370
- ...
371
-
372
- 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]]] = []):
373
- """
374
- Specifies secrets to be retrieved and injected as environment variables prior to
375
- the execution of a step.
376
- """
377
- ...
378
-
379
383
  @typing.overload
380
384
  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]]]:
381
385
  """
@@ -408,51 +412,47 @@ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
408
412
  ...
409
413
 
410
414
  @typing.overload
411
- 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]]]:
415
+ 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]]]:
412
416
  """
413
- Specifies the resources needed when executing this step.
417
+ Specifies the number of times the task corresponding
418
+ to a step needs to be retried.
414
419
 
415
- Use `@resources` to specify the resource requirements
416
- independently of the specific compute layer (`@batch`, `@kubernetes`).
420
+ This decorator is useful for handling transient errors, such as networking issues.
421
+ If your task contains operations that can't be retried safely, e.g. database updates,
422
+ it is advisable to annotate it with `@retry(times=0)`.
417
423
 
418
- You can choose the compute layer on the command line by executing e.g.
419
- ```
420
- python myflow.py run --with batch
421
- ```
422
- or
423
- ```
424
- python myflow.py run --with kubernetes
425
- ```
426
- which executes the flow on the desired system using the
427
- requirements specified in `@resources`.
424
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
425
+ decorator will execute a no-op task after all retries have been exhausted,
426
+ ensuring that the flow execution can continue.
428
427
  """
429
428
  ...
430
429
 
431
430
  @typing.overload
432
- def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
431
+ def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
433
432
  ...
434
433
 
435
434
  @typing.overload
436
- def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
435
+ def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
437
436
  ...
438
437
 
439
- 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):
438
+ 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):
440
439
  """
441
- Specifies the resources needed when executing this step.
440
+ Specifies the number of times the task corresponding
441
+ to a step needs to be retried.
442
442
 
443
- Use `@resources` to specify the resource requirements
444
- independently of the specific compute layer (`@batch`, `@kubernetes`).
443
+ This decorator is useful for handling transient errors, such as networking issues.
444
+ If your task contains operations that can't be retried safely, e.g. database updates,
445
+ it is advisable to annotate it with `@retry(times=0)`.
445
446
 
446
- You can choose the compute layer on the command line by executing e.g.
447
- ```
448
- python myflow.py run --with batch
449
- ```
450
- or
451
- ```
452
- python myflow.py run --with kubernetes
453
- ```
454
- which executes the flow on the desired system using the
455
- requirements specified in `@resources`.
447
+ This can be used in conjunction with the `@catch` decorator. The `@catch`
448
+ decorator will execute a no-op task after all retries have been exhausted,
449
+ ensuring that the flow execution can continue.
450
+ """
451
+ ...
452
+
453
+ 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]]]:
454
+ """
455
+ Specifies that this step should execute on Kubernetes.
456
456
  """
457
457
  ...
458
458
 
@@ -500,92 +500,29 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
500
500
  """
501
501
  ...
502
502
 
503
- 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]]:
503
+ @typing.overload
504
+ 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]]:
504
505
  """
505
- 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.
506
- 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.
506
+ Specifies the times when the flow should be run when running on a
507
+ production scheduler.
507
508
  """
508
509
  ...
509
510
 
510
- def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
511
- """
512
- Specifies what flows belong to the same project.
513
-
514
- A project-specific namespace is created for all flows that
515
- use the same `@project(name)`.
516
- """
511
+ @typing.overload
512
+ def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
517
513
  ...
518
514
 
519
- @typing.overload
520
- 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]]:
515
+ 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):
521
516
  """
522
- Specifies the event(s) that this flow depends on.
523
-
524
- ```
525
- @trigger(event='foo')
526
- ```
527
- or
528
- ```
529
- @trigger(events=['foo', 'bar'])
530
- ```
531
-
532
- Additionally, you can specify the parameter mappings
533
- to map event payload to Metaflow parameters for the flow.
534
- ```
535
- @trigger(event={'name':'foo', 'parameters':{'flow_param': 'event_field'}})
536
- ```
537
- or
538
- ```
539
- @trigger(events=[{'name':'foo', 'parameters':{'flow_param_1': 'event_field_1'},
540
- {'name':'bar', 'parameters':{'flow_param_2': 'event_field_2'}])
541
- ```
542
-
543
- 'parameters' can also be a list of strings and tuples like so:
544
- ```
545
- @trigger(event={'name':'foo', 'parameters':['common_name', ('flow_param', 'event_field')]})
546
- ```
547
- This is equivalent to:
548
- ```
549
- @trigger(event={'name':'foo', 'parameters':{'common_name': 'common_name', 'flow_param': 'event_field'}})
550
- ```
517
+ Specifies the times when the flow should be run when running on a
518
+ production scheduler.
551
519
  """
552
520
  ...
553
521
 
554
- @typing.overload
555
- def trigger(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
556
- ...
557
-
558
- def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, 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] = {}):
522
+ 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]]:
559
523
  """
560
- Specifies the event(s) that this flow depends on.
561
-
562
- ```
563
- @trigger(event='foo')
564
- ```
565
- or
566
- ```
567
- @trigger(events=['foo', 'bar'])
568
- ```
569
-
570
- Additionally, you can specify the parameter mappings
571
- to map event payload to Metaflow parameters for the flow.
572
- ```
573
- @trigger(event={'name':'foo', 'parameters':{'flow_param': 'event_field'}})
574
- ```
575
- or
576
- ```
577
- @trigger(events=[{'name':'foo', 'parameters':{'flow_param_1': 'event_field_1'},
578
- {'name':'bar', 'parameters':{'flow_param_2': 'event_field_2'}])
579
- ```
580
-
581
- 'parameters' can also be a list of strings and tuples like so:
582
- ```
583
- @trigger(event={'name':'foo', 'parameters':['common_name', ('flow_param', 'event_field')]})
584
- ```
585
- This is equivalent to:
586
- ```
587
- @trigger(event={'name':'foo', 'parameters':{'common_name': 'common_name', 'flow_param': 'event_field'}})
588
- ```
524
+ 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.
525
+ 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.
589
526
  """
590
527
  ...
591
528
 
@@ -703,22 +640,85 @@ def airflow_s3_key_sensor(*, timeout: int, poke_interval: int, mode: str, expone
703
640
  """
704
641
  ...
705
642
 
643
+ def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
644
+ """
645
+ Specifies what flows belong to the same project.
646
+
647
+ A project-specific namespace is created for all flows that
648
+ use the same `@project(name)`.
649
+ """
650
+ ...
651
+
706
652
  @typing.overload
707
- 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]]:
653
+ 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]]:
708
654
  """
709
- Specifies the times when the flow should be run when running on a
710
- production scheduler.
655
+ Specifies the event(s) that this flow depends on.
656
+
657
+ ```
658
+ @trigger(event='foo')
659
+ ```
660
+ or
661
+ ```
662
+ @trigger(events=['foo', 'bar'])
663
+ ```
664
+
665
+ Additionally, you can specify the parameter mappings
666
+ to map event payload to Metaflow parameters for the flow.
667
+ ```
668
+ @trigger(event={'name':'foo', 'parameters':{'flow_param': 'event_field'}})
669
+ ```
670
+ or
671
+ ```
672
+ @trigger(events=[{'name':'foo', 'parameters':{'flow_param_1': 'event_field_1'},
673
+ {'name':'bar', 'parameters':{'flow_param_2': 'event_field_2'}])
674
+ ```
675
+
676
+ 'parameters' can also be a list of strings and tuples like so:
677
+ ```
678
+ @trigger(event={'name':'foo', 'parameters':['common_name', ('flow_param', 'event_field')]})
679
+ ```
680
+ This is equivalent to:
681
+ ```
682
+ @trigger(event={'name':'foo', 'parameters':{'common_name': 'common_name', 'flow_param': 'event_field'}})
683
+ ```
711
684
  """
712
685
  ...
713
686
 
714
687
  @typing.overload
715
- def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
688
+ def trigger(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
716
689
  ...
717
690
 
718
- 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):
691
+ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, 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] = {}):
719
692
  """
720
- Specifies the times when the flow should be run when running on a
721
- production scheduler.
693
+ Specifies the event(s) that this flow depends on.
694
+
695
+ ```
696
+ @trigger(event='foo')
697
+ ```
698
+ or
699
+ ```
700
+ @trigger(events=['foo', 'bar'])
701
+ ```
702
+
703
+ Additionally, you can specify the parameter mappings
704
+ to map event payload to Metaflow parameters for the flow.
705
+ ```
706
+ @trigger(event={'name':'foo', 'parameters':{'flow_param': 'event_field'}})
707
+ ```
708
+ or
709
+ ```
710
+ @trigger(events=[{'name':'foo', 'parameters':{'flow_param_1': 'event_field_1'},
711
+ {'name':'bar', 'parameters':{'flow_param_2': 'event_field_2'}])
712
+ ```
713
+
714
+ 'parameters' can also be a list of strings and tuples like so:
715
+ ```
716
+ @trigger(event={'name':'foo', 'parameters':['common_name', ('flow_param', 'event_field')]})
717
+ ```
718
+ This is equivalent to:
719
+ ```
720
+ @trigger(event={'name':'foo', 'parameters':{'common_name': 'common_name', 'flow_param': 'event_field'}})
721
+ ```
722
722
  """
723
723
  ...
724
724
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.1 #
4
- # Generated on 2025-01-06T13:29:15.297521 #
3
+ # MF version: 2.13.3 #
4
+ # Generated on 2025-01-10T15:23:15.978105 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -17,6 +17,7 @@ from .plugins.cards.card_modules.components import Error as Error
17
17
  from .plugins.cards.card_modules.components import Markdown as Markdown
18
18
  from .plugins.cards.card_modules.components import VegaChart as VegaChart
19
19
  from .plugins.cards.card_modules.components import ProgressBar as ProgressBar
20
+ from .plugins.cards.card_modules.components import PythonCode as PythonCode
20
21
  from .plugins.cards.card_modules.basic import DefaultCard as DefaultCard
21
22
  from .plugins.cards.card_modules.basic import PageComponent as PageComponent
22
23
  from .plugins.cards.card_modules.basic import ErrorCard as ErrorCard
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.1 #
4
- # Generated on 2025-01-06T13:29:15.306401 #
3
+ # MF version: 2.13.3 #
4
+ # Generated on 2025-01-10T15:23:15.986979 #
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.1 #
4
- # Generated on 2025-01-06T13:29:15.305100 #
3
+ # MF version: 2.13.3 #
4
+ # Generated on 2025-01-10T15:23:15.985674 #
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.1 #
4
- # Generated on 2025-01-06T13:29:15.327193 #
3
+ # MF version: 2.13.3 #
4
+ # Generated on 2025-01-10T15:23:16.008616 #
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.1 #
4
- # Generated on 2025-01-06T13:29:15.297819 #
3
+ # MF version: 2.13.3 #
4
+ # Generated on 2025-01-10T15:23:15.978410 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.1 #
4
- # Generated on 2025-01-06T13:29:15.302604 #
3
+ # MF version: 2.13.3 #
4
+ # Generated on 2025-01-10T15:23:15.983111 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import datetime
13
12
  import typing
14
- import metaflow.events
13
+ import datetime
15
14
  import metaflow.client.core
15
+ import metaflow.events
16
16
  import tarfile
17
17
 
18
18
  from ..metaflow_current import current as current
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.13.1 #
4
- # Generated on 2025-01-06T13:29:15.326833 #
3
+ # MF version: 2.13.3 #
4
+ # Generated on 2025-01-10T15:23:16.008243 #
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