mirror of
https://github.com/hydrosquall/tiingo-python.git
synced 2025-12-17 20:04:19 +01:00
Test base REST Client
This commit is contained in:
@@ -20,6 +20,12 @@ class RestClient(object):
|
||||
"""
|
||||
self._config = config
|
||||
|
||||
# The child class should override these properties or else the
|
||||
# restclient won't work. Reevalute whether to do this as an abstract
|
||||
# base class so it doesn't get used by itself.
|
||||
self._headers = {}
|
||||
self._base_url = ""
|
||||
|
||||
if config.get('session'):
|
||||
self._session = requests.Session()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user