MCPcopy
hub / github.com/pathwaycom/pathway / web_dashboard

Function web_dashboard

python/pathway/cli.py:548–560  ·  view source on GitHub ↗
(detailed_metrics_dir, port)

Source from the content-addressed store, hash-verified

546 default=8088,
547)
548def web_dashboard(detailed_metrics_dir, port):
549 click.echo(f"Starting Pathway Live Data Framework Web Dashboard on port {port}...")
550 env = os.environ.copy()
551 env["PATHWAY_DETAILED_METRICS_DIR"] = detailed_metrics_dir
552 command = [
553 "uvicorn",
554 "pathway.web_dashboard.dashboard:app",
555 "--host",
556 "0.0.0.0",
557 "--port",
558 str(port),
559 ]
560 subprocess.run(command, env=env)
561
562
563@cli.group()

Callers

nothing calls this directly

Calls 2

copyMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected