Files
Argenta/docs/code_snippets/quickstart/routers.py
T
2025-11-01 11:38:48 +03:00

9 lines
228 B
Python

# routers.py
from argenta import Command, Response, Router
router = Router(title="Quickstart Example")
@router.command(Command("hello", description="Say hello"))
def handler(response: Response):
print("Hello, world!")