

def __init__(self, api_key, scheme='http', timeout=DEFAULT_TIMEOUT, proxies=None, user_agent=None):
    '\n        Initialize a customized Baidu geocoder using the v2 API.\n\n        .. versionadded:: 1.0.0\n\n        :param string api_key: The API key required by Baidu Map to perform\n            geocoding requests. API keys are managed through the Baidu APIs\n            console (http://lbsyun.baidu.com/apiconsole/key).\n\n        :param string scheme: Use \'https\' or \'http\' as the API URL\'s scheme.\n            Default is http and only http support.\n\n        :param dict proxies: If specified, routes this geocoder\'s requests\n            through the specified proxy. E.g., {"https": "192.0.2.0"}. For\n            more information, see documentation on\n            :class:`urllib2.ProxyHandler`.\n        '
    super(Baidu, self).__init__(scheme=scheme, timeout=timeout, proxies=proxies, user_agent=user_agent)
    api_key.api_key = api_key
    self.scheme = scheme
    self.doc = {
        
    }
    self.api = 'http://api.map.baidu.com/geocoder/v2/'

dataset/ETHPy150Open geopy/geopy/geopy/geocoders/baidu.py Baidu.__init__/VarMisuse@56/334 `self`->`api_key`