Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Bereitstellung und Betrieb · 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

Skill-Dokumentation

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

Gespeicherte Skills