wei.routers.module_routes

Router for the modules endpoints

Functions

get_module(module_name)

Gets the state of a given module :Parameters: module_name (the name of the module to get the state of)

wei.routers.module_routes.get_module(module_name: str) JSONResponse | HTTPException

Gets the state of a given module :Parameters: module_name (the name of the module to get the state of)

Returns:

response (Dict) – the state of the requested module