mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-06 17:31:53 +00:00
16 lines
283 B
Python
16 lines
283 B
Python
from openbb_terminal.rich_config import console
|
|
|
|
BASE_URL = "http://127.0.0.1:8000/"
|
|
|
|
|
|
class Success:
|
|
def __init__(self, msg=""):
|
|
self.msg = msg
|
|
console.print(msg)
|
|
|
|
|
|
class Failure:
|
|
def __init__(self, msg=""):
|
|
self.msg = msg
|
|
console.print(msg)
|