OpenBBTerminal icon indicating copy to clipboard operation
OpenBBTerminal copied to clipboard

[Bug] Prompt request prevents installing openbb SDK for CI

Open AzulGarza opened this issue 10 months ago • 2 comments

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:

image

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

AzulGarza avatar Aug 07 '23 05:08 AzulGarza