metaflow-stubs 2.12.33__tar.gz → 2.12.35__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.33/metaflow_stubs.egg-info → metaflow_stubs-2.12.35}/PKG-INFO +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/__init__.pyi +177 -177
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/cards.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/client/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/client/core.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/client/filecache.pyi +3 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/clone_util.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/events.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/exception.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/flowspec.pyi +5 -5
- metaflow_stubs-2.12.35/metaflow-stubs/generated_for.txt +1 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/includefile.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/info_file.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/metadata_provider/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/metadata_provider/metadata.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/metadata_provider/util.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/metaflow_config.pyi +4 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/metaflow_current.pyi +22 -22
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/mflog/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/mflog/mflog.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/multicore_utils.pyi +11 -11
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/parameters.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/__init__.pyi +17 -17
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/airflow.pyi +3 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/airflow_cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/exception.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/argo/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/argo/argo_workflows.pyi +3 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/__init__.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/batch/batch_cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +5 -5
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/azure/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +5 -5
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_client.pyi +3 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/cards/exception.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/catch_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/datatools/local.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/datatools/s3/s3.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/debug_logger.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/debug_monitor.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/environment_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/events_decorator.pyi +12 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +5 -5
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/kubernetes/__init__.pyi +3 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/kubernetes/kube_utils.pyi +8 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/kubernetes/kubernetes.pyi +5 -5
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +8 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +3 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +3 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/logs_cli.pyi +3 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/package_cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/project_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/pypi/utils.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/resources_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/retry_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +4 -4
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/storage_executor.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/tag_cli.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/procpoll.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/pylint_wrapper.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/runner/__init__.pyi +3 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/runner/deployer.pyi +6 -6
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/runner/deployer_impl.pyi +4 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/runner/metaflow_runner.pyi +9 -5
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/runner/nbdeploy.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/runner/nbrun.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/runner/subprocess_manager.pyi +7 -3
- metaflow_stubs-2.12.35/metaflow-stubs/runner/utils.pyi +187 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/system/__init__.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/system/system_logger.pyi +3 -3
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/system/system_monitor.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/tagging_util.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/tuple_util.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/version.pyi +2 -2
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35/metaflow_stubs.egg-info}/PKG-INFO +2 -2
- metaflow_stubs-2.12.35/metaflow_stubs.egg-info/requires.txt +1 -0
- metaflow_stubs-2.12.35/version.py +1 -0
- metaflow_stubs-2.12.33/metaflow-stubs/generated_for.txt +0 -1
- metaflow_stubs-2.12.33/metaflow-stubs/runner/utils.pyi +0 -88
- metaflow_stubs-2.12.33/metaflow_stubs.egg-info/requires.txt +0 -1
- metaflow_stubs-2.12.33/version.py +0 -1
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/MANIFEST.in +0 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/README.md +0 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow-stubs/py.typed +0 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow_stubs.egg-info/SOURCES.txt +0 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow_stubs.egg-info/dependency_links.txt +0 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/metaflow_stubs.egg-info/top_level.txt +0 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/setup.cfg +0 -0
- {metaflow_stubs-2.12.33 → metaflow_stubs-2.12.35}/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.35
|
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.35
|
25
25
|
|
26
26
|
# Metaflow Stubs
|
27
27
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.35 #
|
4
|
+
# Generated on 2024-12-06T00:07:18.502279 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
9
|
import typing
|
10
10
|
if typing.TYPE_CHECKING:
|
11
|
-
import typing
|
12
11
|
import datetime
|
12
|
+
import typing
|
13
13
|
FlowSpecDerived = typing.TypeVar("FlowSpecDerived", bound="FlowSpec", contravariant=False, covariant=False)
|
14
14
|
StepFlag = typing.NewType("StepFlag", bool)
|
15
15
|
|
@@ -138,97 +138,83 @@ def step(f: typing.Union[typing.Callable[[FlowSpecDerived], None], typing.Callab
|
|
138
138
|
...
|
139
139
|
|
140
140
|
@typing.overload
|
141
|
-
def
|
141
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
142
142
|
"""
|
143
|
-
|
144
|
-
|
145
|
-
Note that you may add multiple `@card` decorators in a step with different parameters.
|
143
|
+
Decorator prototype for all step decorators. This function gets specialized
|
144
|
+
and imported for all decorators types by _import_plugin_decorators().
|
146
145
|
"""
|
147
146
|
...
|
148
147
|
|
149
148
|
@typing.overload
|
150
|
-
def
|
151
|
-
...
|
152
|
-
|
153
|
-
@typing.overload
|
154
|
-
def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
149
|
+
def parallel(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
155
150
|
...
|
156
151
|
|
157
|
-
def
|
152
|
+
def parallel(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None):
|
158
153
|
"""
|
159
|
-
|
160
|
-
|
161
|
-
Note that you may add multiple `@card` decorators in a step with different parameters.
|
154
|
+
Decorator prototype for all step decorators. This function gets specialized
|
155
|
+
and imported for all decorators types by _import_plugin_decorators().
|
162
156
|
"""
|
163
157
|
...
|
164
158
|
|
165
159
|
@typing.overload
|
166
|
-
def
|
160
|
+
def retry(*, times: int = 3, minutes_between_retries: int = 2) -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
167
161
|
"""
|
168
|
-
Specifies
|
169
|
-
|
170
|
-
This decorator is useful if this step may hang indefinitely.
|
162
|
+
Specifies the number of times the task corresponding
|
163
|
+
to a step needs to be retried.
|
171
164
|
|
172
|
-
This
|
173
|
-
|
174
|
-
|
165
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
166
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
167
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
175
168
|
|
176
|
-
|
177
|
-
|
169
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
170
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
171
|
+
ensuring that the flow execution can continue.
|
178
172
|
"""
|
179
173
|
...
|
180
174
|
|
181
175
|
@typing.overload
|
182
|
-
def
|
176
|
+
def retry(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
183
177
|
...
|
184
178
|
|
185
179
|
@typing.overload
|
186
|
-
def
|
180
|
+
def retry(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
187
181
|
...
|
188
182
|
|
189
|
-
def
|
183
|
+
def retry(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None], None] = None, *, times: int = 3, minutes_between_retries: int = 2):
|
190
184
|
"""
|
191
|
-
Specifies
|
192
|
-
|
193
|
-
This decorator is useful if this step may hang indefinitely.
|
185
|
+
Specifies the number of times the task corresponding
|
186
|
+
to a step needs to be retried.
|
194
187
|
|
195
|
-
This
|
196
|
-
|
197
|
-
|
188
|
+
This decorator is useful for handling transient errors, such as networking issues.
|
189
|
+
If your task contains operations that can't be retried safely, e.g. database updates,
|
190
|
+
it is advisable to annotate it with `@retry(times=0)`.
|
198
191
|
|
199
|
-
|
200
|
-
|
192
|
+
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
193
|
+
decorator will execute a no-op task after all retries have been exhausted,
|
194
|
+
ensuring that the flow execution can continue.
|
201
195
|
"""
|
202
196
|
...
|
203
197
|
|
204
198
|
@typing.overload
|
205
|
-
def
|
199
|
+
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]]]:
|
206
200
|
"""
|
207
|
-
Specifies
|
208
|
-
|
209
|
-
The decorator will create an optional artifact, specified by `var`, which
|
210
|
-
contains the exception raised. You can use it to detect the presence
|
211
|
-
of errors, indicating that all happy-path artifacts produced by the step
|
212
|
-
are missing.
|
201
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
202
|
+
the execution of a step.
|
213
203
|
"""
|
214
204
|
...
|
215
205
|
|
216
206
|
@typing.overload
|
217
|
-
def
|
207
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
218
208
|
...
|
219
209
|
|
220
210
|
@typing.overload
|
221
|
-
def
|
211
|
+
def secrets(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
222
212
|
...
|
223
213
|
|
224
|
-
def
|
214
|
+
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]]] = []):
|
225
215
|
"""
|
226
|
-
Specifies
|
227
|
-
|
228
|
-
The decorator will create an optional artifact, specified by `var`, which
|
229
|
-
contains the exception raised. You can use it to detect the presence
|
230
|
-
of errors, indicating that all happy-path artifacts produced by the step
|
231
|
-
are missing.
|
216
|
+
Specifies secrets to be retrieved and injected as environment variables prior to
|
217
|
+
the execution of a step.
|
232
218
|
"""
|
233
219
|
...
|
234
220
|
|
@@ -282,23 +268,33 @@ def resources(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None]
|
|
282
268
|
...
|
283
269
|
|
284
270
|
@typing.overload
|
285
|
-
def
|
271
|
+
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]]]:
|
286
272
|
"""
|
287
|
-
Specifies
|
273
|
+
Specifies the PyPI packages for the step.
|
274
|
+
|
275
|
+
Information in this decorator will augment any
|
276
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
277
|
+
you can use `@pypi_base` to set packages required by all
|
278
|
+
steps and use `@pypi` to specify step-specific overrides.
|
288
279
|
"""
|
289
280
|
...
|
290
281
|
|
291
282
|
@typing.overload
|
292
|
-
def
|
283
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
293
284
|
...
|
294
285
|
|
295
286
|
@typing.overload
|
296
|
-
def
|
287
|
+
def pypi(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
297
288
|
...
|
298
289
|
|
299
|
-
def
|
290
|
+
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):
|
300
291
|
"""
|
301
|
-
Specifies
|
292
|
+
Specifies the PyPI packages for the step.
|
293
|
+
|
294
|
+
Information in this decorator will augment any
|
295
|
+
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
296
|
+
you can use `@pypi_base` to set packages required by all
|
297
|
+
steps and use `@pypi` to specify step-specific overrides.
|
302
298
|
"""
|
303
299
|
...
|
304
300
|
|
@@ -323,102 +319,125 @@ def environment(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], Non
|
|
323
319
|
"""
|
324
320
|
...
|
325
321
|
|
326
|
-
|
322
|
+
@typing.overload
|
323
|
+
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]]]:
|
327
324
|
"""
|
328
|
-
Specifies that
|
325
|
+
Specifies that the step will success under all circumstances.
|
326
|
+
|
327
|
+
The decorator will create an optional artifact, specified by `var`, which
|
328
|
+
contains the exception raised. You can use it to detect the presence
|
329
|
+
of errors, indicating that all happy-path artifacts produced by the step
|
330
|
+
are missing.
|
329
331
|
"""
|
330
332
|
...
|
331
333
|
|
332
334
|
@typing.overload
|
333
|
-
def
|
335
|
+
def catch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
336
|
+
...
|
337
|
+
|
338
|
+
@typing.overload
|
339
|
+
def catch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
340
|
+
...
|
341
|
+
|
342
|
+
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):
|
334
343
|
"""
|
335
|
-
Specifies
|
336
|
-
|
344
|
+
Specifies that the step will success under all circumstances.
|
345
|
+
|
346
|
+
The decorator will create an optional artifact, specified by `var`, which
|
347
|
+
contains the exception raised. You can use it to detect the presence
|
348
|
+
of errors, indicating that all happy-path artifacts produced by the step
|
349
|
+
are missing.
|
337
350
|
"""
|
338
351
|
...
|
339
352
|
|
340
353
|
@typing.overload
|
341
|
-
def
|
354
|
+
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]]]:
|
355
|
+
"""
|
356
|
+
Specifies a timeout for your step.
|
357
|
+
|
358
|
+
This decorator is useful if this step may hang indefinitely.
|
359
|
+
|
360
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
361
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
362
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
363
|
+
|
364
|
+
Note that all the values specified in parameters are added together so if you specify
|
365
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
366
|
+
"""
|
342
367
|
...
|
343
368
|
|
344
369
|
@typing.overload
|
345
|
-
def
|
370
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
346
371
|
...
|
347
372
|
|
348
|
-
|
373
|
+
@typing.overload
|
374
|
+
def timeout(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
375
|
+
...
|
376
|
+
|
377
|
+
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):
|
349
378
|
"""
|
350
|
-
Specifies
|
351
|
-
|
379
|
+
Specifies a timeout for your step.
|
380
|
+
|
381
|
+
This decorator is useful if this step may hang indefinitely.
|
382
|
+
|
383
|
+
This can be used in conjunction with the `@retry` decorator as well as the `@catch` decorator.
|
384
|
+
A timeout is considered to be an exception thrown by the step. It will cause the step to be
|
385
|
+
retried if needed and the exception will be caught by the `@catch` decorator, if present.
|
386
|
+
|
387
|
+
Note that all the values specified in parameters are added together so if you specify
|
388
|
+
60 seconds and 1 hour, the decorator will have an effective timeout of 1 hour and 1 minute.
|
352
389
|
"""
|
353
390
|
...
|
354
391
|
|
355
392
|
@typing.overload
|
356
|
-
def
|
393
|
+
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]]]:
|
357
394
|
"""
|
358
|
-
|
395
|
+
Creates a human-readable report, a Metaflow Card, after this step completes.
|
359
396
|
|
360
|
-
|
361
|
-
attributes set in the `@pyi_base` flow-level decorator. Hence,
|
362
|
-
you can use `@pypi_base` to set packages required by all
|
363
|
-
steps and use `@pypi` to specify step-specific overrides.
|
397
|
+
Note that you may add multiple `@card` decorators in a step with different parameters.
|
364
398
|
"""
|
365
399
|
...
|
366
400
|
|
367
401
|
@typing.overload
|
368
|
-
def
|
402
|
+
def card(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
369
403
|
...
|
370
404
|
|
371
405
|
@typing.overload
|
372
|
-
def
|
406
|
+
def card(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
373
407
|
...
|
374
408
|
|
375
|
-
def
|
409
|
+
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):
|
376
410
|
"""
|
377
|
-
|
411
|
+
Creates a human-readable report, a Metaflow Card, after this step completes.
|
378
412
|
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
413
|
+
Note that you may add multiple `@card` decorators in a step with different parameters.
|
414
|
+
"""
|
415
|
+
...
|
416
|
+
|
417
|
+
def kubernetes(*, cpu: int = 1, memory: int = 4096, disk: int = 10240, image: typing.Optional[str] = None, image_pull_policy: str = 'KUBERNETES_IMAGE_PULL_POLICY', service_account: str = 'METAFLOW_KUBERNETES_SERVICE_ACCOUNT', secrets: typing.Optional[typing.List[str]] = None, node_selector: typing.Union[typing.Dict[str, str], str, None] = None, namespace: str = 'METAFLOW_KUBERNETES_NAMESPACE', gpu: typing.Optional[int] = None, gpu_vendor: str = 'KUBERNETES_GPU_VENDOR', tolerations: typing.List[str] = [], use_tmpfs: bool = False, tmpfs_tempdir: bool = True, tmpfs_size: typing.Optional[int] = None, tmpfs_path: typing.Optional[str] = '/metaflow_temp', persistent_volume_claims: typing.Optional[typing.Dict[str, str]] = None, shared_memory: typing.Optional[int] = None, port: typing.Optional[int] = None, compute_pool: typing.Optional[str] = None, hostname_resolution_timeout: int = 600, qos: str = 'Burstable') -> typing.Callable[[typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]], typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]]]:
|
418
|
+
"""
|
419
|
+
Specifies that this step should execute on Kubernetes.
|
383
420
|
"""
|
384
421
|
...
|
385
422
|
|
386
423
|
@typing.overload
|
387
|
-
def
|
424
|
+
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]]]:
|
388
425
|
"""
|
389
|
-
Specifies
|
390
|
-
to a step needs to be retried.
|
391
|
-
|
392
|
-
This decorator is useful for handling transient errors, such as networking issues.
|
393
|
-
If your task contains operations that can't be retried safely, e.g. database updates,
|
394
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
395
|
-
|
396
|
-
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
397
|
-
decorator will execute a no-op task after all retries have been exhausted,
|
398
|
-
ensuring that the flow execution can continue.
|
426
|
+
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
399
427
|
"""
|
400
428
|
...
|
401
429
|
|
402
430
|
@typing.overload
|
403
|
-
def
|
431
|
+
def batch(f: typing.Callable[[FlowSpecDerived, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, StepFlag], None]:
|
404
432
|
...
|
405
433
|
|
406
434
|
@typing.overload
|
407
|
-
def
|
435
|
+
def batch(f: typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]) -> typing.Callable[[FlowSpecDerived, typing.Any, StepFlag], None]:
|
408
436
|
...
|
409
437
|
|
410
|
-
def
|
438
|
+
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):
|
411
439
|
"""
|
412
|
-
Specifies
|
413
|
-
to a step needs to be retried.
|
414
|
-
|
415
|
-
This decorator is useful for handling transient errors, such as networking issues.
|
416
|
-
If your task contains operations that can't be retried safely, e.g. database updates,
|
417
|
-
it is advisable to annotate it with `@retry(times=0)`.
|
418
|
-
|
419
|
-
This can be used in conjunction with the `@catch` decorator. The `@catch`
|
420
|
-
decorator will execute a no-op task after all retries have been exhausted,
|
421
|
-
ensuring that the flow execution can continue.
|
440
|
+
Specifies that this step should execute on [AWS Batch](https://aws.amazon.com/batch/).
|
422
441
|
"""
|
423
442
|
...
|
424
443
|
|
@@ -454,21 +473,21 @@ def conda(f: typing.Union[typing.Callable[[FlowSpecDerived, StepFlag], None], ty
|
|
454
473
|
...
|
455
474
|
|
456
475
|
@typing.overload
|
457
|
-
def
|
476
|
+
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]]:
|
458
477
|
"""
|
459
|
-
|
460
|
-
|
478
|
+
Specifies the times when the flow should be run when running on a
|
479
|
+
production scheduler.
|
461
480
|
"""
|
462
481
|
...
|
463
482
|
|
464
483
|
@typing.overload
|
465
|
-
def
|
484
|
+
def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
466
485
|
...
|
467
486
|
|
468
|
-
def
|
487
|
+
def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None):
|
469
488
|
"""
|
470
|
-
|
471
|
-
|
489
|
+
Specifies the times when the flow should be run when running on a
|
490
|
+
production scheduler.
|
472
491
|
"""
|
473
492
|
...
|
474
493
|
|
@@ -545,19 +564,13 @@ def trigger(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, event: t
|
|
545
564
|
"""
|
546
565
|
...
|
547
566
|
|
548
|
-
def
|
549
|
-
"""
|
550
|
-
Specifies what flows belong to the same project.
|
551
|
-
|
552
|
-
A project-specific namespace is created for all flows that
|
553
|
-
use the same `@project(name)`.
|
554
|
-
"""
|
555
|
-
...
|
556
|
-
|
557
|
-
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]]:
|
567
|
+
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]]:
|
558
568
|
"""
|
559
|
-
The `@
|
560
|
-
This decorator only works when a flow is scheduled on Airflow
|
569
|
+
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)
|
570
|
+
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
571
|
+
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
572
|
+
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
573
|
+
starts only after all sensors finish.
|
561
574
|
"""
|
562
575
|
...
|
563
576
|
|
@@ -584,58 +597,6 @@ def pypi_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packag
|
|
584
597
|
"""
|
585
598
|
...
|
586
599
|
|
587
|
-
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]]:
|
588
|
-
"""
|
589
|
-
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)
|
590
|
-
before the start step of the flow. This decorator only works when a flow is scheduled on Airflow
|
591
|
-
and is compiled using `airflow create`. More than one `@airflow_s3_key_sensor` can be
|
592
|
-
added as a flow decorators. Adding more than one decorator will ensure that `start` step
|
593
|
-
starts only after all sensors finish.
|
594
|
-
"""
|
595
|
-
...
|
596
|
-
|
597
|
-
@typing.overload
|
598
|
-
def conda_base(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
599
|
-
"""
|
600
|
-
Specifies the Conda environment for all steps of the flow.
|
601
|
-
|
602
|
-
Use `@conda_base` to set common libraries required by all
|
603
|
-
steps and use `@conda` to specify step-specific additions.
|
604
|
-
"""
|
605
|
-
...
|
606
|
-
|
607
|
-
@typing.overload
|
608
|
-
def conda_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
609
|
-
...
|
610
|
-
|
611
|
-
def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
|
612
|
-
"""
|
613
|
-
Specifies the Conda environment for all steps of the flow.
|
614
|
-
|
615
|
-
Use `@conda_base` to set common libraries required by all
|
616
|
-
steps and use `@conda` to specify step-specific additions.
|
617
|
-
"""
|
618
|
-
...
|
619
|
-
|
620
|
-
@typing.overload
|
621
|
-
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]]:
|
622
|
-
"""
|
623
|
-
Specifies the times when the flow should be run when running on a
|
624
|
-
production scheduler.
|
625
|
-
"""
|
626
|
-
...
|
627
|
-
|
628
|
-
@typing.overload
|
629
|
-
def schedule(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
630
|
-
...
|
631
|
-
|
632
|
-
def schedule(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, hourly: bool = False, daily: bool = True, weekly: bool = False, cron: typing.Optional[str] = None, timezone: typing.Optional[str] = None):
|
633
|
-
"""
|
634
|
-
Specifies the times when the flow should be run when running on a
|
635
|
-
production scheduler.
|
636
|
-
"""
|
637
|
-
...
|
638
|
-
|
639
600
|
@typing.overload
|
640
601
|
def trigger_on_finish(*, flow: typing.Union[typing.Dict[str, str], str, None] = None, flows: typing.List[typing.Union[str, typing.Dict[str, str]]] = [], options: typing.Dict[str, typing.Any] = {}) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
641
602
|
"""
|
@@ -717,3 +678,42 @@ def trigger_on_finish(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *
|
|
717
678
|
"""
|
718
679
|
...
|
719
680
|
|
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 conda_base(*, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
690
|
+
"""
|
691
|
+
Specifies the Conda environment for all steps of the flow.
|
692
|
+
|
693
|
+
Use `@conda_base` to set common libraries required by all
|
694
|
+
steps and use `@conda` to specify step-specific additions.
|
695
|
+
"""
|
696
|
+
...
|
697
|
+
|
698
|
+
@typing.overload
|
699
|
+
def conda_base(f: typing.Type[FlowSpecDerived]) -> typing.Type[FlowSpecDerived]:
|
700
|
+
...
|
701
|
+
|
702
|
+
def conda_base(f: typing.Optional[typing.Type[FlowSpecDerived]] = None, *, packages: typing.Dict[str, str] = {}, libraries: typing.Dict[str, str] = {}, python: typing.Optional[str] = None, disabled: bool = False):
|
703
|
+
"""
|
704
|
+
Specifies the Conda environment for all steps of the flow.
|
705
|
+
|
706
|
+
Use `@conda_base` to set common libraries required by all
|
707
|
+
steps and use `@conda` to specify step-specific additions.
|
708
|
+
"""
|
709
|
+
...
|
710
|
+
|
711
|
+
def project(*, name: str) -> typing.Callable[[typing.Type[FlowSpecDerived]], typing.Type[FlowSpecDerived]]:
|
712
|
+
"""
|
713
|
+
Specifies what flows belong to the same project.
|
714
|
+
|
715
|
+
A project-specific namespace is created for all flows that
|
716
|
+
use the same `@project(name)`.
|
717
|
+
"""
|
718
|
+
...
|
719
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.35 #
|
4
|
+
# Generated on 2024-12-06T00:07:18.409954 #
|
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.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.35 #
|
4
|
+
# Generated on 2024-12-06T00:07:18.420422 #
|
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.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.35 #
|
4
|
+
# Generated on 2024-12-06T00:07:18.410295 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
@@ -1,17 +1,17 @@
|
|
1
1
|
######################################################################################################
|
2
2
|
# Auto-generated Metaflow stub file #
|
3
|
-
# MF version: 2.12.
|
4
|
-
# Generated on 2024-
|
3
|
+
# MF version: 2.12.35 #
|
4
|
+
# Generated on 2024-12-06T00:07:18.415439 #
|
5
5
|
######################################################################################################
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
9
|
-
import typing
|
10
9
|
import metaflow
|
10
|
+
import typing
|
11
11
|
if typing.TYPE_CHECKING:
|
12
12
|
import tarfile
|
13
|
-
import metaflow.client.core
|
14
13
|
import datetime
|
14
|
+
import metaflow.client.core
|
15
15
|
import metaflow.events
|
16
16
|
import typing
|
17
17
|
|