OpenBBTerminal
OpenBBTerminal 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