def __init__(self, **kwargs):
self.kwargs = kwargs.copy()  <EOL>self.session = kwargs.pop('<STR_LIT>', None)<EOL>self._httpclient = self.session or HTTPClient(**kwargs)<EOL>self.url = self._httpclient.url<EOL>self._debug = logging.getLogger(__name__).debug<EOL>
Parameters:
    session (HTTPClient): :class:`~pancloud.httpclient.HTTPClient` object. Defaults to ``None``.
    url (str): URL to send API requests to. Later combined with ``port`` and :meth:`~request` ``path`` parameter.

Args:
    **kwargs: Supported :class:`~pancloud.httpclient.HTTPClient` parameters.