chore: enforce strict typing and internal naming conventions across web components

This commit is contained in:
2026-04-07 19:56:15 -04:00
parent 950280a97b
commit ba2faba5d5
52 changed files with 4967 additions and 934 deletions

View File

@@ -353,12 +353,12 @@ def deploy(
import subprocess
import sys
console.print(f"[green]Starting DECNET API on port {api_port}...[/]")
env = os.environ.copy()
env["DECNET_INGEST_LOG_FILE"] = effective_log_file
_env: dict[str, str] = os.environ.copy()
_env["DECNET_INGEST_LOG_FILE"] = str(effective_log_file)
try:
subprocess.Popen(
[sys.executable, "-m", "uvicorn", "decnet.web.api:app", "--host", "0.0.0.0", "--port", str(api_port)],
env=env,
env=_env,
stdout=subprocess.DEVNULL,
stderr=subprocess.STDOUT
)