union_control_mode fell back to control_mode=0 (the canny head) for ANY unmapped control type, so a typo'd or unsupported value like 'detph' silently conditioned the map as canny instead of failing. preprocess_control passes non-canny maps through unchanged, so that map would be interpreted under the wrong mode with no error. Now only 'passthrough' (or an empty type) keeps the deliberate mode-0 default; any other unknown type raises ValueError, which the generate route maps to a 400. Known modes are unchanged. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| hub | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| cloudflare_tunnel.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||