mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 10:42:58 +00:00
Feature/macro convert (#3924)
* Fix plot look when using eval and add query to choices (#3881) * convert index to datetime and update choices * uncomment economy integration test * fix treasury concat bug * fix datasets concat on duplciates * Issue #3882 Fixed * 2 files reformatted by black * tests added * Lock ruff version so that new lints dont break our CI (#3905) * Lock ruff version so that new lints dont break our CI * Bumped pre-commit ruff version * fixed mypy errors * Fixed parser options for currency conversion Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com> Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
@@ -544,7 +544,7 @@ class EconomyController(BaseController):
|
||||
dest="currency",
|
||||
help="Convert the currency of the chosen country to a specified currency. To find the "
|
||||
"currency symbols use '--show countries'",
|
||||
choices=econdb_model.COUNTRY_CURRENCIES,
|
||||
choices=econdb_model.COUNTRY_CURRENCIES.values(),
|
||||
default=False,
|
||||
)
|
||||
if other_args and "-" not in other_args[0][0]:
|
||||
|
||||
Reference in New Issue
Block a user