wei.server

The server that takes incoming WEI flow requests from the experiment application

Functions

get_version()

Get the version of WEI

is_server_up()

Check if the server is up

lifespan(app)

Initial run function for the app, parses the workcell argument

wei.server.get_version() Dict[str, str]

Get the version of WEI

wei.server.is_server_up() Dict[str, bool]

Check if the server is up

wei.server.lifespan(app: FastAPI) None

Initial run function for the app, parses the workcell argument

Parameters:

app (FastApi) – The REST API app being initialized

Returns:

None