We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa3eec8 commit 4fb9a40Copy full SHA for 4fb9a40
pandas_datareader/iex/__init__.py
@@ -1,8 +1,10 @@
1
import json
2
+
3
import pandas as pd
4
from pandas.io.common import urlencode
5
from pandas_datareader.base import _BaseReader
6
7
8
# Data provided for free by IEX
9
# Data is furnished in compliance with the guidelines promulgated in the IEX
10
# API terms of service and manual
@@ -11,7 +13,6 @@
11
13
12
14
15
class IEX(_BaseReader):
-
16
"""
17
Serves as the base class for all IEX API services.
18
@@ -56,7 +57,7 @@ def _output_error(self, out):
56
57
58
try:
59
content = json.loads(out.text)
- except:
60
+ except Exception:
61
raise TypeError("Failed to interpret response as JSON.")
62
63
for key, string in content.items():
0 commit comments