mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-01 23:12:21 +00:00
* Began the fax * Bumped ruff * Fixed a BUNCH of ruff errors * Fixed a lot of ruff errors * Simplify if statements * Fixed black * Updated some stuff * Updated some stuff * A lot more ruff fixes * Added a fix * Added a fix * Fixed mypy * Fixed some stuff * Reverted one thing * Small fix * Small fix * Small fix * Added fix * Added fix * Update requirements
25 lines
435 B
Python
25 lines
435 B
Python
__show_prompt = False
|
|
|
|
|
|
def get_show_prompt():
|
|
"""Get the show_prompt flag.
|
|
|
|
Returns
|
|
-------
|
|
bool
|
|
The show_prompt flag.
|
|
"""
|
|
return __show_prompt
|
|
|
|
|
|
def set_show_prompt(value: bool):
|
|
"""Set the show_prompt flag.
|
|
|
|
Parameters
|
|
----------
|
|
value : bool
|
|
The show_prompt flag.
|
|
"""
|
|
global __show_prompt # pylint: disable=global-statement # noqa: PLW0603
|
|
__show_prompt = value
|