예제 #1
0
파일: oanda.py 프로젝트: einaru/curry
 def __init__(self, **kwargs):
     APIProvider.__init__(self, **kwargs)
     self.cache_file = get_cache_file(self.id_)
     # Use lxml as the BeautifulSoup parser if it's installed.
     if importlib.find_loader('lxml'):
         self._parser = 'lxml'
     else:
         self._parser = 'html.parser'
예제 #2
0
 def __init__(self, **kwargs):
     APIProvider.__init__(self, **kwargs)
     self.cache_file = get_cache_file(self.id_)
예제 #3
0
 def __init__(self, **kwargs):
     APIProvider.__init__(self, **kwargs)
     self.cache_file = get_cache_file(self.id_)