Commit Graph

12 Commits

Author SHA1 Message Date
Danglewood
8b9f461dca [Enhancement] Convert Params Models To Dictionary Before Assigning As Private Attribute In OBBject. (#6492)
* convert params models to dict

* update cli test

* fix test_static_command_runner_chart

* mock_obbject results

* minor linting adjustments

* review changes

* charting test mock obbject

---------

Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>
2024-06-13 08:12:55 +00:00
Henrique Joaquim
413cce8302 remove remember contexts setting (#6496) 2024-06-12 10:56:03 +00:00
montezdesousa
174f2893dc [Feature] Generate settings menu from pydantic model (#6489)
* Generate settings menu from pydantic model

* fix tests

* fix test

* undo changes

---------

Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>
2024-06-12 09:22:29 +00:00
montezdesousa
a52b24c16b [BugFix] - Fix pylint possibly-used-before-assignment (#6484)
* fix: comply w/ possibly used before assignment

* remove disabe from .pylintrc

* remove reset test

* remove reset test

* fix: update missing keys message
2024-06-05 15:40:24 +00:00
montezdesousa
784cecbe5f [BugFix] Pre release fixes (#6478)
* fix: tests

* fix: rebuild

* fix: hub test
2024-06-04 13:16:07 +00:00
Henrique Joaquim
f860c6d797 [Feature] Optional choices (#6463)
* using the custom argument to leverage validation

* restructure

* better handling of variables and props

* optional choices

* utilities module

* proper handling of optional choices attr

* setattr

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-06-04 07:57:36 +00:00
Henrique Joaquim
8a63c2df3e [Bugfix] Remove svg export (#6476)
* lint

* fix version

* add url functionality to the charting extension

* small adjustments and removing unused function

* remove svg

* remove unused function

* better messages

* version can't be asserted bc will change
2024-06-03 13:28:57 +00:00
Henrique Joaquim
f91791dbf9 [BugFix] Revamp the usage of list syntax on routines (#6450)
* using list syntax on routines

* black

* ruff

* simplify

* black
2024-05-22 11:46:19 +00:00
Henrique Joaquim
7efe96c4d5 [Feature] Small CLI docs style improvements (#6429)
* use platform cli everywhere

* cli w same color as platform

* same colors as platform

* fix tests
2024-05-17 12:50:08 +00:00
montezdesousa
4c4f57fa78 [BugFix] - dev_install.py updates (#6424)
* fix: use tomlkit instead of toml & add --cli

* fix: remove cli option, poetry groups ignored by pip

* fix: redirect unittest patch

* adding --cli to the dev install

---------

Co-authored-by: hjoaquim <henriquecjoaquim@gmail.com>
2024-05-16 17:14:30 +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
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