We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c5512 commit 89189f1Copy full SHA for 89189f1
fredapi/fred.py
@@ -41,6 +41,7 @@ def __init__(self,
41
self.root_url = 'https://api.stlouisfed.org/fred'
42
43
if self.api_key is None:
44
+ import textwrap
45
raise ValueError(textwrap.dedent("""\
46
You need to set a valid API key. You can set it in 3 ways:
47
pass the string with api_key, or set api_key_file to a
0 commit comments