forked from Nasdaq/data-link-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api_config: raise errors for mis-configured environment variable
It is possible users could define an environment variable but not set it. Help users avoid shooting themselves in the foot by raising an exception when it is determine callers have: defined the NASDAQ_DATA_LINK_API_KEY; and it is considered empty Signed-off-by: Jamie Couture <[email protected]>
- Loading branch information
1 parent
22325ad
commit a478f5c
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters