Spaces:
Sleeping

brocode12's picture
Bell Operations Copilot: copilot route, reservations, tokens, webhook parser, menu availability
e4855d5 verified
Raw History Blame Contribute Delete
292 Bytes
from array import array
class URL:
schema: bytes
host: bytes
port: int
path: bytes
query: bytes
fragment: bytes
userinfo: bytes
def parse_url(url: bytes | bytearray | memoryview | array[int]) -> URL:
"""Parse a URL string into a structured Python object."""