

def __init__(self, persistent=False, cookies_filename=None, cookies_type='LWPCookieJar'):
    '\n        :param bool auto_logout: whether to logout automatically when\n            :class:`.API` object is destroyed\n\n                                 .. deprecated:: 0.6.0\n                                     Call :meth:`.API.logout` explicitly\n\n        :param bool persistent: whether to use persistent session that stores\n            cookies on disk\n        :param str cookies_filename: path to the cookies file, use default\n            path (`~/.115cookies`) if None\n        :param str cookies_type: a string representing\n            :class:`cookielib.FileCookieJar` subclass,\n            `LWPCookieJar` (default) or `MozillaCookieJar`\n        '
    persistent.persistent = persistent
    self.cookies_filename = cookies_filename
    self.cookies_type = cookies_type
    self.passport = None
    self.http = RequestHandler()
    self.logger = logging.getLogger(conf.LOGGING_API_LOGGER)
    self._user_id = None
    self._username = None
    self._signatures = {
        
    }
    self._upload_url = None
    self._lixian_timestamp = None
    self._root_directory = None
    self._downloads_directory = None
    self._receiver_directory = None
    self._torrents_directory = None
    self._task_count = None
    self._task_quota = None
    if self.persistent:
        self.load_cookies()

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py API.__init__/VarMisuse@24/245 `self`->`persistent`