Skip to content

msaJustPyUI Module

.justpy.routing


Classes

SetRoute

Justpy specific route annotation

Attributes

kwargs instance-attribute
kwargs = kwargs
route instance-attribute
route = route

Functions

__call__
__call__(wpfunc: typing.Callable, **_instance_kwargs)
PARAMETER DESCRIPTION
wpfunc

a WebPage returning function (Callable)

TYPE: typing.Callable

_instance_kwargs

Arbitrary keyword arguments (ignored).

__init__
__init__(route: str, **kwargs)

Constructor

PARAMETER DESCRIPTION
route

the FastAPI route to set

TYPE: str

kwargs

Arbitrary keyword arguments.


Last update: September 28, 2022
Created: September 28, 2022