flip_api.user_services.get_user =============================== .. py:module:: flip_api.user_services.get_user Attributes ---------- .. autoapisummary:: flip_api.user_services.get_user.router Functions --------- .. autoapisummary:: flip_api.user_services.get_user.get_user Module Contents --------------- .. py:data:: router .. py:function:: get_user(user_id: str, request: fastapi.Request, token_id: uuid.UUID = Depends(verify_token)) Get user details by ID or email. :param user_id: User ID or email. :type user_id: str :param request: FastAPI request object for headers. :type request: Request :param token_id: User ID from authentication token. :type token_id: UUID :returns: User details if found :rtype: CognitoUser :raises HTTPException: If the user ID format is invalid, if the user is not found, or if there is an error getting the user details.