refactor(routes): extract registrar and handlers

This commit is contained in:
pixelpaws
2025-09-21 20:52:08 +08:00
parent 7e20f738fb
commit 0e93a6bcb0
7 changed files with 1106 additions and 1103 deletions

View File

@@ -37,7 +37,7 @@ from py_local.config import config
class DummyRoutes(BaseModelRoutes):
template_name = "dummy.html"
def setup_specific_routes(self, app: web.Application, prefix: str) -> None: # pragma: no cover - no extra routes in smoke tests
def setup_specific_routes(self, registrar, prefix: str) -> None: # pragma: no cover - no extra routes in smoke tests
return None