wei.routers.location_routes

Router for the “locations” endpoints

Functions

loc(location)

Describes the state of the workcell locations :Parameters: None

show_states()

Describes the state of the workcell locations

update(location_name, experiment_id)

Manually update the state of a location in the workcell.

wei.routers.location_routes.loc(location: str) JSONResponse | HTTPException

Describes the state of the workcell locations :Parameters: None

Returns:

response (Dict) – the state of the workcell locations, with the id of the run that last filled the location

wei.routers.location_routes.show_states() JSONResponse

Describes the state of the workcell locations

Parameters:
  • None – Returns

  • ——-

    response: Dict

    the state of the workcell locations, with the id of the run that last filled the location

async wei.routers.location_routes.update(location_name: str, experiment_id: str) JSONResponse

Manually update the state of a location in the workcell.

Parameters:
  • location_name (the name of the location to update)

  • experiment_id (the id of the experiment that is in the location)

Returns:

  • response (Dict)

  • - the state of the workcell locations, with the id of the run that last filled the location