Source code for pylav.extension.m3u from __future__ import annotations from typing import TYPE_CHECKING from pylav.extension.m3u.base import load, loads if TYPE_CHECKING: from pylav.core.client import Client [docs] class M3UParser: """A wrapper for the M3U parser.""" __slots__ = ("_client",) def __init__(self, client: Client) -> None: self._client = client @property def client(self) -> Client: """The PyLav client.""" return self._client load = load loads = loads