mirror of
https://github.com/bspeice/metrik
synced 2024-11-04 22:48:11 -05:00
Add requests?
This commit is contained in:
parent
fbefe3d762
commit
28c91aa34e
@ -1,8 +1,13 @@
|
|||||||
from luigi import Task, Parameter
|
from luigi import Task, Parameter
|
||||||
from pyquery import PyQuery as pq
|
from pyquery import PyQuery as pq
|
||||||
from urllib.parse import quote_plus
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
try:
|
||||||
|
from urllib.parse import quote_plus
|
||||||
|
except ImportError:
|
||||||
|
# noinspection PyUnresolvedReferences
|
||||||
|
from urllib import quote_plus
|
||||||
|
|
||||||
|
|
||||||
class BloombergEquityInfo(Task):
|
class BloombergEquityInfo(Task):
|
||||||
bbg_code = Parameter()
|
bbg_code = Parameter()
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
luigi>=2.2.0
|
luigi>=2.2.0
|
||||||
pyquery>=1.2.13
|
pyquery>=1.2.13
|
||||||
|
requests>=2.9.1
|
Loading…
Reference in New Issue
Block a user