def __init__(
        self,
        base_url: str = "http://localhost:8000",
        client: Optional[httpx.Client] = None,
    ):
        """Constructor method.

        Args:
            base_url: The base URL of the server.
            client: The HTTP client to use.
        """
        self.base_url = base_url
        self.client = client or httpx.Client()
Constructor method.

        Args:
            base_url: The base URL of the server.
            client: The HTTP client to use.
        
lanarky/clients.py