def get_user_info(self):
        """
        Returns a UserInfo object for the logged in user.

        Returns:
            UserInfo: object representing the student current grades
        """
        # the request is done in behalf of the current logged in user
        resp = self.requester.get(
            urljoin(
                self.base_url,
                '/api/mobile/v0.5/my_user_info'
            )
        )

        resp.raise_for_status()

        return Info(resp.json())
def get_user_info ( self ) : resp = self . requester . get ( urljoin ( self . base_url , '/api/mobile/v0.5/my_user_info' ) ) resp . raise_for_status ( ) return Info ( resp . json ( ) )
Returns a UserInfo object for the logged in user.

        Returns:
            UserInfo: object representing the student current grades