flip_api.fl_services.get_net_status =================================== .. py:module:: flip_api.fl_services.get_net_status Attributes ---------- .. autoapisummary:: flip_api.fl_services.get_net_status.router Functions --------- .. autoapisummary:: flip_api.fl_services.get_net_status.get_net_status Module Contents --------------- .. py:data:: router .. py:function:: get_net_status(net_name: str, db: sqlmodel.Session = Depends(get_session), user_id: uuid.UUID = Depends(verify_token)) Get the status of a net and its clients. A net consists of a central controller with a worker at each of the Trusts. :param net_name: The name of the network to get status for. :type net_name: str :param db: Database session. :type db: Session :param user_id: ID of the authenticated user. :type user_id: UUID :returns: Object containing the network name and status of connected clients. :rtype: INetStatus :raises HTTPException: If the net is not found, if there is no response from the FL API, or if there is an error :raises retrieving the net status.: