ob-metaflow-stubs 6.0.10.19__py2.py3-none-any.whl → 6.0.10.21__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- metaflow-stubs/__init__.pyi +912 -911
- metaflow-stubs/cards.pyi +2 -2
- metaflow-stubs/cli.pyi +2 -2
- metaflow-stubs/cli_components/__init__.pyi +2 -2
- metaflow-stubs/cli_components/utils.pyi +2 -2
- metaflow-stubs/client/__init__.pyi +3 -2
- metaflow-stubs/client/core.pyi +40 -8
- metaflow-stubs/client/filecache.pyi +21 -5
- metaflow-stubs/events.pyi +2 -2
- metaflow-stubs/exception.pyi +2 -2
- metaflow-stubs/flowspec.pyi +5 -5
- metaflow-stubs/generated_for.txt +1 -1
- metaflow-stubs/includefile.pyi +4 -4
- metaflow-stubs/meta_files.pyi +2 -2
- metaflow-stubs/metadata_provider/__init__.pyi +2 -2
- metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
- metaflow-stubs/metadata_provider/metadata.pyi +2 -2
- metaflow-stubs/metadata_provider/util.pyi +2 -2
- metaflow-stubs/metaflow_config.pyi +16 -2
- metaflow-stubs/metaflow_current.pyi +50 -50
- metaflow-stubs/metaflow_git.pyi +2 -2
- metaflow-stubs/mf_extensions/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/async_cards.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/deco_injection_mixin.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/card_utils/extra_components.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/checkpoint_lister.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/cards/lineage_card.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/checkpoint_storage.pyi +4 -4
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/constructors.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/core.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/decorator.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/exceptions.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/final_api.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/checkpoints/lineage.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/context.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/core.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/decorator.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/exceptions.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/task_utils.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastore/utils.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/datastructures.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/exceptions.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/cards/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/cards/hf_hub_card.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/hf_hub/decorator.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/core.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/exceptions.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/modeling_utils/model_storage.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/flowspec_utils.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/general.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/identity_utils.pyi +3 -3
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/base.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/serialization_handler/tar.pyi +2 -2
- metaflow-stubs/mf_extensions/obcheckpoint/plugins/machine_learning_utilities/utils/tar_utils.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/_state_machine.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/_vendor/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/_vendor/spinner/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/_vendor/spinner/spinners.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/app_cli.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/app_config.pyi +3 -3
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/capsule.pyi +4 -4
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/click_importer.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/code_package/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/code_package/code_packager.pyi +3 -3
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/cli_generator.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/config_utils.pyi +4 -4
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/schema_export.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/typed_configs.pyi +3 -3
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/config/unified_config.pyi +3 -3
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/dependencies.pyi +3 -3
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/deployer.pyi +5 -5
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/experimental/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/perimeters.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/apps/core/utils.pyi +5 -5
- metaflow-stubs/mf_extensions/outerbounds/plugins/aws/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/aws/assume_role_decorator.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/card_utilities/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/card_utilities/async_cards.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/card_utilities/injector.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/checkpoint_datastores/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/checkpoint_datastores/coreweave.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/checkpoint_datastores/nebius.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/fast_bakery/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/fast_bakery/baker.pyi +4 -4
- metaflow-stubs/mf_extensions/outerbounds/plugins/fast_bakery/docker_environment.pyi +3 -3
- metaflow-stubs/mf_extensions/outerbounds/plugins/fast_bakery/fast_bakery.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/kubernetes/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/kubernetes/pod_killer.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/constants.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/exceptions.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/ollama.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/ollama/status_card.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/plugins/snowflake/snowflake.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/profilers/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/profilers/gpu.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/remote_config.pyi +3 -3
- metaflow-stubs/mf_extensions/outerbounds/toplevel/__init__.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.pyi +2 -2
- metaflow-stubs/mf_extensions/outerbounds/toplevel/s3_proxy.pyi +2 -2
- metaflow-stubs/multicore_utils.pyi +2 -2
- metaflow-stubs/ob_internal.pyi +2 -2
- metaflow-stubs/packaging_sys/__init__.pyi +6 -6
- metaflow-stubs/packaging_sys/backend.pyi +3 -3
- metaflow-stubs/packaging_sys/distribution_support.pyi +4 -4
- metaflow-stubs/packaging_sys/tar_backend.pyi +4 -4
- metaflow-stubs/packaging_sys/utils.pyi +2 -5
- metaflow-stubs/packaging_sys/v1.pyi +3 -3
- metaflow-stubs/parameters.pyi +4 -4
- metaflow-stubs/plugins/__init__.pyi +11 -11
- metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
- metaflow-stubs/plugins/airflow/exception.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
- metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
- metaflow-stubs/plugins/argo/__init__.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
- metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
- metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +2 -2
- metaflow-stubs/plugins/argo/exit_hooks.pyi +3 -3
- metaflow-stubs/plugins/aws/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
- metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
- metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
- metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
- metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
- metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
- metaflow-stubs/plugins/azure/__init__.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
- metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
- metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
- metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/cards/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_client.pyi +2 -2
- metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- metaflow-stubs/plugins/cards/card_datastore.pyi +4 -2
- metaflow-stubs/plugins/cards/card_decorator.pyi +3 -3
- metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/components.pyi +3 -3
- metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/json_viewer.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
- metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
- metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
- metaflow-stubs/plugins/cards/exception.pyi +2 -2
- metaflow-stubs/plugins/catch_decorator.pyi +3 -3
- metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
- metaflow-stubs/plugins/datatools/local.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/s3.pyi +6 -4
- metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
- metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
- metaflow-stubs/plugins/debug_logger.pyi +2 -2
- metaflow-stubs/plugins/debug_monitor.pyi +2 -2
- metaflow-stubs/plugins/environment_decorator.pyi +2 -2
- metaflow-stubs/plugins/events_decorator.pyi +2 -2
- metaflow-stubs/plugins/exit_hook/__init__.pyi +2 -2
- metaflow-stubs/plugins/exit_hook/exit_hook_decorator.pyi +2 -2
- metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
- metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
- metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
- metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
- metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
- metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
- metaflow-stubs/plugins/ollama/__init__.pyi +3 -3
- metaflow-stubs/plugins/optuna/__init__.pyi +2 -2
- metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- metaflow-stubs/plugins/parsers.pyi +2 -2
- metaflow-stubs/plugins/perimeters.pyi +2 -2
- metaflow-stubs/plugins/project_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
- metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
- metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
- metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
- metaflow-stubs/plugins/pypi/utils.pyi +2 -2
- metaflow-stubs/plugins/resources_decorator.pyi +2 -2
- metaflow-stubs/plugins/retry_decorator.pyi +2 -2
- metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
- metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
- metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- metaflow-stubs/plugins/secrets/secrets_func.pyi +2 -2
- metaflow-stubs/plugins/secrets/secrets_spec.pyi +2 -2
- metaflow-stubs/plugins/secrets/utils.pyi +2 -2
- metaflow-stubs/plugins/snowflake/__init__.pyi +2 -2
- metaflow-stubs/plugins/storage_executor.pyi +2 -2
- metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
- metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
- metaflow-stubs/plugins/torchtune/__init__.pyi +2 -2
- metaflow-stubs/plugins/uv/__init__.pyi +2 -2
- metaflow-stubs/plugins/uv/uv_environment.pyi +3 -3
- metaflow-stubs/profilers/__init__.pyi +2 -2
- metaflow-stubs/pylint_wrapper.pyi +2 -2
- metaflow-stubs/runner/__init__.pyi +2 -2
- metaflow-stubs/runner/deployer.pyi +5 -5
- metaflow-stubs/runner/deployer_impl.pyi +2 -2
- metaflow-stubs/runner/metaflow_runner.pyi +131 -18
- metaflow-stubs/runner/nbdeploy.pyi +2 -2
- metaflow-stubs/runner/nbrun.pyi +2 -2
- metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- metaflow-stubs/runner/utils.pyi +3 -3
- metaflow-stubs/system/__init__.pyi +2 -2
- metaflow-stubs/system/system_logger.pyi +2 -2
- metaflow-stubs/system/system_monitor.pyi +2 -2
- metaflow-stubs/tagging_util.pyi +2 -2
- metaflow-stubs/tuple_util.pyi +2 -2
- metaflow-stubs/user_configs/__init__.pyi +2 -2
- metaflow-stubs/user_configs/config_options.pyi +2 -2
- metaflow-stubs/user_configs/config_parameters.pyi +6 -6
- metaflow-stubs/user_decorators/__init__.pyi +2 -2
- metaflow-stubs/user_decorators/common.pyi +2 -2
- metaflow-stubs/user_decorators/mutable_flow.pyi +5 -5
- metaflow-stubs/user_decorators/mutable_step.pyi +5 -5
- metaflow-stubs/user_decorators/user_flow_decorator.pyi +5 -5
- metaflow-stubs/user_decorators/user_step_decorator.pyi +16 -7
- {ob_metaflow_stubs-6.0.10.19.dist-info → ob_metaflow_stubs-6.0.10.21.dist-info}/METADATA +9 -2
- ob_metaflow_stubs-6.0.10.21.dist-info/RECORD +266 -0
- {ob_metaflow_stubs-6.0.10.19.dist-info → ob_metaflow_stubs-6.0.10.21.dist-info}/WHEEL +1 -1
- ob_metaflow_stubs-6.0.10.19.dist-info/RECORD +0 -266
- {ob_metaflow_stubs-6.0.10.19.dist-info → ob_metaflow_stubs-6.0.10.21.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.841576 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.813761 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
import metaflow
|
|
10
9
|
import typing
|
|
10
|
+
import metaflow
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
+
import metaflow.runner.metaflow_runner
|
|
12
13
|
import metaflow.runner.subprocess_manager
|
|
13
14
|
import metaflow.client.core
|
|
14
|
-
import metaflow.runner.metaflow_runner
|
|
15
15
|
|
|
16
16
|
from ..client.core import Run as Run
|
|
17
|
+
from ..client.core import Task as Task
|
|
17
18
|
from ..plugins import get_runner_cli as get_runner_cli
|
|
18
19
|
from .utils import temporary_fifo as temporary_fifo
|
|
19
20
|
from .utils import handle_timeout as handle_timeout
|
|
@@ -24,27 +25,35 @@ from .subprocess_manager import SubprocessManager as SubprocessManager
|
|
|
24
25
|
|
|
25
26
|
CLICK_API_PROCESS_CONFIG: bool
|
|
26
27
|
|
|
27
|
-
class
|
|
28
|
+
class ExecutingProcess(object, metaclass=type):
|
|
28
29
|
"""
|
|
29
|
-
This
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
This is a base class for `ExecutingRun` and `ExecutingTask` classes.
|
|
31
|
+
The `ExecutingRun` and `ExecutingTask` classes are returned by methods
|
|
32
|
+
in `Runner` and `NBRunner`, and they are subclasses of this class.
|
|
32
33
|
|
|
33
|
-
`ExecutingRun`
|
|
34
|
-
|
|
34
|
+
The `ExecutingRun` class for instance contains a reference to a `metaflow.Run`
|
|
35
|
+
object representing the currently executing or finished run, as well as the metadata
|
|
36
|
+
related to the process.
|
|
37
|
+
|
|
38
|
+
Similarly, the `ExecutingTask` class contains a reference to a `metaflow.Task`
|
|
39
|
+
object representing the currently executing or finished task, as well as the metadata
|
|
40
|
+
related to the process.
|
|
41
|
+
|
|
42
|
+
This class or its subclasses are not meant to be instantiated directly. The class
|
|
43
|
+
works as a context manager, allowing you to use a pattern like:
|
|
35
44
|
|
|
36
|
-
This class works as a context manager, allowing you to use a pattern like
|
|
37
45
|
```python
|
|
38
46
|
with Runner(...).run() as running:
|
|
39
47
|
...
|
|
40
48
|
```
|
|
41
|
-
|
|
42
|
-
`Runner`, not both
|
|
49
|
+
|
|
50
|
+
Note that you should use either this object as the context manager or `Runner`, not both
|
|
51
|
+
in a nested manner.
|
|
43
52
|
"""
|
|
44
|
-
def __init__(self, runner: Runner, command_obj: metaflow.runner.subprocess_manager.CommandManager
|
|
53
|
+
def __init__(self, runner: Runner, command_obj: metaflow.runner.subprocess_manager.CommandManager):
|
|
45
54
|
"""
|
|
46
55
|
Create a new ExecutingRun -- this should not be done by the user directly but
|
|
47
|
-
instead
|
|
56
|
+
instead use Runner.run()
|
|
48
57
|
|
|
49
58
|
Parameters
|
|
50
59
|
----------
|
|
@@ -56,11 +65,11 @@ class ExecutingRun(object, metaclass=type):
|
|
|
56
65
|
Run object corresponding to this run.
|
|
57
66
|
"""
|
|
58
67
|
...
|
|
59
|
-
def __enter__(self) -> "
|
|
68
|
+
def __enter__(self) -> "ExecutingProcess":
|
|
60
69
|
...
|
|
61
70
|
def __exit__(self, exc_type, exc_value, traceback):
|
|
62
71
|
...
|
|
63
|
-
def wait(self, timeout: typing.Optional[float] = None, stream: typing.Optional[str] = None) -> "
|
|
72
|
+
def wait(self, timeout: typing.Optional[float] = None, stream: typing.Optional[str] = None) -> "ExecutingProcess":
|
|
64
73
|
"""
|
|
65
74
|
Wait for this run to finish, optionally with a timeout
|
|
66
75
|
and optionally streaming its output.
|
|
@@ -79,7 +88,7 @@ class ExecutingRun(object, metaclass=type):
|
|
|
79
88
|
|
|
80
89
|
Returns
|
|
81
90
|
-------
|
|
82
|
-
|
|
91
|
+
ExecutingProcess
|
|
83
92
|
This object, allowing you to chain calls.
|
|
84
93
|
"""
|
|
85
94
|
...
|
|
@@ -164,6 +173,68 @@ class ExecutingRun(object, metaclass=type):
|
|
|
164
173
|
...
|
|
165
174
|
...
|
|
166
175
|
|
|
176
|
+
class ExecutingTask(ExecutingProcess, metaclass=type):
|
|
177
|
+
"""
|
|
178
|
+
This class contains a reference to a `metaflow.Task` object representing
|
|
179
|
+
the currently executing or finished task, as well as metadata related
|
|
180
|
+
to the process.
|
|
181
|
+
`ExecutingTask` is returned by methods in `Runner` and `NBRunner`. It is not
|
|
182
|
+
meant to be instantiated directly.
|
|
183
|
+
This class works as a context manager, allowing you to use a pattern like
|
|
184
|
+
```python
|
|
185
|
+
with Runner(...).spin() as running:
|
|
186
|
+
...
|
|
187
|
+
```
|
|
188
|
+
Note that you should use either this object as the context manager or
|
|
189
|
+
`Runner`, not both in a nested manner.
|
|
190
|
+
"""
|
|
191
|
+
def __init__(self, runner: Runner, command_obj: metaflow.runner.subprocess_manager.CommandManager, task_obj: metaflow.client.core.Task):
|
|
192
|
+
"""
|
|
193
|
+
Create a new ExecutingTask -- this should not be done by the user directly but
|
|
194
|
+
instead use Runner.spin()
|
|
195
|
+
Parameters
|
|
196
|
+
----------
|
|
197
|
+
runner : Runner
|
|
198
|
+
Parent runner for this task.
|
|
199
|
+
command_obj : CommandManager
|
|
200
|
+
CommandManager containing the subprocess executing this task.
|
|
201
|
+
task_obj : Task
|
|
202
|
+
Task object corresponding to this task.
|
|
203
|
+
"""
|
|
204
|
+
...
|
|
205
|
+
...
|
|
206
|
+
|
|
207
|
+
class ExecutingRun(ExecutingProcess, metaclass=type):
|
|
208
|
+
"""
|
|
209
|
+
This class contains a reference to a `metaflow.Run` object representing
|
|
210
|
+
the currently executing or finished run, as well as metadata related
|
|
211
|
+
to the process.
|
|
212
|
+
`ExecutingRun` is returned by methods in `Runner` and `NBRunner`. It is not
|
|
213
|
+
meant to be instantiated directly.
|
|
214
|
+
This class works as a context manager, allowing you to use a pattern like
|
|
215
|
+
```python
|
|
216
|
+
with Runner(...).run() as running:
|
|
217
|
+
...
|
|
218
|
+
```
|
|
219
|
+
Note that you should use either this object as the context manager or
|
|
220
|
+
`Runner`, not both in a nested manner.
|
|
221
|
+
"""
|
|
222
|
+
def __init__(self, runner: Runner, command_obj: metaflow.runner.subprocess_manager.CommandManager, run_obj: metaflow.client.core.Run):
|
|
223
|
+
"""
|
|
224
|
+
Create a new ExecutingRun -- this should not be done by the user directly but
|
|
225
|
+
instead use Runner.run()
|
|
226
|
+
Parameters
|
|
227
|
+
----------
|
|
228
|
+
runner : Runner
|
|
229
|
+
Parent runner for this run.
|
|
230
|
+
command_obj : CommandManager
|
|
231
|
+
CommandManager containing the subprocess executing this run.
|
|
232
|
+
run_obj : Run
|
|
233
|
+
Run object corresponding to this run.
|
|
234
|
+
"""
|
|
235
|
+
...
|
|
236
|
+
...
|
|
237
|
+
|
|
167
238
|
class RunnerMeta(type, metaclass=type):
|
|
168
239
|
@staticmethod
|
|
169
240
|
def __new__(mcs, name, bases, dct):
|
|
@@ -236,6 +307,27 @@ class Runner(object, metaclass=RunnerMeta):
|
|
|
236
307
|
ExecutingRun containing the results of the run.
|
|
237
308
|
"""
|
|
238
309
|
...
|
|
310
|
+
def _Runner__get_executing_task(self, attribute_file_fd, command_obj):
|
|
311
|
+
...
|
|
312
|
+
def _Runner__async_get_executing_task(self, attribute_file_fd, command_obj):
|
|
313
|
+
...
|
|
314
|
+
def spin(self, pathspec, **kwargs) -> ExecutingTask:
|
|
315
|
+
"""
|
|
316
|
+
Blocking spin execution of the run.
|
|
317
|
+
This method will wait until the spun run has completed execution.
|
|
318
|
+
Parameters
|
|
319
|
+
----------
|
|
320
|
+
pathspec : str
|
|
321
|
+
The pathspec of the step/task to spin.
|
|
322
|
+
**kwargs : Any
|
|
323
|
+
Additional arguments that you would pass to `python ./myflow.py` after
|
|
324
|
+
the `spin` command.
|
|
325
|
+
Returns
|
|
326
|
+
-------
|
|
327
|
+
ExecutingTask
|
|
328
|
+
ExecutingTask containing the results of the spun task.
|
|
329
|
+
"""
|
|
330
|
+
...
|
|
239
331
|
def resume(self, **kwargs) -> ExecutingRun:
|
|
240
332
|
"""
|
|
241
333
|
Blocking resume execution of the run.
|
|
@@ -291,6 +383,27 @@ class Runner(object, metaclass=RunnerMeta):
|
|
|
291
383
|
ExecutingRun representing the resumed run that was started.
|
|
292
384
|
"""
|
|
293
385
|
...
|
|
386
|
+
def async_spin(self, pathspec, **kwargs) -> ExecutingTask:
|
|
387
|
+
"""
|
|
388
|
+
Non-blocking spin execution of the run.
|
|
389
|
+
This method will return as soon as the spun task has launched.
|
|
390
|
+
|
|
391
|
+
Note that this method is asynchronous and needs to be `await`ed.
|
|
392
|
+
|
|
393
|
+
Parameters
|
|
394
|
+
----------
|
|
395
|
+
pathspec : str
|
|
396
|
+
The pathspec of the step/task to spin.
|
|
397
|
+
**kwargs : Any
|
|
398
|
+
Additional arguments that you would pass to `python ./myflow.py` after
|
|
399
|
+
the `spin` command.
|
|
400
|
+
|
|
401
|
+
Returns
|
|
402
|
+
-------
|
|
403
|
+
ExecutingTask
|
|
404
|
+
ExecutingTask representing the spun task that was started.
|
|
405
|
+
"""
|
|
406
|
+
...
|
|
294
407
|
def __exit__(self, exc_type, exc_value, traceback):
|
|
295
408
|
...
|
|
296
409
|
def __aexit__(self, exc_type, exc_value, traceback):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.814642 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/runner/nbrun.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.814300 #
|
|
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.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.841020 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/runner/utils.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.839983 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|
|
9
9
|
import typing
|
|
10
10
|
if typing.TYPE_CHECKING:
|
|
11
11
|
import typing
|
|
12
|
-
import metaflow.runner.click_api
|
|
13
12
|
import metaflow.runner.subprocess_manager
|
|
13
|
+
import metaflow.runner.click_api
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
TYPE_CHECKING: bool
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.821243 #
|
|
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.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.860529 #
|
|
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.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.860204 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/tagging_util.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.797684 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
metaflow-stubs/tuple_util.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.803206 #
|
|
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.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.797097 #
|
|
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.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.830371 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.800846 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
+
import typing
|
|
9
10
|
import metaflow
|
|
10
11
|
import collections
|
|
11
|
-
import typing
|
|
12
12
|
import abc
|
|
13
13
|
if typing.TYPE_CHECKING:
|
|
14
|
-
import
|
|
14
|
+
import metaflow.user_configs.config_parameters
|
|
15
|
+
import metaflow.parameters
|
|
15
16
|
import typing
|
|
17
|
+
import collections.abc
|
|
16
18
|
import abc
|
|
17
|
-
import metaflow.parameters
|
|
18
|
-
import metaflow.user_configs.config_parameters
|
|
19
19
|
|
|
20
20
|
from ..exception import MetaflowException as MetaflowException
|
|
21
21
|
from ..parameters import Parameter as Parameter
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.797353 #
|
|
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.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.831583 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.831201 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
9
|
import typing
|
|
10
10
|
if typing.TYPE_CHECKING:
|
|
11
|
-
import functools
|
|
12
11
|
import metaflow.user_decorators.mutable_step
|
|
12
|
+
import functools
|
|
13
13
|
import metaflow.flowspec
|
|
14
|
-
import typing
|
|
15
|
-
import metaflow.parameters
|
|
16
14
|
import metaflow.user_configs.config_parameters
|
|
15
|
+
import metaflow.parameters
|
|
16
|
+
import typing
|
|
17
17
|
|
|
18
18
|
from ..exception import MetaflowException as MetaflowException
|
|
19
19
|
from ..user_configs.config_parameters import ConfigValue as ConfigValue
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.832239 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
9
|
import typing
|
|
10
10
|
if typing.TYPE_CHECKING:
|
|
11
|
-
import functools
|
|
12
11
|
import metaflow.user_decorator.mutable_flow
|
|
13
|
-
import
|
|
12
|
+
import functools
|
|
13
|
+
import metaflow.flowspec
|
|
14
14
|
import metaflow.decorators
|
|
15
|
+
import metaflow.user_decorators.user_step_decorator
|
|
15
16
|
import typing
|
|
16
|
-
import metaflow.flowspec
|
|
17
17
|
|
|
18
18
|
from ..exception import MetaflowException as MetaflowException
|
|
19
19
|
from .user_step_decorator import StepMutator as StepMutator
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.803045 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
import metaflow
|
|
10
9
|
import typing
|
|
10
|
+
import metaflow
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
|
-
import metaflow.user_decorators.mutable_flow
|
|
13
|
-
import metaflow.user_decorators.user_flow_decorator
|
|
14
12
|
import metaflow.decorators
|
|
15
13
|
import metaflow.flowspec
|
|
14
|
+
import metaflow.user_decorators.mutable_flow
|
|
15
|
+
import metaflow.user_decorators.user_flow_decorator
|
|
16
16
|
|
|
17
17
|
from ..exception import MetaflowException as MetaflowException
|
|
18
18
|
from ..user_configs.config_parameters import resolve_delayed_evaluator as resolve_delayed_evaluator
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
######################################################################################################
|
|
2
2
|
# Auto-generated Metaflow stub file #
|
|
3
|
-
# MF version: 2.
|
|
4
|
-
# Generated on 2025-10-
|
|
3
|
+
# MF version: 2.19.4.1+obcheckpoint(0.2.8);ob(v1) #
|
|
4
|
+
# Generated on 2025-10-29T20:50:15.802322 #
|
|
5
5
|
######################################################################################################
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
import metaflow
|
|
10
9
|
import typing
|
|
10
|
+
import metaflow
|
|
11
11
|
if typing.TYPE_CHECKING:
|
|
12
12
|
import metaflow.user_decorators.mutable_step
|
|
13
|
-
import metaflow.
|
|
13
|
+
import metaflow.datastore.inputs
|
|
14
14
|
import metaflow.decorators
|
|
15
|
-
import typing
|
|
16
15
|
import metaflow.flowspec
|
|
17
|
-
import metaflow.
|
|
16
|
+
import metaflow.user_decorators.user_step_decorator
|
|
17
|
+
import typing
|
|
18
18
|
|
|
19
19
|
from ..exception import MetaflowException as MetaflowException
|
|
20
20
|
from ..user_configs.config_parameters import resolve_delayed_evaluator as resolve_delayed_evaluator
|
|
@@ -237,7 +237,7 @@ def user_step_decorator(*args, **kwargs):
|
|
|
237
237
|
|
|
238
238
|
```
|
|
239
239
|
@user_step_decorator
|
|
240
|
-
def timing(step_name, flow, inputs):
|
|
240
|
+
def timing(step_name, flow, inputs, attributes):
|
|
241
241
|
start_time = time.time()
|
|
242
242
|
yield
|
|
243
243
|
end_time = time.time()
|
|
@@ -254,6 +254,15 @@ def user_step_decorator(*args, **kwargs):
|
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
Your generator should:
|
|
257
|
+
- take 3 or 4 arguments: step_name, flow, inputs, and attributes (optional)
|
|
258
|
+
- step_name: the name of the step
|
|
259
|
+
- flow: the flow object
|
|
260
|
+
- inputs: the inputs to the step
|
|
261
|
+
- attributes: the kwargs passed in when initializing the decorator. In the
|
|
262
|
+
example above, something like `@timing(arg1="foo", arg2=42)` would make
|
|
263
|
+
`attributes = {"arg1": "foo", "arg2": 42}`. If you choose to pass arguments
|
|
264
|
+
to the decorator when you apply it to the step, your function *must* take
|
|
265
|
+
4 arguments (step_name, flow, inputs, attributes).
|
|
257
266
|
- yield at most once -- if you do not yield, the step will not execute.
|
|
258
267
|
- yield:
|
|
259
268
|
- None
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: ob-metaflow-stubs
|
|
3
|
-
Version: 6.0.10.
|
|
3
|
+
Version: 6.0.10.21
|
|
4
4
|
Summary: Metaflow Stubs: Stubs for the metaflow package
|
|
5
5
|
Author: Netflix, Outerbounds & the Metaflow Community
|
|
6
6
|
Author-email: help@outerbounds.co
|
|
7
7
|
License: Apache License 2.0
|
|
8
8
|
Requires-Python: >=3.7.0
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
|
+
Dynamic: author
|
|
11
|
+
Dynamic: author-email
|
|
12
|
+
Dynamic: description
|
|
13
|
+
Dynamic: description-content-type
|
|
14
|
+
Dynamic: license
|
|
15
|
+
Dynamic: requires-python
|
|
16
|
+
Dynamic: summary
|
|
10
17
|
|
|
11
18
|
# Metaflow Stubs
|
|
12
19
|
|