ob-metaflow-stubs 6.0.3.132__tar.gz → 6.0.3.134__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {ob-metaflow-stubs-6.0.3.132/ob_metaflow_stubs.egg-info → ob-metaflow-stubs-6.0.3.134}/PKG-INFO +1 -1
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/__init__.pyi +202 -202
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/cards.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/cli.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/cli_components/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/cli_components/utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/client/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/client/core.pyi +5 -5
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/client/filecache.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/events.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/exception.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/flowspec.pyi +6 -6
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/generated_for.txt +1 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/includefile.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/info_file.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/metadata_provider/util.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/metaflow_config.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/metaflow_current.pyi +20 -20
- {ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities → ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions}/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions → ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint}/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint → ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins}/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins → ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities}/__init__.pyi +2 -2
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/async_cards.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/deco_injection_mixin.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/extra_components.pyi +3 -3
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +6 -0
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/checkpoint_lister.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/lineage_card.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/constructors.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/core.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/decorator.pyi +5 -5
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/lineage.pyi +2 -2
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/core.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/task_utils.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/decorator.pyi +2 -2
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/core.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/model_storage.pyi +4 -4
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/flowspec_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/general.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +3 -3
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/base.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/tar.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +3 -3
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +6 -0
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +6 -0
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/snowflake.pyi +2 -2
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +2 -2
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/multicore_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/parameters.pyi +5 -5
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/__init__.pyi +12 -12
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_decorator.pyi +4 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/catch_decorator.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/datatools/s3/s3.pyi +5 -5
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/kubernetes/__init__.pyi +3 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
- ob-metaflow-stubs-6.0.3.134/metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +20 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/perimeters.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/pypi/conda_environment.pyi +6 -6
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/snowflake/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/profilers/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/pylint_wrapper.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/runner/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/runner/deployer.pyi +5 -5
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/runner/deployer_impl.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/runner/metaflow_runner.pyi +5 -5
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/runner/nbrun.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/runner/utils.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/system/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/system/system_logger.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/system/system_monitor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/tagging_util.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/tuple_util.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/user_configs/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/user_configs/config_decorators.pyi +6 -6
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/user_configs/config_options.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/user_configs/config_parameters.pyi +12 -12
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134/ob_metaflow_stubs.egg-info}/PKG-INFO +1 -1
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/ob_metaflow_stubs.egg-info/SOURCES.txt +1 -0
- ob-metaflow-stubs-6.0.3.134/version.py +1 -0
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/generated_for.txt +0 -1
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.132/version.py +0 -1
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/MANIFEST.in +0 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/README.md +0 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/metaflow-stubs/py.typed +0 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/ob_metaflow_stubs.egg-info/dependency_links.txt +0 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/ob_metaflow_stubs.egg-info/top_level.txt +0 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/setup.cfg +0 -0
- {ob-metaflow-stubs-6.0.3.132 → ob-metaflow-stubs-6.0.3.134}/setup.py +0 -0
@@ -1,15 +1,15 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.7.1+obcheckpoint(0.1.6);ob(v1) #
|
4
|
+
# Generated on 2025-01-23T20:10:29.134629 #
|
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
|
|
@@ -165,27 +165,6 @@ def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
|
|
165
165
|
"""
|
166
166
|
...
|
167
167
|
|
168
|
-
@typing.overload
|
169
|
-
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]]]:
|
170
|
-
"""
|
171
|
-
Specifies environment variables to be set prior to the execution of a step.
|
172
|
-
"""
|
173
|
-
...
|
174
|
-
|
175
|
-
@typing.overload
|
176
|
-
def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
177
|
-
...
|
178
|
-
|
179
|
-
@typing.overload
|
180
|
-
def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
181
|
-
...
|
182
|
-
|
183
|
-
def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
|
184
|
-
"""
|
185
|
-
Specifies environment variables to be set prior to the execution of a step.
|
186
|
-
"""
|
187
|
-
...
|
188
|
-
|
189
168
|
@typing.overload
|
190
169
|
def checkpoint(*, load_policy: str = 'fresh', temp_dir_root: str = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
191
170
|
"""
|
@@ -208,73 +187,72 @@ def checkpoint(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None
|
|
208
187
|
...
|
209
188
|
|
210
189
|
@typing.overload
|
211
|
-
def
|
190
|
+
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]]]:
|
212
191
|
"""
|
213
|
-
|
192
|
+
Specifies a timeout for your step.
|
193
|
+
|
194
|
+
This decorator is useful if this step may hang indefinitely.
|
195
|
+
|
196
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
197
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
198
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
199
|
+
|
200
|
+
Note that all the values specified in parameters are added together so if you specify
|
201
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
214
202
|
"""
|
215
203
|
...
|
216
204
|
|
217
205
|
@typing.overload
|
218
|
-
def
|
206
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
219
207
|
...
|
220
208
|
|
221
|
-
|
222
|
-
|
223
|
-
Internal decorator to support Fast bakery
|
224
|
-
"""
|
209
|
+
@typing.overload
|
210
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
225
211
|
...
|
226
212
|
|
227
|
-
|
228
|
-
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]]]:
|
213
|
+
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):
|
229
214
|
"""
|
230
|
-
Specifies
|
215
|
+
Specifies a timeout for your step.
|
231
216
|
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
217
|
+
This decorator is useful if this step may hang indefinitely.
|
218
|
+
|
219
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
220
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
221
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
222
|
+
|
223
|
+
Note that all the values specified in parameters are added together so if you specify
|
224
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
236
225
|
"""
|
237
226
|
...
|
238
227
|
|
239
228
|
@typing.overload
|
240
|
-
def
|
241
|
-
...
|
242
|
-
|
243
|
-
@typing.overload
|
244
|
-
def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
245
|
-
...
|
246
|
-
|
247
|
-
def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
|
229
|
+
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]]]:
|
248
230
|
"""
|
249
|
-
|
231
|
+
Creates a human-readable report, a Metaflow Card, after this step completes.
|
250
232
|
|
251
|
-
|
252
|
-
attributes set in the `@conda_base` flow-level decorator. Hence,
|
253
|
-
you can use `@conda_base` to set packages required by all
|
254
|
-
steps and use `@conda` to specify step-specific overrides.
|
233
|
+
Note that you may add multiple `@card` decorators in a step with different parameters.
|
255
234
|
"""
|
256
235
|
...
|
257
236
|
|
258
237
|
@typing.overload
|
259
|
-
def
|
260
|
-
"""
|
261
|
-
Specifies secrets to be retrieved and injected as environment variables prior to
|
262
|
-
the execution of a step.
|
263
|
-
"""
|
238
|
+
def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
264
239
|
...
|
265
240
|
|
266
241
|
@typing.overload
|
267
|
-
def
|
242
|
+
def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
268
243
|
...
|
269
244
|
|
270
|
-
|
271
|
-
|
245
|
+
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):
|
246
|
+
"""
|
247
|
+
Creates a human-readable report, a Metaflow Card, after this step completes.
|
248
|
+
|
249
|
+
Note that you may add multiple `@card` decorators in a step with different parameters.
|
250
|
+
"""
|
272
251
|
...
|
273
252
|
|
274
|
-
def
|
253
|
+
def nvidia(*, gpu: int, gpu_type: 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]]]:
|
275
254
|
"""
|
276
|
-
Specifies
|
277
|
-
the execution of a step.
|
255
|
+
Specifies that this step should execute on DGX cloud.
|
278
256
|
"""
|
279
257
|
...
|
280
258
|
|
@@ -309,6 +287,37 @@ def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
|
|
309
287
|
"""
|
310
288
|
...
|
311
289
|
|
290
|
+
@typing.overload
|
291
|
+
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]]]:
|
292
|
+
"""
|
293
|
+
Specifies the PyPI packages for the step.
|
294
|
+
|
295
|
+
Information in this decorator will augment any
|
296
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
297
|
+
you can use `@pypi_base` to set packages required by all
|
298
|
+
steps and use `@pypi` to specify step-specific overrides.
|
299
|
+
"""
|
300
|
+
...
|
301
|
+
|
302
|
+
@typing.overload
|
303
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
304
|
+
...
|
305
|
+
|
306
|
+
@typing.overload
|
307
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
308
|
+
...
|
309
|
+
|
310
|
+
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):
|
311
|
+
"""
|
312
|
+
Specifies the PyPI packages for the step.
|
313
|
+
|
314
|
+
Information in this decorator will augment any
|
315
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
316
|
+
you can use `@pypi_base` to set packages required by all
|
317
|
+
steps and use `@pypi` to specify step-specific overrides.
|
318
|
+
"""
|
319
|
+
...
|
320
|
+
|
312
321
|
@typing.overload
|
313
322
|
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]]]:
|
314
323
|
"""
|
@@ -348,186 +357,196 @@ def retry(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
|
|
348
357
|
"""
|
349
358
|
...
|
350
359
|
|
360
|
+
def huggingface_hub(*, temp_dir_root: typing.Optional[str] = None, load: typing.Union[typing.List[str], typing.List[typing.Tuple[typing.Dict, str]], typing.List[typing.Tuple[str, str]], typing.List[typing.Dict], None]) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
361
|
+
"""
|
362
|
+
Decorator that helps cache, version and store models/datasets from huggingface hub.
|
363
|
+
"""
|
364
|
+
...
|
365
|
+
|
351
366
|
@typing.overload
|
352
|
-
def
|
367
|
+
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]]]:
|
353
368
|
"""
|
354
|
-
|
369
|
+
Specifies the Conda environment for the step.
|
355
370
|
|
356
|
-
|
371
|
+
Information in this decorator will augment any
|
372
|
+
attributes set in the `@conda_base` flow-level decorator. Hence,
|
373
|
+
you can use `@conda_base` to set packages required by all
|
374
|
+
steps and use `@conda` to specify step-specific overrides.
|
357
375
|
"""
|
358
376
|
...
|
359
377
|
|
360
378
|
@typing.overload
|
361
|
-
def
|
379
|
+
def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
362
380
|
...
|
363
381
|
|
364
382
|
@typing.overload
|
365
|
-
def
|
383
|
+
def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
366
384
|
...
|
367
385
|
|
368
|
-
def
|
386
|
+
def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
|
369
387
|
"""
|
370
|
-
|
388
|
+
Specifies the Conda environment for the step.
|
371
389
|
|
372
|
-
|
390
|
+
Information in this decorator will augment any
|
391
|
+
attributes set in the `@conda_base` flow-level decorator. Hence,
|
392
|
+
you can use `@conda_base` to set packages required by all
|
393
|
+
steps and use `@conda` to specify step-specific overrides.
|
373
394
|
"""
|
374
395
|
...
|
375
396
|
|
376
|
-
|
397
|
+
@typing.overload
|
398
|
+
def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
377
399
|
"""
|
378
|
-
|
400
|
+
Internal decorator to support Fast bakery
|
379
401
|
"""
|
380
402
|
...
|
381
403
|
|
382
|
-
|
383
|
-
|
384
|
-
Specifies that this step should execute on DGX cloud.
|
385
|
-
"""
|
404
|
+
@typing.overload
|
405
|
+
def fast_bakery_internal(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
386
406
|
...
|
387
407
|
|
388
|
-
def
|
408
|
+
def fast_bakery_internal(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
|
389
409
|
"""
|
390
|
-
|
410
|
+
Internal decorator to support Fast bakery
|
391
411
|
"""
|
392
412
|
...
|
393
413
|
|
394
414
|
@typing.overload
|
395
|
-
def
|
415
|
+
def model(*, load: typing.Union[typing.List[str], str, typing.List[typing.Tuple[str, typing.Optional[str]]]] = None, temp_dir_root: str = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
396
416
|
"""
|
397
|
-
|
398
|
-
|
399
|
-
Use `@resources` to specify the resource requirements
|
400
|
-
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
401
|
-
|
402
|
-
You can choose the compute layer on the command line by executing e.g.
|
403
|
-
```
|
404
|
-
python myflow.py run --with batch
|
405
|
-
```
|
406
|
-
or
|
407
|
-
```
|
408
|
-
python myflow.py run --with kubernetes
|
409
|
-
```
|
410
|
-
which executes the flow on the desired system using the
|
411
|
-
requirements specified in `@resources`.
|
417
|
+
Enables loading / saving of models within a step.
|
412
418
|
"""
|
413
419
|
...
|
414
420
|
|
415
421
|
@typing.overload
|
416
|
-
def
|
422
|
+
def model(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
417
423
|
...
|
418
424
|
|
419
425
|
@typing.overload
|
420
|
-
def
|
426
|
+
def model(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
421
427
|
...
|
422
428
|
|
423
|
-
def
|
429
|
+
def model(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, load: typing.Union[typing.List[str], str, typing.List[typing.Tuple[str, typing.Optional[str]]]] = None, temp_dir_root: str = None):
|
424
430
|
"""
|
425
|
-
|
426
|
-
|
427
|
-
Use `@resources` to specify the resource requirements
|
428
|
-
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
429
|
-
|
430
|
-
You can choose the compute layer on the command line by executing e.g.
|
431
|
-
```
|
432
|
-
python myflow.py run --with batch
|
433
|
-
```
|
434
|
-
or
|
435
|
-
```
|
436
|
-
python myflow.py run --with kubernetes
|
437
|
-
```
|
438
|
-
which executes the flow on the desired system using the
|
439
|
-
requirements specified in `@resources`.
|
431
|
+
Enables loading / saving of models within a step.
|
440
432
|
"""
|
441
433
|
...
|
442
434
|
|
443
435
|
@typing.overload
|
444
|
-
def
|
436
|
+
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]]]:
|
445
437
|
"""
|
446
|
-
|
438
|
+
Specifies environment variables to be set prior to the execution of a step.
|
447
439
|
"""
|
448
440
|
...
|
449
441
|
|
450
442
|
@typing.overload
|
451
|
-
def
|
443
|
+
def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
452
444
|
...
|
453
445
|
|
454
446
|
@typing.overload
|
455
|
-
def
|
447
|
+
def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
456
448
|
...
|
457
449
|
|
458
|
-
def
|
450
|
+
def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
|
459
451
|
"""
|
460
|
-
|
452
|
+
Specifies environment variables to be set prior to the execution of a step.
|
461
453
|
"""
|
462
454
|
...
|
463
455
|
|
464
456
|
@typing.overload
|
465
|
-
def
|
457
|
+
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]]]:
|
466
458
|
"""
|
467
|
-
Specifies
|
468
|
-
|
469
|
-
Information in this decorator will augment any
|
470
|
-
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
471
|
-
you can use `@pypi_base` to set packages required by all
|
472
|
-
steps and use `@pypi` to specify step-specific overrides.
|
459
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
460
|
+
the execution of a step.
|
473
461
|
"""
|
474
462
|
...
|
475
463
|
|
476
464
|
@typing.overload
|
477
|
-
def
|
465
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
478
466
|
...
|
479
467
|
|
480
468
|
@typing.overload
|
481
|
-
def
|
469
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
482
470
|
...
|
483
471
|
|
484
|
-
def
|
472
|
+
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]]] = []):
|
485
473
|
"""
|
486
|
-
Specifies
|
487
|
-
|
488
|
-
Information in this decorator will augment any
|
489
|
-
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
490
|
-
you can use `@pypi_base` to set packages required by all
|
491
|
-
steps and use `@pypi` to specify step-specific overrides.
|
474
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
475
|
+
the execution of a step.
|
492
476
|
"""
|
493
477
|
...
|
494
478
|
|
495
479
|
@typing.overload
|
496
|
-
def
|
480
|
+
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]]]:
|
497
481
|
"""
|
498
|
-
Specifies
|
499
|
-
|
500
|
-
This decorator is useful if this step may hang indefinitely.
|
482
|
+
Specifies the resources needed when executing this step.
|
501
483
|
|
502
|
-
|
503
|
-
|
504
|
-
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
484
|
+
Use `@resources` to specify the resource requirements
|
485
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
505
486
|
|
506
|
-
|
507
|
-
|
487
|
+
You can choose the compute layer on the command line by executing e.g.
|
488
|
+
```
|
489
|
+
python myflow.py run --with batch
|
490
|
+
```
|
491
|
+
or
|
492
|
+
```
|
493
|
+
python myflow.py run --with kubernetes
|
494
|
+
```
|
495
|
+
which executes the flow on the desired system using the
|
496
|
+
requirements specified in `@resources`.
|
508
497
|
"""
|
509
498
|
...
|
510
499
|
|
511
500
|
@typing.overload
|
512
|
-
def
|
501
|
+
def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
513
502
|
...
|
514
503
|
|
515
504
|
@typing.overload
|
516
|
-
def
|
505
|
+
def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
517
506
|
...
|
518
507
|
|
519
|
-
def
|
508
|
+
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):
|
520
509
|
"""
|
521
|
-
Specifies
|
510
|
+
Specifies the resources needed when executing this step.
|
522
511
|
|
523
|
-
|
512
|
+
Use `@resources` to specify the resource requirements
|
513
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
524
514
|
|
525
|
-
|
526
|
-
|
527
|
-
|
515
|
+
You can choose the compute layer on the command line by executing e.g.
|
516
|
+
```
|
517
|
+
python myflow.py run --with batch
|
518
|
+
```
|
519
|
+
or
|
520
|
+
```
|
521
|
+
python myflow.py run --with kubernetes
|
522
|
+
```
|
523
|
+
which executes the flow on the desired system using the
|
524
|
+
requirements specified in `@resources`.
|
525
|
+
"""
|
526
|
+
...
|
527
|
+
|
528
|
+
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]]]:
|
529
|
+
"""
|
530
|
+
Specifies that this step should execute on Kubernetes.
|
531
|
+
"""
|
532
|
+
...
|
533
|
+
|
534
|
+
def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
535
|
+
"""
|
536
|
+
Specifies what flows belong to the same project.
|
528
537
|
|
529
|
-
|
530
|
-
|
538
|
+
A project-specific namespace is created for all flows that
|
539
|
+
use the same `@project(name)`.
|
540
|
+
"""
|
541
|
+
...
|
542
|
+
|
543
|
+
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]]:
|
544
|
+
"""
|
545
|
+
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)
|
546
|
+
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
547
|
+
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
548
|
+
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
549
|
+
starts only after all sensors finish.
|
531
550
|
"""
|
532
551
|
...
|
533
552
|
|
@@ -612,6 +631,13 @@ def trigger_on_finish(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *
|
|
612
631
|
"""
|
613
632
|
...
|
614
633
|
|
634
|
+
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]]:
|
635
|
+
"""
|
636
|
+
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.
|
637
|
+
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.
|
638
|
+
"""
|
639
|
+
...
|
640
|
+
|
615
641
|
@typing.overload
|
616
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]]:
|
617
643
|
"""
|
@@ -631,13 +657,6 @@ def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly:
|
|
631
657
|
"""
|
632
658
|
...
|
633
659
|
|
634
|
-
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]]:
|
635
|
-
"""
|
636
|
-
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.
|
637
|
-
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.
|
638
|
-
"""
|
639
|
-
...
|
640
|
-
|
641
660
|
@typing.overload
|
642
661
|
def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
643
662
|
"""
|
@@ -661,29 +680,6 @@ def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packag
|
|
661
680
|
"""
|
662
681
|
...
|
663
682
|
|
664
|
-
@typing.overload
|
665
|
-
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]]:
|
666
|
-
"""
|
667
|
-
Specifies the Conda environment for all steps of the flow.
|
668
|
-
|
669
|
-
Use `@conda_base` to set common libraries required by all
|
670
|
-
steps and use `@conda` to specify step-specific additions.
|
671
|
-
"""
|
672
|
-
...
|
673
|
-
|
674
|
-
@typing.overload
|
675
|
-
def conda_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
676
|
-
...
|
677
|
-
|
678
|
-
def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
|
679
|
-
"""
|
680
|
-
Specifies the Conda environment for all steps of the flow.
|
681
|
-
|
682
|
-
Use `@conda_base` to set common libraries required by all
|
683
|
-
steps and use `@conda` to specify step-specific additions.
|
684
|
-
"""
|
685
|
-
...
|
686
|
-
|
687
683
|
@typing.overload
|
688
684
|
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]]:
|
689
685
|
"""
|
@@ -757,25 +753,6 @@ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: t
|
|
757
753
|
"""
|
758
754
|
...
|
759
755
|
|
760
|
-
def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
761
|
-
"""
|
762
|
-
Specifies what flows belong to the same project.
|
763
|
-
|
764
|
-
A project-specific namespace is created for all flows that
|
765
|
-
use the same `@project(name)`.
|
766
|
-
"""
|
767
|
-
...
|
768
|
-
|
769
|
-
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]]:
|
770
|
-
"""
|
771
|
-
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)
|
772
|
-
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
773
|
-
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
774
|
-
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
775
|
-
starts only after all sensors finish.
|
776
|
-
"""
|
777
|
-
...
|
778
|
-
|
779
756
|
def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
780
757
|
"""
|
781
758
|
This decorator is used to run NIM containers in Metaflow tasks as sidecars.
|
@@ -800,5 +777,28 @@ def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[Fl
|
|
800
777
|
"""
|
801
778
|
...
|
802
779
|
|
780
|
+
@typing.overload
|
781
|
+
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]]:
|
782
|
+
"""
|
783
|
+
Specifies the Conda environment for all steps of the flow.
|
784
|
+
|
785
|
+
Use `@conda_base` to set common libraries required by all
|
786
|
+
steps and use `@conda` to specify step-specific additions.
|
787
|
+
"""
|
788
|
+
...
|
789
|
+
|
790
|
+
@typing.overload
|
791
|
+
def conda_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
792
|
+
...
|
793
|
+
|
794
|
+
def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
|
795
|
+
"""
|
796
|
+
Specifies the Conda environment for all steps of the flow.
|
797
|
+
|
798
|
+
Use `@conda_base` to set common libraries required by all
|
799
|
+
steps and use `@conda` to specify step-specific additions.
|
800
|
+
"""
|
801
|
+
...
|
802
|
+
|
803
803
|
pkg_name: str
|
804
804
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.
|
4
|
-
# Generated on 2025-01-
|
3
|
+
# MF version: 2.13.7.1+obcheckpoint(0.1.6);ob(v1) #
|
4
|
+
# Generated on 2025-01-23T20:10:29.002247 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|