ob-metaflow-stubs 6.0.3.137__tar.gz → 6.0.3.139__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.137/ob_metaflow_stubs.egg-info → ob-metaflow-stubs-6.0.3.139}/PKG-INFO +1 -1
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/__init__.pyi +189 -189
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cards.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cli.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cli_components/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cli_components/utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/client/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/client/core.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/client/filecache.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/events.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/exception.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/flowspec.pyi +5 -5
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/generated_for.txt +1 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/includefile.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/info_file.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metadata_provider/util.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metaflow_config.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/metaflow_current.pyi +97 -97
- {ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities → ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions}/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions → ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint}/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint → ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins}/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins → ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities}/__init__.pyi +2 -2
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/async_cards.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/deco_injection_mixin.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/extra_components.pyi +3 -3
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +6 -0
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/checkpoint_lister.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/lineage_card.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +6 -6
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/constructors.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/core.pyi +6 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/decorator.pyi +54 -4
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +38 -13
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/lineage.pyi +2 -2
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/core.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/task_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/decorator.pyi +3 -3
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/core.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/model_storage.pyi +3 -3
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/flowspec_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/general.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +2 -2
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/base.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/tar.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +2 -2
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +6 -0
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +6 -0
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/snowflake.pyi +2 -2
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +2 -2
- ob-metaflow-stubs-6.0.3.139/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +6 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/multicore_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/parameters.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/__init__.pyi +12 -12
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_workflows.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/__init__.pyi +6 -6
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/components.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/catch_decorator.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/s3/s3.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/perimeters.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/conda_environment.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/snowflake/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/profilers/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/pylint_wrapper.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/deployer.pyi +28 -28
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/deployer_impl.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/metaflow_runner.pyi +4 -4
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/nbrun.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/runner/utils.pyi +3 -3
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/system/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/system/system_logger.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/system/system_monitor.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/tagging_util.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/tuple_util.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/user_configs/__init__.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/user_configs/config_decorators.pyi +6 -6
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/user_configs/config_options.pyi +2 -2
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/user_configs/config_parameters.pyi +6 -6
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139/ob_metaflow_stubs.egg-info}/PKG-INFO +1 -1
- ob-metaflow-stubs-6.0.3.139/version.py +1 -0
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/generated_for.txt +0 -1
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +0 -6
- ob-metaflow-stubs-6.0.3.137/version.py +0 -1
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/MANIFEST.in +0 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/README.md +0 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/py.typed +0 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/ob_metaflow_stubs.egg-info/SOURCES.txt +0 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/ob_metaflow_stubs.egg-info/dependency_links.txt +0 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/ob_metaflow_stubs.egg-info/top_level.txt +0 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/setup.cfg +0 -0
- {ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/setup.py +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.9.
|
4
|
-
# Generated on 2025-02-
|
3
|
+
# MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
|
4
|
+
# Generated on 2025-02-07T01:44:39.667412 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -36,8 +36,8 @@ 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
38
|
from . import cards as cards
|
39
|
-
from . import events as events
|
40
39
|
from . import tuple_util as tuple_util
|
40
|
+
from . import events as events
|
41
41
|
from . import runner as runner
|
42
42
|
from . import plugins as plugins
|
43
43
|
from .mf_extensions.outerbounds.toplevel.global_aliases_for_metaflow_package import S3 as S3
|
@@ -147,109 +147,56 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
|
|
147
147
|
...
|
148
148
|
|
149
149
|
@typing.overload
|
150
|
-
def
|
150
|
+
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]]]:
|
151
151
|
"""
|
152
|
-
Specifies
|
152
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
153
|
+
the execution of a step.
|
153
154
|
"""
|
154
155
|
...
|
155
156
|
|
156
157
|
@typing.overload
|
157
|
-
def
|
158
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
158
159
|
...
|
159
160
|
|
160
161
|
@typing.overload
|
161
|
-
def
|
162
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
162
163
|
...
|
163
164
|
|
164
|
-
def
|
165
|
+
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]]] = []):
|
165
166
|
"""
|
166
|
-
Specifies
|
167
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
168
|
+
the execution of a step.
|
167
169
|
"""
|
168
170
|
...
|
169
171
|
|
170
172
|
@typing.overload
|
171
|
-
def
|
173
|
+
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]]]:
|
172
174
|
"""
|
173
|
-
Specifies the
|
175
|
+
Specifies the PyPI packages for the step.
|
174
176
|
|
175
177
|
Information in this decorator will augment any
|
176
|
-
attributes set in the `@
|
177
|
-
you can use `@
|
178
|
-
steps and use `@
|
178
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
179
|
+
you can use `@pypi_base` to set packages required by all
|
180
|
+
steps and use `@pypi` to specify step-specific overrides.
|
179
181
|
"""
|
180
182
|
...
|
181
183
|
|
182
184
|
@typing.overload
|
183
|
-
def
|
185
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
184
186
|
...
|
185
187
|
|
186
188
|
@typing.overload
|
187
|
-
def
|
189
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
188
190
|
...
|
189
191
|
|
190
|
-
def
|
192
|
+
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):
|
191
193
|
"""
|
192
|
-
Specifies the
|
194
|
+
Specifies the PyPI packages for the step.
|
193
195
|
|
194
196
|
Information in this decorator will augment any
|
195
|
-
attributes set in the `@
|
196
|
-
you can use `@
|
197
|
-
steps and use `@
|
198
|
-
"""
|
199
|
-
...
|
200
|
-
|
201
|
-
@typing.overload
|
202
|
-
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]]]:
|
203
|
-
"""
|
204
|
-
Specifies the resources needed when executing this step.
|
205
|
-
|
206
|
-
Use `@resources` to specify the resource requirements
|
207
|
-
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
208
|
-
|
209
|
-
You can choose the compute layer on the command line by executing e.g.
|
210
|
-
```
|
211
|
-
python myflow.py run --with batch
|
212
|
-
```
|
213
|
-
or
|
214
|
-
```
|
215
|
-
python myflow.py run --with kubernetes
|
216
|
-
```
|
217
|
-
which executes the flow on the desired system using the
|
218
|
-
requirements specified in `@resources`.
|
219
|
-
"""
|
220
|
-
...
|
221
|
-
|
222
|
-
@typing.overload
|
223
|
-
def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
224
|
-
...
|
225
|
-
|
226
|
-
@typing.overload
|
227
|
-
def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
228
|
-
...
|
229
|
-
|
230
|
-
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):
|
231
|
-
"""
|
232
|
-
Specifies the resources needed when executing this step.
|
233
|
-
|
234
|
-
Use `@resources` to specify the resource requirements
|
235
|
-
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
236
|
-
|
237
|
-
You can choose the compute layer on the command line by executing e.g.
|
238
|
-
```
|
239
|
-
python myflow.py run --with batch
|
240
|
-
```
|
241
|
-
or
|
242
|
-
```
|
243
|
-
python myflow.py run --with kubernetes
|
244
|
-
```
|
245
|
-
which executes the flow on the desired system using the
|
246
|
-
requirements specified in `@resources`.
|
247
|
-
"""
|
248
|
-
...
|
249
|
-
|
250
|
-
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]]]:
|
251
|
-
"""
|
252
|
-
Specifies that this step should execute on Kubernetes.
|
197
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
198
|
+
you can use `@pypi_base` to set packages required by all
|
199
|
+
steps and use `@pypi` to specify step-specific overrides.
|
253
200
|
"""
|
254
201
|
...
|
255
202
|
|
@@ -278,6 +225,12 @@ def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typ
|
|
278
225
|
"""
|
279
226
|
...
|
280
227
|
|
228
|
+
def nvidia(*, gpu: int, gpu_type: str, queue_timeout: int) -> 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]]]:
|
229
|
+
"""
|
230
|
+
Specifies that this step should execute on DGX cloud.
|
231
|
+
"""
|
232
|
+
...
|
233
|
+
|
281
234
|
@typing.overload
|
282
235
|
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]]]:
|
283
236
|
"""
|
@@ -318,54 +271,97 @@ def timeout(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None],
|
|
318
271
|
...
|
319
272
|
|
320
273
|
@typing.overload
|
321
|
-
def
|
274
|
+
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]]]:
|
322
275
|
"""
|
323
|
-
|
276
|
+
Specifies that the step will success under all circumstances.
|
277
|
+
|
278
|
+
The decorator will create an optional artifact, specified by `var`, which
|
279
|
+
contains the exception raised. You can use it to detect the presence
|
280
|
+
of errors, indicating that all happy-path artifacts produced by the step
|
281
|
+
are missing.
|
324
282
|
"""
|
325
283
|
...
|
326
284
|
|
327
285
|
@typing.overload
|
328
|
-
def
|
286
|
+
def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
329
287
|
...
|
330
288
|
|
331
289
|
@typing.overload
|
332
|
-
def
|
290
|
+
def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
333
291
|
...
|
334
292
|
|
335
|
-
def
|
293
|
+
def catch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, var: typing.Optional[str] = None, print_exception: bool = True):
|
336
294
|
"""
|
337
|
-
|
295
|
+
Specifies that the step will success under all circumstances.
|
296
|
+
|
297
|
+
The decorator will create an optional artifact, specified by `var`, which
|
298
|
+
contains the exception raised. You can use it to detect the presence
|
299
|
+
of errors, indicating that all happy-path artifacts produced by the step
|
300
|
+
are missing.
|
338
301
|
"""
|
339
302
|
...
|
340
303
|
|
341
304
|
@typing.overload
|
342
|
-
def
|
305
|
+
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]]]:
|
343
306
|
"""
|
344
|
-
Specifies the
|
307
|
+
Specifies the number of times the task corresponding
|
308
|
+
to a step needs to be retried.
|
345
309
|
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
310
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
311
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
312
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
313
|
+
|
314
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
315
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
316
|
+
ensuring that the flow execution can continue.
|
350
317
|
"""
|
351
318
|
...
|
352
319
|
|
353
320
|
@typing.overload
|
354
|
-
def
|
321
|
+
def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
355
322
|
...
|
356
323
|
|
357
324
|
@typing.overload
|
358
|
-
def
|
325
|
+
def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
359
326
|
...
|
360
327
|
|
361
|
-
def
|
328
|
+
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):
|
362
329
|
"""
|
363
|
-
Specifies the
|
330
|
+
Specifies the number of times the task corresponding
|
331
|
+
to a step needs to be retried.
|
364
332
|
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
333
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
334
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
335
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
336
|
+
|
337
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
338
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
339
|
+
ensuring that the flow execution can continue.
|
340
|
+
"""
|
341
|
+
...
|
342
|
+
|
343
|
+
@typing.overload
|
344
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
345
|
+
"""
|
346
|
+
Decorator prototype for all step decorators. This function gets specialized
|
347
|
+
and imported for all decorators types by _import_plugin_decorators().
|
348
|
+
"""
|
349
|
+
...
|
350
|
+
|
351
|
+
@typing.overload
|
352
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
353
|
+
...
|
354
|
+
|
355
|
+
def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
|
356
|
+
"""
|
357
|
+
Decorator prototype for all step decorators. This function gets specialized
|
358
|
+
and imported for all decorators types by _import_plugin_decorators().
|
359
|
+
"""
|
360
|
+
...
|
361
|
+
|
362
|
+
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]]]:
|
363
|
+
"""
|
364
|
+
Specifies that this step should execute on Kubernetes.
|
369
365
|
"""
|
370
366
|
...
|
371
367
|
|
@@ -387,70 +383,72 @@ def fast_bakery_internal(f: typing.Union[typing.Callable[[FlowSpecDerived, StepF
|
|
387
383
|
...
|
388
384
|
|
389
385
|
@typing.overload
|
390
|
-
def
|
386
|
+
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]]]:
|
391
387
|
"""
|
392
|
-
Specifies the
|
393
|
-
to a step needs to be retried.
|
388
|
+
Specifies the resources needed when executing this step.
|
394
389
|
|
395
|
-
|
396
|
-
|
397
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
390
|
+
Use `@resources` to specify the resource requirements
|
391
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
398
392
|
|
399
|
-
|
400
|
-
|
401
|
-
|
393
|
+
You can choose the compute layer on the command line by executing e.g.
|
394
|
+
```
|
395
|
+
python myflow.py run --with batch
|
396
|
+
```
|
397
|
+
or
|
398
|
+
```
|
399
|
+
python myflow.py run --with kubernetes
|
400
|
+
```
|
401
|
+
which executes the flow on the desired system using the
|
402
|
+
requirements specified in `@resources`.
|
402
403
|
"""
|
403
404
|
...
|
404
405
|
|
405
406
|
@typing.overload
|
406
|
-
def
|
407
|
+
def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
407
408
|
...
|
408
409
|
|
409
410
|
@typing.overload
|
410
|
-
def
|
411
|
+
def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
411
412
|
...
|
412
413
|
|
413
|
-
def
|
414
|
+
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):
|
414
415
|
"""
|
415
|
-
Specifies the
|
416
|
-
to a step needs to be retried.
|
416
|
+
Specifies the resources needed when executing this step.
|
417
417
|
|
418
|
-
|
419
|
-
|
420
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
418
|
+
Use `@resources` to specify the resource requirements
|
419
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
421
420
|
|
422
|
-
|
423
|
-
|
424
|
-
|
421
|
+
You can choose the compute layer on the command line by executing e.g.
|
422
|
+
```
|
423
|
+
python myflow.py run --with batch
|
424
|
+
```
|
425
|
+
or
|
426
|
+
```
|
427
|
+
python myflow.py run --with kubernetes
|
428
|
+
```
|
429
|
+
which executes the flow on the desired system using the
|
430
|
+
requirements specified in `@resources`.
|
425
431
|
"""
|
426
432
|
...
|
427
433
|
|
428
434
|
@typing.overload
|
429
|
-
def
|
435
|
+
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]]]:
|
430
436
|
"""
|
431
|
-
|
432
|
-
the execution of a step.
|
437
|
+
Enables checkpointing for a step.
|
433
438
|
"""
|
434
439
|
...
|
435
440
|
|
436
441
|
@typing.overload
|
437
|
-
def
|
442
|
+
def checkpoint(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
438
443
|
...
|
439
444
|
|
440
445
|
@typing.overload
|
441
|
-
def
|
442
|
-
...
|
443
|
-
|
444
|
-
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]]] = []):
|
445
|
-
"""
|
446
|
-
Specifies secrets to be retrieved and injected as environment variables prior to
|
447
|
-
the execution of a step.
|
448
|
-
"""
|
446
|
+
def checkpoint(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
449
447
|
...
|
450
448
|
|
451
|
-
def
|
449
|
+
def checkpoint(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, load_policy: str = 'fresh', temp_dir_root: str = None):
|
452
450
|
"""
|
453
|
-
|
451
|
+
Enables checkpointing for a step.
|
454
452
|
"""
|
455
453
|
...
|
456
454
|
|
@@ -476,58 +474,60 @@ def model(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
|
|
476
474
|
...
|
477
475
|
|
478
476
|
@typing.overload
|
479
|
-
def
|
477
|
+
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]]]:
|
480
478
|
"""
|
481
|
-
Specifies
|
479
|
+
Specifies the Conda environment for the step.
|
482
480
|
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
481
|
+
Information in this decorator will augment any
|
482
|
+
attributes set in the `@conda_base` flow-level decorator. Hence,
|
483
|
+
you can use `@conda_base` to set packages required by all
|
484
|
+
steps and use `@conda` to specify step-specific overrides.
|
487
485
|
"""
|
488
486
|
...
|
489
487
|
|
490
488
|
@typing.overload
|
491
|
-
def
|
489
|
+
def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
492
490
|
...
|
493
491
|
|
494
492
|
@typing.overload
|
495
|
-
def
|
493
|
+
def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
496
494
|
...
|
497
495
|
|
498
|
-
def
|
496
|
+
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):
|
499
497
|
"""
|
500
|
-
Specifies
|
498
|
+
Specifies the Conda environment for the step.
|
501
499
|
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
500
|
+
Information in this decorator will augment any
|
501
|
+
attributes set in the `@conda_base` flow-level decorator. Hence,
|
502
|
+
you can use `@conda_base` to set packages required by all
|
503
|
+
steps and use `@conda` to specify step-specific overrides.
|
506
504
|
"""
|
507
505
|
...
|
508
506
|
|
509
|
-
|
507
|
+
@typing.overload
|
508
|
+
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]]]:
|
510
509
|
"""
|
511
|
-
Specifies
|
510
|
+
Specifies environment variables to be set prior to the execution of a step.
|
512
511
|
"""
|
513
512
|
...
|
514
513
|
|
515
514
|
@typing.overload
|
516
|
-
def
|
517
|
-
"""
|
518
|
-
Decorator prototype for all step decorators. This function gets specialized
|
519
|
-
and imported for all decorators types by _import_plugin_decorators().
|
520
|
-
"""
|
515
|
+
def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
521
516
|
...
|
522
517
|
|
523
518
|
@typing.overload
|
524
|
-
def
|
519
|
+
def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
525
520
|
...
|
526
521
|
|
527
|
-
def
|
522
|
+
def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
|
528
523
|
"""
|
529
|
-
|
530
|
-
|
524
|
+
Specifies environment variables to be set prior to the execution of a step.
|
525
|
+
"""
|
526
|
+
...
|
527
|
+
|
528
|
+
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]]]:
|
529
|
+
"""
|
530
|
+
Decorator that helps cache, version and store models/datasets from huggingface hub.
|
531
531
|
"""
|
532
532
|
...
|
533
533
|
|
@@ -642,40 +642,6 @@ def trigger_on_finish(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *
|
|
642
642
|
"""
|
643
643
|
...
|
644
644
|
|
645
|
-
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]]:
|
646
|
-
"""
|
647
|
-
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)
|
648
|
-
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
649
|
-
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
650
|
-
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
651
|
-
starts only after all sensors finish.
|
652
|
-
"""
|
653
|
-
...
|
654
|
-
|
655
|
-
def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
656
|
-
"""
|
657
|
-
This decorator is used to run NIM containers in Metaflow tasks as sidecars.
|
658
|
-
|
659
|
-
User code call
|
660
|
-
-----------
|
661
|
-
@nim(
|
662
|
-
models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
|
663
|
-
backend='managed'
|
664
|
-
)
|
665
|
-
|
666
|
-
Valid backend options
|
667
|
-
---------------------
|
668
|
-
- 'managed': Outerbounds selects a compute provider based on the model.
|
669
|
-
- 🚧 'dataplane': Run in your account.
|
670
|
-
|
671
|
-
Valid model options
|
672
|
-
----------------
|
673
|
-
- 'meta/llama3-8b-instruct': 8B parameter model
|
674
|
-
- 'meta/llama3-70b-instruct': 70B parameter model
|
675
|
-
- Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
|
676
|
-
"""
|
677
|
-
...
|
678
|
-
|
679
645
|
@typing.overload
|
680
646
|
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]]:
|
681
647
|
"""
|
@@ -704,6 +670,30 @@ def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typ
|
|
704
670
|
"""
|
705
671
|
...
|
706
672
|
|
673
|
+
def nim(*, models: "list[NIM]", backend: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
674
|
+
"""
|
675
|
+
This decorator is used to run NIM containers in Metaflow tasks as sidecars.
|
676
|
+
|
677
|
+
User code call
|
678
|
+
-----------
|
679
|
+
@nim(
|
680
|
+
models=['meta/llama3-8b-instruct', 'meta/llama3-70b-instruct'],
|
681
|
+
backend='managed'
|
682
|
+
)
|
683
|
+
|
684
|
+
Valid backend options
|
685
|
+
---------------------
|
686
|
+
- 'managed': Outerbounds selects a compute provider based on the model.
|
687
|
+
- 🚧 'dataplane': Run in your account.
|
688
|
+
|
689
|
+
Valid model options
|
690
|
+
----------------
|
691
|
+
- 'meta/llama3-8b-instruct': 8B parameter model
|
692
|
+
- 'meta/llama3-70b-instruct': 70B parameter model
|
693
|
+
- Upon request, any model here: https://nvcf.ngc.nvidia.com/functions?filter=nvidia-functions
|
694
|
+
"""
|
695
|
+
...
|
696
|
+
|
707
697
|
@typing.overload
|
708
698
|
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]]:
|
709
699
|
"""
|
@@ -800,5 +790,15 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
|
|
800
790
|
"""
|
801
791
|
...
|
802
792
|
|
793
|
+
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]]:
|
794
|
+
"""
|
795
|
+
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)
|
796
|
+
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
797
|
+
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
798
|
+
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
799
|
+
starts only after all sensors finish.
|
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.9.
|
4
|
-
# Generated on 2025-02-
|
3
|
+
# MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
|
4
|
+
# Generated on 2025-02-07T01:44:39.531852 #
|
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.9.
|
4
|
-
# Generated on 2025-02-
|
3
|
+
# MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
|
4
|
+
# Generated on 2025-02-07T01:44:39.546732 #
|
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.9.
|
4
|
-
# Generated on 2025-02-
|
3
|
+
# MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
|
4
|
+
# Generated on 2025-02-07T01:44:39.544814 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
{ob-metaflow-stubs-6.0.3.137 → ob-metaflow-stubs-6.0.3.139}/metaflow-stubs/cli_components/utils.pyi
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.13.9.
|
4
|
-
# Generated on 2025-02-
|
3
|
+
# MF version: 2.13.9.2+obcheckpoint(0.1.8);ob(v1) #
|
4
|
+
# Generated on 2025-02-07T01:44:39.572776 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|