mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
11 lines
278 B
Python
11 lines
278 B
Python
from argenta import Response, Router
|
|
from argenta.di import FromDishka
|
|
from argenta.orchestrator.argparser import ArgSpace
|
|
|
|
router = Router()
|
|
|
|
|
|
@router.command("get_args")
|
|
async def get_args(response: Response, argspace: FromDishka[ArgSpace]):
|
|
print(argspace.all_arguments)
|