server.web.routes

Routes used by task instances on worker nodes.

Submodules

Attributes

logger

Functions

is_alive(→ Any)

Action that sends a response to the requester indicating that responder is listening.

get_pst_now(→ Any)

Get the time from the database.

health(→ Any)

Test connectivity to the database.

test_route(→ None)

Test route to force a 500 error.

Package Contents

server.web.routes.logger
server.web.routes.is_alive() Any

Action that sends a response to the requester indicating that responder is listening.

server.web.routes.get_pst_now(session: sqlalchemy.orm.Session) Any

Get the time from the database.

server.web.routes.health(session: sqlalchemy.orm.Session) Any

Test connectivity to the database.

Return 200 if everything is OK. Defined in each module with a different route, so it can be checked individually.

server.web.routes.test_route(session: sqlalchemy.orm.Session) None

Test route to force a 500 error.