The URL username as a string, with URL decoding applied. For example: "jo@email.com"
(self)
| 149 | |
| 150 | @property |
| 151 | def username(self) -> str: |
| 152 | """ |
| 153 | The URL username as a string, with URL decoding applied. |
| 154 | For example: "jo@email.com" |
| 155 | """ |
| 156 | userinfo = self._uri_reference.userinfo |
| 157 | return unquote(userinfo.partition(":")[0]) |
| 158 | |
| 159 | @property |
| 160 | def password(self) -> str: |