def raw_user(self):
        """Encoded user part of URL.

        None if user is missing.

        """
        # not .username
        ret = self._val.username
        if not ret:
            return None
        return ret
Encoded user part of URL.

        None if user is missing.

        
lib/yarl/_url.py