OpenBB
OpenBB copied to clipboard
[Bug] Prompt request prevents installing openbb SDK for CI
Describe the bug
I'm trying to use openbb SDK as a dependency in our library and use it inside our continuous integration. But during CI, importing openbb requests a prompt that prevents the CI to conclude:
The workaround right now is capturing the stdin of openbb using the following:
import sys
import io
backup = sys.stdin
sys.stdin = io.StringIO('Default input')
from openbb_terminal.sdk import openbb
sys.stdin = backup
To Reproduce Here's the link to the CI error.
Desktop (please complete the following information):
- OS: Ubuntu
- Python version 3.9,3.10
Any chance that if you run with the env var: OPENBB_PLOT_ENABLE_PYWRY set to false that it runs?
The keyboard intervention should not be required anymore: https://github.com/OpenBB-finance/OpenBBTerminal/pull/5261
This is on Nightly, but not main.