server.web.routes ================= .. py:module:: server.web.routes .. autoapi-nested-parse:: Routes used by task instances on worker nodes. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/server/web/routes/auth/index /autoapi/server/web/routes/utils/index /autoapi/server/web/routes/v3/index Attributes ---------- .. autoapisummary:: server.web.routes.logger server.web.routes.SessionMaker Functions --------- .. autoapisummary:: server.web.routes.is_alive server.web.routes._get_time server.web.routes.get_pst_now server.web.routes.health server.web.routes.test_route Package Contents ---------------- .. py:data:: logger .. py:data:: SessionMaker .. py:function:: is_alive() -> Any Action that sends a response to the requester indicating that responder is listening. .. py:function:: _get_time() -> str .. py:function:: get_pst_now() -> Any Get the time from the database. .. py:function:: health() -> 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. .. py:function:: test_route() -> None Test route to force a 500 error.