Local Development with Notifications
-
I successfully installed a things required for local development without a hitch. All seems well and things run except I get the following notifications:
NOTICE: The environment variable DATA_BASE_URL was not specified. The default value is 'https://data-api.quantiacs.io/'
NOTICE: The environment variable CACHE_RETENTION was not specified. The default value is '7'
NOTICE: The environment variable CACHE_DIR was not specified. The default value is 'data-cache'Is there a way to get rid of all this? Maybe I am missing something. Please advise.
-
It's safe to ignore these notices but if they bother you, you can set the variables together with your API key using the defaults and the messages go away:
import os os.environ['API_KEY'] = 'YOUR-API-KEY' os.environ['DATA_BASE_URL'] = 'https://data-api.quantiacs.io/' os.environ['CACHE_RETENTION'] = '7' os.environ['CACHE_DIR'] = 'data-cache'
-
This post is deleted! -
This post is deleted!