varia.website/venv/lib/python3.11/site-packages/mdurl/_url.py
2024-11-19 14:01:39 +01:00

15 lines
284 B
Python

from __future__ import annotations
from typing import NamedTuple
class URL(NamedTuple):
protocol: str | None
slashes: bool
auth: str | None
port: str | None
hostname: str | None
hash: str | None # noqa: A003
search: str | None
pathname: str | None