Commit Graph

12 Commits

Author SHA1 Message Date
Danglewood
9f0d592839 [Feature] Remove Python 3.9 (#7235)
* remove python 3.9 support and code

* black

* more cli lint

* more linting

* more lint

* fix for tests

* docstring grammar police

* add lock to to build function to avoid async import race conditions

* grammar police

* lots more linting

* relock
2025-10-10 23:16:16 +00:00
Danglewood
f19ad5d79b [Release] Release/openbb-core-1.5.0 (#7214)
* update most lock files

* update all lock files

* missing docstring in public module

* exclude coverage routes from mcp server
2025-09-18 19:45:28 +00:00
Henrique Joaquim
82fa129388 [Bugfix] Uncover cmd len warn (#6536)
* show warnings

* better error msg

* mypy ignore

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-07-09 14:00:29 +00:00
Igor Radovanovic
a116d9bbf2 [Feature] - OpenBB Platform CLI Unit tests (#6397)
* Unit test batch 1

* CLI controller

* Test batch 3

* Test batch 4

* Test batch 5

* clean some workflows and setup actions

* test

* rename wfs

* rename

* update action

* Skip

* fix cli tests

---------

Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2024-05-14 15:38:06 +00:00
Henrique Joaquim
c2f5f7a3e6 [Feature] Styling adjustments (#6408)
* styling adjustments

* auto completion for main menu commands; cached results style

* move platform settings above

* don't check if obbject.results - we want to have the error message if smt goes wrong with the to_df()

* register only if there are results

* minor style change

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2024-05-14 13:35:17 +00:00
Henrique Joaquim
6f9d46d5f9 remove hold command and its references (#6399)
* remove hold command and its references

* remove --local flag as we don't use it anymore @IgorWounds

* reset package folder

* reset reference

* unnecessary line break removed
2024-05-13 09:21:41 +00:00
Henrique Joaquim
ac745adb05 [Feature] Remove i18n (#6390)
* remove i18n

* poetry lock

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2024-05-10 22:07:43 +00:00
Henrique Joaquim
13a62486de [Feature] Misc improvements on the Platform CLI (#6370)
* section description

* remove comment

* show msg only if it's an OBBject

* ommit coverage from menus

* styling: no new lines after settings

* Bugfix/cli max rows (#6374)

* fix: cli max rows

* fix: settings menu

---------

Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>

* add a new line only to separate menus and commands

* if there's no menu description on reference.json, use the commands of that menu to create a pseudo description

* use the PATH instead in the top of the menu help

* default name len to 23

* keep command on the obbject so it can be shown on the results

* left spacing regardless description

* display cached results on every platform menu's help

* display info instead of sections and display cached results

* prepend OBB to use on the --data

* config to set number of cached results to display

* correct hub link

* Save routines locally if not logged in.

* Change the exit message

* Point to new docs on first launch.

* proper checking of max_obbjects_exceeded

* fix global flag on local routines

* Remove language from settings as it is not supported.

* Remove rcontext flag

* export to account multiple formats

* Revert "Remove rcontext flag"

This reverts commit 8a1f64b71c.

* Remove

* leftover

* properly match provider being used with provider arguments so that kwargs are correctly filtered

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-05-10 13:39:28 +00:00
montezdesousa
cd4e36e7fe [BugFix] - Remove multiple .envs (#6363)
* Remove .envs

* Clean menu_text.py

* Remove TODO
2024-05-03 10:32:10 +00:00
Igor Radovanovic
18115e4e91 [Enhancement] - Sanitize sensitive data from .cli.his (#6361)
* Sanitize sensitive data from .cli.his

* fix long command providers

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-05-02 11:21:48 +00:00
montezdesousa
a0d580ab25 [Feature] - Display command providers (#6355)
* fix: avoid calling Session() multiple times

* rename session refs

* fix: cmd text

* fix: avoid Session()

* fix: add providers by cmd

* fix: timezones

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-05-01 21:17:02 +00:00
montezdesousa
cc15a770da [Feature] - Rename terminal folder (#6349)
* rename terminal folder

* docstring

* Rename to openbb_cli

* rename constant

* rename .his file

* pyproject.toml

* Update pre-commit and remove docker-build.yml
2024-04-30 12:42:31 +00:00