This commit is contained in:
2025-05-09 23:33:54 +03:00
parent ed1cbf0fcf
commit 05379712f4
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -24,12 +24,13 @@ poetry add argenta
# routers.py
from argenta.router import Router
from argenta.command import Command
from argenta.response import Response
router = Router()
@router.command(Command("hello"))
def handler():
def handler(response: Response):
print("Hello, world!")
```