metaflow-stubs 2.12.36__tar.gz → 2.12.38__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {metaflow_stubs-2.12.36/metaflow_stubs.egg-info → metaflow_stubs-2.12.38}/PKG-INFO +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/__init__.pyi +185 -181
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/cards.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/cli.pyi +9 -21
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi → metaflow_stubs-2.12.38/metaflow-stubs/cli_components/__init__.pyi +3 -4
- metaflow_stubs-2.12.38/metaflow-stubs/cli_components/utils.pyi +35 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/client/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/client/core.pyi +5 -5
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/client/filecache.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/events.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/exception.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/flowspec.pyi +11 -4
- metaflow_stubs-2.12.38/metaflow-stubs/generated_for.txt +1 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/includefile.pyi +18 -11
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/info_file.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/metadata_provider/util.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/metaflow_config.pyi +4 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/metaflow_current.pyi +23 -23
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/multicore_utils.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/parameters.pyi +33 -16
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/__init__.pyi +11 -11
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -4
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/argo/__init__.pyi +2 -5
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -7
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +3 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +4 -4
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/__init__.pyi +2 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_client.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_modules/components.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/catch_decorator.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/datatools/s3/s3.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/events_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +4 -4
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +6 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/plugins/timeout_decorator.pyi +4 -4
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/pylint_wrapper.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/runner/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/runner/deployer.pyi +5 -5
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/runner/deployer_impl.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/runner/metaflow_runner.pyi +4 -4
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/runner/nbrun.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/runner/subprocess_manager.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/runner/utils.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/system/__init__.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/system/system_logger.pyi +3 -3
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/system/system_monitor.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/tagging_util.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/tuple_util.pyi +2 -2
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/aws/step_functions/production_token.pyi → metaflow_stubs-2.12.38/metaflow-stubs/user_configs/__init__.pyi +5 -11
- metaflow_stubs-2.12.38/metaflow-stubs/user_configs/config_decorators.pyi +253 -0
- metaflow_stubs-2.12.38/metaflow-stubs/user_configs/config_options.pyi +82 -0
- metaflow_stubs-2.12.38/metaflow-stubs/user_configs/config_parameters.pyi +217 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38/metaflow_stubs.egg-info}/PKG-INFO +2 -2
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow_stubs.egg-info/SOURCES.txt +6 -20
- metaflow_stubs-2.12.38/metaflow_stubs.egg-info/requires.txt +1 -0
- metaflow_stubs-2.12.38/version.py +1 -0
- metaflow_stubs-2.12.36/metaflow-stubs/clone_util.pyi +0 -14
- metaflow_stubs-2.12.36/metaflow-stubs/generated_for.txt +0 -1
- metaflow_stubs-2.12.36/metaflow-stubs/mflog/__init__.pyi +0 -6
- metaflow_stubs-2.12.36/metaflow-stubs/mflog/mflog.pyi +0 -69
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/airflow/airflow.pyi +0 -89
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/airflow/airflow_cli.pyi +0 -37
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +0 -103
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/aws/batch/batch_cli.pyi +0 -25
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +0 -69
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/cards/card_cli.pyi +0 -146
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +0 -17
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +0 -22
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +0 -77
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +0 -76
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +0 -33
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/logs_cli.pyi +0 -46
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/package_cli.pyi +0 -11
- metaflow_stubs-2.12.36/metaflow-stubs/plugins/tag_cli.pyi +0 -19
- metaflow_stubs-2.12.36/metaflow-stubs/procpoll.pyi +0 -53
- metaflow_stubs-2.12.36/metaflow_stubs.egg-info/requires.txt +0 -1
- metaflow_stubs-2.12.36/version.py +0 -1
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/MANIFEST.in +0 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/README.md +0 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow-stubs/py.typed +0 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow_stubs.egg-info/dependency_links.txt +0 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/metaflow_stubs.egg-info/top_level.txt +0 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/setup.cfg +0 -0
- {metaflow_stubs-2.12.36 → metaflow_stubs-2.12.38}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: metaflow-stubs
|
3
|
-
Version: 2.12.
|
3
|
+
Version: 2.12.38
|
4
4
|
Summary: Metaflow Stubs: Stubs for the metaflow package
|
5
5
|
Author: Metaflow Developers
|
6
6
|
Author-email: help@metaflow.org
|
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
22
22
|
Requires-Python: >=3.7.0
|
23
23
|
Description-Content-Type: text/markdown
|
24
|
-
Requires-Dist: metaflow==2.12.
|
24
|
+
Requires-Dist: metaflow==2.12.38
|
25
25
|
|
26
26
|
# Metaflow Stubs
|
27
27
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.38 #
|
4
|
+
# Generated on 2024-12-08T03:54:58.005048 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -22,6 +22,7 @@ from .multicore_utils import parallel_map as parallel_map
|
|
22
22
|
from . import metaflow_current as metaflow_current
|
23
23
|
from .metaflow_current import current as current
|
24
24
|
from . import parameters as parameters
|
25
|
+
from . import user_configs as user_configs
|
25
26
|
from . import tagging_util as tagging_util
|
26
27
|
from . import metadata_provider as metadata_provider
|
27
28
|
from . import flowspec as flowspec
|
@@ -29,8 +30,12 @@ from .flowspec import FlowSpec as FlowSpec
|
|
29
30
|
from .parameters import Parameter as Parameter
|
30
31
|
from .parameters import JSONTypeClass as JSONTypeClass
|
31
32
|
from .parameters import JSONType as JSONType
|
32
|
-
from . import
|
33
|
+
from .user_configs.config_parameters import Config as Config
|
34
|
+
from .user_configs.config_parameters import config_expr as config_expr
|
35
|
+
from .user_configs.config_decorators import CustomFlowDecorator as CustomFlowDecorator
|
36
|
+
from .user_configs.config_decorators import CustomStepDecorator as CustomStepDecorator
|
33
37
|
from . import tuple_util as tuple_util
|
38
|
+
from . import events as events
|
34
39
|
from . import runner as runner
|
35
40
|
from . import plugins as plugins
|
36
41
|
from .plugins.datatools.s3.s3 import S3 as S3
|
@@ -56,10 +61,9 @@ from .runner.deployer import Deployer as Deployer
|
|
56
61
|
from .runner.deployer import DeployedFlow as DeployedFlow
|
57
62
|
from .runner.nbdeploy import NBDeployer as NBDeployer
|
58
63
|
from . import version as version
|
64
|
+
from . import cli_components as cli_components
|
59
65
|
from . import system as system
|
60
66
|
from . import pylint_wrapper as pylint_wrapper
|
61
|
-
from . import procpoll as procpoll
|
62
|
-
from . import clone_util as clone_util
|
63
67
|
from . import cli as cli
|
64
68
|
|
65
69
|
EXT_PKG: str
|
@@ -144,163 +148,152 @@ def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: ty
|
|
144
148
|
...
|
145
149
|
|
146
150
|
@typing.overload
|
147
|
-
def
|
151
|
+
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]]]:
|
148
152
|
"""
|
149
|
-
Specifies the
|
150
|
-
|
151
|
-
Use `@resources` to specify the resource requirements
|
152
|
-
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
153
|
+
Specifies the PyPI packages for the step.
|
153
154
|
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
or
|
159
|
-
```
|
160
|
-
python myflow.py run --with kubernetes
|
161
|
-
```
|
162
|
-
which executes the flow on the desired system using the
|
163
|
-
requirements specified in `@resources`.
|
155
|
+
Information in this decorator will augment any
|
156
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
157
|
+
you can use `@pypi_base` to set packages required by all
|
158
|
+
steps and use `@pypi` to specify step-specific overrides.
|
164
159
|
"""
|
165
160
|
...
|
166
161
|
|
167
162
|
@typing.overload
|
168
|
-
def
|
163
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
169
164
|
...
|
170
165
|
|
171
166
|
@typing.overload
|
172
|
-
def
|
167
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
173
168
|
...
|
174
169
|
|
175
|
-
def
|
170
|
+
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):
|
176
171
|
"""
|
177
|
-
Specifies the
|
178
|
-
|
179
|
-
Use `@resources` to specify the resource requirements
|
180
|
-
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
172
|
+
Specifies the PyPI packages for the step.
|
181
173
|
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
or
|
187
|
-
```
|
188
|
-
python myflow.py run --with kubernetes
|
189
|
-
```
|
190
|
-
which executes the flow on the desired system using the
|
191
|
-
requirements specified in `@resources`.
|
174
|
+
Information in this decorator will augment any
|
175
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
176
|
+
you can use `@pypi_base` to set packages required by all
|
177
|
+
steps and use `@pypi` to specify step-specific overrides.
|
192
178
|
"""
|
193
179
|
...
|
194
180
|
|
195
181
|
@typing.overload
|
196
|
-
def
|
182
|
+
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]]]:
|
197
183
|
"""
|
198
|
-
Specifies
|
184
|
+
Specifies the Conda environment for the step.
|
199
185
|
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
186
|
+
Information in this decorator will augment any
|
187
|
+
attributes set in the `@conda_base` flow-level decorator. Hence,
|
188
|
+
you can use `@conda_base` to set packages required by all
|
189
|
+
steps and use `@conda` to specify step-specific overrides.
|
204
190
|
"""
|
205
191
|
...
|
206
192
|
|
207
193
|
@typing.overload
|
208
|
-
def
|
194
|
+
def conda(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
209
195
|
...
|
210
196
|
|
211
197
|
@typing.overload
|
212
|
-
def
|
198
|
+
def conda(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
213
199
|
...
|
214
200
|
|
215
|
-
def
|
201
|
+
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):
|
216
202
|
"""
|
217
|
-
Specifies
|
203
|
+
Specifies the Conda environment for the step.
|
218
204
|
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
205
|
+
Information in this decorator will augment any
|
206
|
+
attributes set in the `@conda_base` flow-level decorator. Hence,
|
207
|
+
you can use `@conda_base` to set packages required by all
|
208
|
+
steps and use `@conda` to specify step-specific overrides.
|
223
209
|
"""
|
224
210
|
...
|
225
211
|
|
226
212
|
@typing.overload
|
227
|
-
def
|
213
|
+
def card(*, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
228
214
|
"""
|
229
|
-
|
230
|
-
|
215
|
+
Creates a human-readable report, a Metaflow Card, after this step completes.
|
216
|
+
|
217
|
+
Note that you may add multiple `@card` decorators in a step with different parameters.
|
231
218
|
"""
|
232
219
|
...
|
233
220
|
|
234
221
|
@typing.overload
|
235
|
-
def
|
222
|
+
def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
236
223
|
...
|
237
224
|
|
238
225
|
@typing.overload
|
239
|
-
def
|
226
|
+
def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
240
227
|
...
|
241
228
|
|
242
|
-
def
|
229
|
+
def card(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, type: str = 'default', id: typing.Optional[str] = None, options: typing.Dict[str, typing.Any] = {}, timeout: int = 45):
|
243
230
|
"""
|
244
|
-
|
245
|
-
|
231
|
+
Creates a human-readable report, a Metaflow Card, after this step completes.
|
232
|
+
|
233
|
+
Note that you may add multiple `@card` decorators in a step with different parameters.
|
246
234
|
"""
|
247
235
|
...
|
248
236
|
|
249
237
|
@typing.overload
|
250
|
-
def
|
238
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
251
239
|
"""
|
252
|
-
|
253
|
-
|
254
|
-
This decorator is useful if this step may hang indefinitely.
|
255
|
-
|
256
|
-
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
257
|
-
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
258
|
-
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
259
|
-
|
260
|
-
Note that all the values specified in parameters are added together so if you specify
|
261
|
-
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
240
|
+
Decorator prototype for all step decorators. This function gets specialized
|
241
|
+
and imported for all decorators types by _import_plugin_decorators().
|
262
242
|
"""
|
263
243
|
...
|
264
244
|
|
265
245
|
@typing.overload
|
266
|
-
def
|
246
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
247
|
+
...
|
248
|
+
|
249
|
+
def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
|
250
|
+
"""
|
251
|
+
Decorator prototype for all step decorators. This function gets specialized
|
252
|
+
and imported for all decorators types by _import_plugin_decorators().
|
253
|
+
"""
|
267
254
|
...
|
268
255
|
|
269
256
|
@typing.overload
|
270
|
-
def
|
257
|
+
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]]]:
|
258
|
+
"""
|
259
|
+
Specifies environment variables to be set prior to the execution of a step.
|
260
|
+
"""
|
271
261
|
...
|
272
262
|
|
273
|
-
|
263
|
+
@typing.overload
|
264
|
+
def environment(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
265
|
+
...
|
266
|
+
|
267
|
+
@typing.overload
|
268
|
+
def environment(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
269
|
+
...
|
270
|
+
|
271
|
+
def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, vars: typing.Dict[str, str] = {}):
|
274
272
|
"""
|
275
|
-
Specifies
|
276
|
-
|
277
|
-
This decorator is useful if this step may hang indefinitely.
|
278
|
-
|
279
|
-
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
280
|
-
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
281
|
-
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
282
|
-
|
283
|
-
Note that all the values specified in parameters are added together so if you specify
|
284
|
-
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
273
|
+
Specifies environment variables to be set prior to the execution of a step.
|
285
274
|
"""
|
286
275
|
...
|
287
276
|
|
288
277
|
@typing.overload
|
289
|
-
def
|
278
|
+
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]]]:
|
290
279
|
"""
|
291
|
-
|
292
|
-
|
280
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
281
|
+
the execution of a step.
|
293
282
|
"""
|
294
283
|
...
|
295
284
|
|
296
285
|
@typing.overload
|
297
|
-
def
|
286
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
298
287
|
...
|
299
288
|
|
300
|
-
|
289
|
+
@typing.overload
|
290
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
291
|
+
...
|
292
|
+
|
293
|
+
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]]] = []):
|
301
294
|
"""
|
302
|
-
|
303
|
-
|
295
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
296
|
+
the execution of a step.
|
304
297
|
"""
|
305
298
|
...
|
306
299
|
|
@@ -344,131 +337,182 @@ def retry(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
|
|
344
337
|
...
|
345
338
|
|
346
339
|
@typing.overload
|
347
|
-
def
|
340
|
+
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]]]:
|
348
341
|
"""
|
349
|
-
|
342
|
+
Specifies the resources needed when executing this step.
|
350
343
|
|
351
|
-
|
344
|
+
Use `@resources` to specify the resource requirements
|
345
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
346
|
+
|
347
|
+
You can choose the compute layer on the command line by executing e.g.
|
348
|
+
```
|
349
|
+
python myflow.py run --with batch
|
350
|
+
```
|
351
|
+
or
|
352
|
+
```
|
353
|
+
python myflow.py run --with kubernetes
|
354
|
+
```
|
355
|
+
which executes the flow on the desired system using the
|
356
|
+
requirements specified in `@resources`.
|
352
357
|
"""
|
353
358
|
...
|
354
359
|
|
355
360
|
@typing.overload
|
356
|
-
def
|
361
|
+
def resources(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
357
362
|
...
|
358
363
|
|
359
364
|
@typing.overload
|
360
|
-
def
|
365
|
+
def resources(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
361
366
|
...
|
362
367
|
|
363
|
-
def
|
368
|
+
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):
|
364
369
|
"""
|
365
|
-
|
370
|
+
Specifies the resources needed when executing this step.
|
366
371
|
|
367
|
-
|
372
|
+
Use `@resources` to specify the resource requirements
|
373
|
+
independently of the specific compute layer (`@batch`, `@kubernetes`).
|
374
|
+
|
375
|
+
You can choose the compute layer on the command line by executing e.g.
|
376
|
+
```
|
377
|
+
python myflow.py run --with batch
|
378
|
+
```
|
379
|
+
or
|
380
|
+
```
|
381
|
+
python myflow.py run --with kubernetes
|
382
|
+
```
|
383
|
+
which executes the flow on the desired system using the
|
384
|
+
requirements specified in `@resources`.
|
368
385
|
"""
|
369
386
|
...
|
370
387
|
|
371
388
|
@typing.overload
|
372
|
-
def
|
389
|
+
def batch(*, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[str]] = None) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
373
390
|
"""
|
374
|
-
Specifies
|
375
|
-
|
376
|
-
Information in this decorator will augment any
|
377
|
-
attributes set in the `@conda_base` flow-level decorator. Hence,
|
378
|
-
you can use `@conda_base` to set packages required by all
|
379
|
-
steps and use `@conda` to specify step-specific overrides.
|
391
|
+
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
380
392
|
"""
|
381
393
|
...
|
382
394
|
|
383
395
|
@typing.overload
|
384
|
-
def
|
396
|
+
def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
385
397
|
...
|
386
398
|
|
387
399
|
@typing.overload
|
388
|
-
def
|
400
|
+
def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
389
401
|
...
|
390
402
|
|
391
|
-
def
|
403
|
+
def batch(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, cpu: int = 1, gpu: int = 0, memory: int = 4096, image: typing.Optional[str] = None, queue: str = 'METAFLOW_BATCH_JOB_QUEUE', iam_role: str = 'METAFLOW_ECS_S3_ACCESS_IAM_ROLE', execution_role: str = 'METAFLOW_ECS_FARGATE_EXECUTION_ROLE', shared_memory: typing.Optional[int] = None, max_swap: typing.Optional[int] = None, swappiness: typing.Optional[int] = None, use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = None, inferentia: int = 0, trainium: int = None, efa: int = 0, ephemeral_storage: int = None, log_driver: typing.Optional[str] = None, log_options: typing.Optional[typing.List[str]] = None):
|
392
404
|
"""
|
393
|
-
Specifies
|
394
|
-
|
395
|
-
Information in this decorator will augment any
|
396
|
-
attributes set in the `@conda_base` flow-level decorator. Hence,
|
397
|
-
you can use `@conda_base` to set packages required by all
|
398
|
-
steps and use `@conda` to specify step-specific overrides.
|
405
|
+
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
399
406
|
"""
|
400
407
|
...
|
401
408
|
|
402
409
|
@typing.overload
|
403
|
-
def
|
410
|
+
def catch(*, var: typing.Optional[str] = None, print_exception: bool = True) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
404
411
|
"""
|
405
|
-
Specifies the
|
412
|
+
Specifies that the step will success under all circumstances.
|
406
413
|
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
414
|
+
The decorator will create an optional artifact, specified by `var`, which
|
415
|
+
contains the exception raised. You can use it to detect the presence
|
416
|
+
of errors, indicating that all happy-path artifacts produced by the step
|
417
|
+
are missing.
|
411
418
|
"""
|
412
419
|
...
|
413
420
|
|
414
421
|
@typing.overload
|
415
|
-
def
|
422
|
+
def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
416
423
|
...
|
417
424
|
|
418
425
|
@typing.overload
|
419
|
-
def
|
426
|
+
def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
420
427
|
...
|
421
428
|
|
422
|
-
def
|
429
|
+
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):
|
423
430
|
"""
|
424
|
-
Specifies the
|
431
|
+
Specifies that the step will success under all circumstances.
|
425
432
|
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
433
|
+
The decorator will create an optional artifact, specified by `var`, which
|
434
|
+
contains the exception raised. You can use it to detect the presence
|
435
|
+
of errors, indicating that all happy-path artifacts produced by the step
|
436
|
+
are missing.
|
430
437
|
"""
|
431
438
|
...
|
432
439
|
|
433
440
|
@typing.overload
|
434
|
-
def
|
441
|
+
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]]]:
|
435
442
|
"""
|
436
|
-
Specifies
|
443
|
+
Specifies a timeout for your step.
|
444
|
+
|
445
|
+
This decorator is useful if this step may hang indefinitely.
|
446
|
+
|
447
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
448
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
449
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
450
|
+
|
451
|
+
Note that all the values specified in parameters are added together so if you specify
|
452
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
437
453
|
"""
|
438
454
|
...
|
439
455
|
|
440
456
|
@typing.overload
|
441
|
-
def
|
457
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
442
458
|
...
|
443
459
|
|
444
460
|
@typing.overload
|
445
|
-
def
|
461
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
446
462
|
...
|
447
463
|
|
448
|
-
def
|
464
|
+
def timeout(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, seconds: int = 0, minutes: int = 0, hours: int = 0):
|
449
465
|
"""
|
450
|
-
Specifies
|
466
|
+
Specifies a timeout for your step.
|
467
|
+
|
468
|
+
This decorator is useful if this step may hang indefinitely.
|
469
|
+
|
470
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
471
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
472
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
473
|
+
|
474
|
+
Note that all the values specified in parameters are added together so if you specify
|
475
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
451
476
|
"""
|
452
477
|
...
|
453
478
|
|
454
479
|
@typing.overload
|
455
|
-
def
|
480
|
+
def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
456
481
|
"""
|
457
|
-
Specifies
|
482
|
+
Specifies the PyPI packages for all steps of the flow.
|
483
|
+
|
484
|
+
Use `@pypi_base` to set common packages required by all
|
485
|
+
steps and use `@pypi` to specify step-specific overrides.
|
458
486
|
"""
|
459
487
|
...
|
460
488
|
|
461
489
|
@typing.overload
|
462
|
-
def
|
490
|
+
def pypi_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
463
491
|
...
|
464
492
|
|
465
|
-
|
466
|
-
|
493
|
+
def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
|
494
|
+
"""
|
495
|
+
Specifies the PyPI packages for all steps of the flow.
|
496
|
+
|
497
|
+
Use `@pypi_base` to set common packages required by all
|
498
|
+
steps and use `@pypi` to specify step-specific overrides.
|
499
|
+
"""
|
467
500
|
...
|
468
501
|
|
469
|
-
def
|
502
|
+
def airflow_external_task_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, external_dag_id: str, external_task_ids: typing.List[str], allowed_states: typing.List[str], failed_states: typing.List[str], execution_delta: "datetime.timedelta", check_existence: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
470
503
|
"""
|
471
|
-
|
504
|
+
The `@airflow_external_task_sensor` decorator attaches a Airflow [ExternalTaskSensor](https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/sensors/external_task/index.html#airflow.sensors.external_task.ExternalTaskSensor) before the start step of the flow.
|
505
|
+
This decorator only works when a flow is scheduled on Airflow and is compiled using `airflow create`. More than one `@airflow_external_task_sensor` can be added as a flow decorators. Adding more than one decorator will ensure that `start` step starts only after all sensors finish.
|
506
|
+
"""
|
507
|
+
...
|
508
|
+
|
509
|
+
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]]:
|
510
|
+
"""
|
511
|
+
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)
|
512
|
+
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
513
|
+
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
514
|
+
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
515
|
+
starts only after all sensors finish.
|
472
516
|
"""
|
473
517
|
...
|
474
518
|
|
@@ -576,16 +620,6 @@ def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packa
|
|
576
620
|
"""
|
577
621
|
...
|
578
622
|
|
579
|
-
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]]:
|
580
|
-
"""
|
581
|
-
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)
|
582
|
-
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
583
|
-
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
584
|
-
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
585
|
-
starts only after all sensors finish.
|
586
|
-
"""
|
587
|
-
...
|
588
|
-
|
589
623
|
@typing.overload
|
590
624
|
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]]:
|
591
625
|
"""
|
@@ -678,36 +712,6 @@ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: t
|
|
678
712
|
"""
|
679
713
|
...
|
680
714
|
|
681
|
-
def airflow_external_task_sensor(*, timeout: int, poke_interval: int, mode: str, exponential_backoff: bool, pool: str, soft_fail: bool, name: str, description: str, external_dag_id: str, external_task_ids: typing.List[str], allowed_states: typing.List[str], failed_states: typing.List[str], execution_delta: "datetime.timedelta", check_existence: bool) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
682
|
-
"""
|
683
|
-
The `@airflow_external_task_sensor` decorator attaches a Airflow [ExternalTaskSensor](https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/sensors/external_task/index.html#airflow.sensors.external_task.ExternalTaskSensor) before the start step of the flow.
|
684
|
-
This decorator only works when a flow is scheduled on Airflow and is compiled using `airflow create`. More than one `@airflow_external_task_sensor` can be added as a flow decorators. Adding more than one decorator will ensure that `start` step starts only after all sensors finish.
|
685
|
-
"""
|
686
|
-
...
|
687
|
-
|
688
|
-
@typing.overload
|
689
|
-
def pypi_base(*, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
690
|
-
"""
|
691
|
-
Specifies the PyPI packages for all steps of the flow.
|
692
|
-
|
693
|
-
Use `@pypi_base` to set common packages required by all
|
694
|
-
steps and use `@pypi` to specify step-specific overrides.
|
695
|
-
"""
|
696
|
-
...
|
697
|
-
|
698
|
-
@typing.overload
|
699
|
-
def pypi_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
700
|
-
...
|
701
|
-
|
702
|
-
def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, python: typing.Optional[str] = None):
|
703
|
-
"""
|
704
|
-
Specifies the PyPI packages for all steps of the flow.
|
705
|
-
|
706
|
-
Use `@pypi_base` to set common packages required by all
|
707
|
-
steps and use `@pypi` to specify step-specific overrides.
|
708
|
-
"""
|
709
|
-
...
|
710
|
-
|
711
715
|
def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
712
716
|
"""
|
713
717
|
Specifies what flows belong to the same project.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-12-
|
3
|
+
# MF version: 2.12.38 #
|
4
|
+
# Generated on 2024-12-08T03:54:57.918058 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|