From f69bd5b449659be0364ce7acd443c3dc63836639 Mon Sep 17 00:00:00 2001 From: "didierlopes.eth" Date: Wed, 9 Mar 2022 01:14:56 +0000 Subject: [PATCH] sentiment investor key is unused, only token is used (#1453) --- custom_pre_commit/check_config_terminal.py | 4 +++- docker/setenv | 1 - jupyterlab/gst-settings/schema/settings.json | 9 --------- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/custom_pre_commit/check_config_terminal.py b/custom_pre_commit/check_config_terminal.py index 08558db397c..741058fcde7 100755 --- a/custom_pre_commit/check_config_terminal.py +++ b/custom_pre_commit/check_config_terminal.py @@ -5,6 +5,8 @@ import sys import os from typing import List +# pylint: disable=W0105 + """ Disables this for a better solution. Here is the code to add in custom pre-commit items - repo: local @@ -56,7 +58,7 @@ settings = { "API_BINANCE_SECRET": 'API_BINANCE_SECRET = os.getenv("GT_API_BINANCE_SECRET") or "REPLACE_ME"', "API_FINNHUB_KEY": 'API_FINNHUB_KEY = os.getenv("GT_API_FINNHUB_KEY") or "REPLACE_ME"', "API_IEX_TOKEN": 'API_IEX_TOKEN = os.getenv("GT_API_IEX_KEY") or "REPLACE_ME"', - "API_SENTIMENTINVESTOR_KEY": 'API_SENTIMENTINVESTOR_KEY = os.getenv("GT_API_SENTIMENTINVESTOR_KEY") or "REPLACE_ME"', + "API_SENTIMENTINVESTOR_TOKEN": 'API_SENTIMENTINVESTOR_TOKEN = os.getenv("GT_API_SENTIMENTINVESTOR_TOKEN") or "REPLACE_ME"', # noqa "API_COINBASE_KEY": 'API_COINBASE_KEY = os.getenv("GT_API_COINBASE_KEY") or "REPLACE_ME"', "API_COINBASE_SECRET": 'API_COINBASE_SECRET = os.getenv("GT_API_COINBASE_SECRET") or "REPLACE_ME"', "API_COINBASE_PASS_PHRASE": 'API_COINBASE_PASS_PHRASE = os.getenv("GT_API_COINBASE_PASS_PHRASE") or "REPLACE_ME"', diff --git a/docker/setenv b/docker/setenv index 954cfb7d682..341c493ee8c 100644 --- a/docker/setenv +++ b/docker/setenv @@ -20,7 +20,6 @@ GT_API_BINANCE_KEY= GT_API_BINANCE_SECRET= GT_API_FINNHUB_KEY= GT_API_IEX_KEY= -GT_API_SENTIMENTINVESTOR_KEY= GT_API_SENTIMENTINVESTOR_TOKEN= GT_API_COINBASE_KEY= GT_API_COINBASE_SECRET= diff --git a/jupyterlab/gst-settings/schema/settings.json b/jupyterlab/gst-settings/schema/settings.json index 70bb21dba7b..b3324144628 100644 --- a/jupyterlab/gst-settings/schema/settings.json +++ b/jupyterlab/gst-settings/schema/settings.json @@ -404,15 +404,6 @@ "default": "REPLACE_ME", "value": "" }, - "GT_API_SENTIMENTINVESTOR_KEY": - { - "type": "string", - "form": "password", - "title": "Sentimentinvestor key", - "description": "https://www.sentimentinvestor.com", - "default": "REPLACE_ME", - "value": "" - }, "GT_API_SENTIMENTINVESTOR_TOKEN": { "type": "string",