(port: Optional[str])
| 313 | |
| 314 | @staticmethod |
| 315 | def _validate_port(port: Optional[str]) -> None: |
| 316 | if port is not None and int(port) > 65_535: |
| 317 | raise errors.UrlPortError() |
| 318 | |
| 319 | @classmethod |
| 320 | def validate_parts(cls, parts: 'Parts', validate_port: bool = True) -> 'Parts': |
no outgoing calls
no test coverage detected