L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Déploiement et opérations · SKILL.md

runner-and-programmatic

runner-and-programmatic

Guides programmatic Metaflow execution with Runner, NBRunner, Deployer bridge objects, subprocess status, logs, async waits, and returned run/task inspection.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: runner-and-programmatic description: "Guides programmatic Metaflow execution with Runner, NBRunner, Deployer bridge objects, subprocess status, logs, async waits, and returned run/task inspection." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Runner and Programmatic Execution

Use this sub-skill when a task asks to run a Metaflow flow from Python code, automate a local smoke test, inspect ExecutingRun/ExecutingTask, stream logs, or bridge to deployment objects programmatically.

Quick Route

Minimal Programmatic Pattern

from metaflow import Runner

with Runner("flow.py", show_output=False, pylint=False, env={"USERNAME": "disco"}) as runner:
    executing = runner.run(max_workers=1)
    print(executing.status, executing.returncode)
    print(executing.run.pathspec)

Top-level flow-script options such as pylint=False, profile=..., env=..., or datastore=... belong on Runner(...). Run-command options such as max_workers=1, tags=[...], or run_id_file=... belong on runner.run(...).

Boundaries

Skills enregistrées