Files
OpenBB/openbb_terminal/account/show_prompt.py
Colin Delahunty 1ca7fd9beb Improves the settings/userdata command, and upgrade ruff (#5359)
* 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
2023-08-22 20:11:48 +00:00

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