ewoksserver.app.routes.backend.Route#
- class ewoksserver.app.routes.backend.Route(router, prefix, tag, versioned)[source]#
Bases:
object
- Parameters:
router (
Union
[APIRouter
,Callable
[[],Callable
[[MutableMapping
[str
,Any
],Callable
[[],Awaitable
[MutableMapping
[str
,Any
]]],Callable
[[MutableMapping
[str
,Any
]],Awaitable
[None
]]],Awaitable
[None
]]]])prefix (
str
)tag (
str
)versioned (
bool
)
-
prefix:
str
#
-
router:
Union
[APIRouter
,Callable
[[],Callable
[[MutableMapping
[str
,Any
],Callable
[[],Awaitable
[MutableMapping
[str
,Any
]]],Callable
[[MutableMapping
[str
,Any
]],Awaitable
[None
]]],Awaitable
[None
]]]]#
-
tag:
str
#
-
versioned:
bool
#