Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] OpenBB Platform CLI #5302

Merged
merged 1,093 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1093 commits
Select commit Hold shift + click to select a range
82a209e
rename sdk_token to pat to follow hub convention
montezdesousa Aug 18, 2023
0d5a7bd
black
montezdesousa Aug 18, 2023
9bb6499
move OpenBBError class to error model
montezdesousa Aug 18, 2023
0bda5f3
add OBBject class docstring
montezdesousa Aug 18, 2023
ae65f5b
pylint
montezdesousa Aug 18, 2023
695f33f
add futures to app docstring
montezdesousa Aug 18, 2023
d912d62
Linting
IgorWounds Aug 16, 2023
fb8872e
Fix chart-related mypy errors. Co-Author: ’hjoaquim’
IgorWounds Aug 18, 2023
c38e390
Fix more mypy warnings
IgorWounds Aug 18, 2023
379ece5
Build static
IgorWounds Aug 18, 2023
e0776b4
MyPy improvements
IgorWounds Aug 18, 2023
07dd848
move get_branch request to logging_settings (#5348)
montezdesousa Aug 18, 2023
3006446
Merge branch 'develop' into feature/openbb-sdk-v4
the-praxs Aug 19, 2023
a7430a1
mac/linux install script python output suppressed
the-praxs Aug 20, 2023
45c9075
rename .settings to .user for consistency
montezdesousa Aug 20, 2023
90cc02b
update readme
montezdesousa Aug 20, 2023
ba4f30b
update readme
montezdesousa Aug 20, 2023
d74824d
Linting
IgorWounds Aug 21, 2023
6e73b12
Linting and improvements
IgorWounds Aug 21, 2023
9cfff6a
Merge, fix errors, and conflicts
IgorWounds Aug 21, 2023
7a2d3dc
Regenerate static files
IgorWounds Aug 21, 2023
9ea92c8
Snake_case, mypy, typing, improvements. | Co-Author: montezdesousa
IgorWounds Aug 21, 2023
d4e0094
Rebuild
IgorWounds Aug 21, 2023
122c584
Revert Fetcher
IgorWounds Aug 21, 2023
2d8d80b
better cpi
tehcoderer Aug 21, 2023
1f7a32a
Snake case
IgorWounds Aug 21, 2023
da7b1c8
fixes: major_indices_eod for intraday, optional company_overview atrs
tehcoderer Aug 21, 2023
b925b8b
Merge branch 'feature/snake_case' of https://github.com/OpenBB-financ…
tehcoderer Aug 21, 2023
0a521a0
Feature/remove unncessary stuff (#5346)
hjoaquim Aug 21, 2023
cc490e4
Merge branch 'feature/openbb-sdk-v4' into feature/snake_case
hjoaquim Aug 21, 2023
4f4c535
static assets
hjoaquim Aug 21, 2023
f22df27
ruff
hjoaquim Aug 21, 2023
0359f5e
Merge pull request #5307 from OpenBB-finance/feature/snake_case
IgorWounds Aug 21, 2023
cd2d7f2
Hotfix/squeeze import (#5358)
montezdesousa Aug 21, 2023
7045355
.user got lost in merge
montezdesousa Aug 21, 2023
25d54a3
improve __repr__ for sdk classes
montezdesousa Aug 22, 2023
379cb0b
changing posthog project key (#5362)
hjoaquim Aug 22, 2023
33107bb
Linting and improvements
IgorWounds Aug 22, 2023
8363a8a
Rebuild QA
IgorWounds Aug 22, 2023
aaad1af
fix py38 + metadata ref in docstrings
montezdesousa Aug 22, 2023
eece8ca
doc ident
montezdesousa Aug 22, 2023
a3b2a08
restore qa
montezdesousa Aug 22, 2023
9219bde
update readme: remove journal
montezdesousa Aug 22, 2023
b919249
doc detail
montezdesousa Aug 22, 2023
019ecbc
disable black in App docstring
montezdesousa Aug 22, 2023
695bb8b
update readme: command execution
montezdesousa Aug 22, 2023
b847a91
ruff
montezdesousa Aug 22, 2023
fa93242
remove run_in_isolation: cannot pickle nested classes
montezdesousa Aug 22, 2023
9e7a219
Merge branch 'feature/openbb-sdk-v4' into feature/argparse_translator
piiq Aug 22, 2023
9a8342a
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Dec 19, 2023
ebad4d1
remove outdated dir openbb_sdk
hjoaquim Dec 19, 2023
d3791a7
outdated workflow
hjoaquim Dec 19, 2023
dd848ab
update ruff
hjoaquim Dec 19, 2023
a31b686
dependency related changes
hjoaquim Dec 19, 2023
5b97d6d
using model validator instead
hjoaquim Dec 19, 2023
e9af011
adjustments to the system model
hjoaquim Dec 19, 2023
75be8cf
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Dec 22, 2023
514d05e
minor adjustments
hjoaquim Dec 22, 2023
3402e1e
revert all changes on stocks controller
hjoaquim Dec 22, 2023
a819dc5
working historical price
hjoaquim Dec 22, 2023
ea8bb94
Merge branch 'develop' into feature/argparse_translator
hjoaquim Jan 2, 2024
9463ee5
Merge branch 'feature/argparse_translator' of github.com:OpenBB-finan…
hjoaquim Jan 2, 2024
69e8eda
controller_builder file
hjoaquim Jan 2, 2024
02cb584
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Jan 15, 2024
d399456
process class recursivly
hjoaquim Jan 15, 2024
c514686
adding translators prop
hjoaquim Jan 15, 2024
eac067e
poc with platform as a menu and as command
hjoaquim Jan 15, 2024
5e8c9df
paths feature
hjoaquim Jan 15, 2024
5965caa
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Jan 16, 2024
0d8a9d3
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Jan 17, 2024
af69db2
adding subcontrollers
hjoaquim Jan 17, 2024
6e73783
Merge branch 'develop' into feature/argparse_translator
hjoaquim Jan 17, 2024
fbf6688
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Jan 19, 2024
c75df83
offline access
hjoaquim Feb 8, 2024
4e96299
menu text as obj variable
hjoaquim Feb 8, 2024
e90eb43
adjustments
hjoaquim Feb 13, 2024
6f14647
Merge branch 'develop' into feature/argparse_translator
hjoaquim Feb 14, 2024
c7aa6f3
move help to base class; print tables using rich table (for now); cle…
hjoaquim Feb 15, 2024
878b4ef
introducing the platform controller factory
hjoaquim Feb 19, 2024
45787cf
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Feb 19, 2024
869b7d8
remove unnecessary file
hjoaquim Feb 19, 2024
cfefead
revert changes to files
hjoaquim Feb 19, 2024
a9ef6ea
dinamically generate platform menus
hjoaquim Feb 19, 2024
3055d7c
generated platform commands
hjoaquim Feb 19, 2024
3415eb5
Merge branch 'develop' into feature/argparse_translator
hjoaquim Feb 20, 2024
293e7b2
Merge branch 'develop' into feature/argparse_translator
hjoaquim Feb 20, 2024
f9739b2
poetry lock
hjoaquim Feb 20, 2024
484801f
Merge branch 'feature/argparse_translator' of github.com:OpenBB-finan…
hjoaquim Feb 20, 2024
3a34d1f
fix for literals and choices
hjoaquim Feb 20, 2024
bfa459b
adjustments - recursive iteration only if it's a class
hjoaquim Feb 20, 2024
4a38c3a
router name should be lower() to match the class processor
hjoaquim Feb 20, 2024
55b1a29
Merge branch 'develop' into feature/argparse_translator
hjoaquim Feb 22, 2024
167e10d
deps
hjoaquim Feb 22, 2024
f56093c
better output
hjoaquim Feb 22, 2024
29b8df6
Merge branch 'feature/argparse_translator' of github.com:OpenBB-finan…
hjoaquim Feb 22, 2024
594218a
handling base models
hjoaquim Feb 22, 2024
98d7049
comment call_news
hjoaquim Feb 22, 2024
e98e19d
Feature/v4 deprecate everything (#6113)
hjoaquim Feb 23, 2024
95a4ee7
Merge branch 'develop' into feature/argparse_translator
hjoaquim Feb 23, 2024
09a2c33
deps trim
hjoaquim Feb 23, 2024
6d28921
using container as condition for recursion
hjoaquim Feb 23, 2024
cce933a
Merge branch 'develop' into feature/argparse_translator
hjoaquim Feb 26, 2024
baa9bcc
remove unnecessary dependencies
hjoaquim Feb 26, 2024
00ad16c
move dep to better section
hjoaquim Feb 26, 2024
3314b2b
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Feb 26, 2024
70d67fa
python versions
hjoaquim Feb 29, 2024
c56c096
poetry lock
hjoaquim Feb 29, 2024
bed1627
better custmo annotations
hjoaquim Mar 6, 2024
9d57b42
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Mar 6, 2024
f50ab9d
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Mar 7, 2024
5e825a5
handling properties
hjoaquim Mar 7, 2024
4d1e34f
handling edge cases: no func_doc and when signarute doesn't match typ…
hjoaquim Mar 7, 2024
eeb9cda
reverting treating models as props
hjoaquim Mar 11, 2024
9ccff74
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Mar 11, 2024
0aa5050
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Mar 14, 2024
4a10f39
provider groups
hjoaquim Mar 15, 2024
f0a86f0
comment debug stuff
hjoaquim Mar 15, 2024
1ac1557
Revert "comment debug stuff"
hjoaquim Mar 15, 2024
d26b444
comment debug stuff
hjoaquim Mar 15, 2024
48c4305
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Mar 18, 2024
c3ee9fa
little adjustment for annotated types
hjoaquim Mar 18, 2024
20e9a0f
injecting the reference to make the custom argument groups available
hjoaquim Mar 19, 2024
0f4e570
comments
hjoaquim Mar 19, 2024
fc0608c
custom model_dump to drop choices
hjoaquim Mar 19, 2024
066981f
deprecated
hjoaquim Mar 19, 2024
b65616e
remove update option
hjoaquim Mar 19, 2024
f344e64
remove update
hjoaquim Mar 19, 2024
c4b3c69
remove translations
hjoaquim Mar 19, 2024
c042a0d
remove account controller
hjoaquim Mar 19, 2024
4d5feb2
command descriptions
hjoaquim Mar 20, 2024
b6d3ea9
menu descriptions
hjoaquim Mar 20, 2024
529041e
removing interactive tables
hjoaquim Mar 20, 2024
fa2dcd5
limit the number of columns and rows
hjoaquim Mar 20, 2024
588d5c8
menu descriptions
hjoaquim Mar 20, 2024
0122559
show indexes
hjoaquim Mar 20, 2024
f2779c1
Merge branch 'develop' into feature/argparse_translator
hjoaquim Mar 20, 2024
de49575
More cleanups (#6245)
hjoaquim Mar 21, 2024
8084510
Merge branch 'develop' into feature/argparse_translator
hjoaquim Mar 21, 2024
3244b77
export options
hjoaquim Mar 21, 2024
93a3edf
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Mar 22, 2024
c0dc1eb
export functionality
hjoaquim Mar 22, 2024
dc13824
update rich
hjoaquim Mar 22, 2024
6f06767
Merge branch 'feature/argparse_translator' of github.com:OpenBB-finan…
hjoaquim Mar 22, 2024
09c7dbc
update example routine
hjoaquim Mar 22, 2024
c6d9d5b
fix issues with queue
hjoaquim Mar 22, 2024
8248bbd
temporary workaround for username
hjoaquim Mar 22, 2024
a9c58c3
deprecate main menu commands
hjoaquim Mar 22, 2024
5ebc82c
deprecate commands and remove unused stuff
hjoaquim Mar 22, 2024
016610e
deprecate commands and remove unused stuff
hjoaquim Mar 22, 2024
26d9763
deprecate commands and remove unused stuff
hjoaquim Mar 22, 2024
fe3d882
adjustments and cleanups
hjoaquim Mar 25, 2024
baf3bbd
routines syncing w hub
hjoaquim Mar 25, 2024
905102e
small adjustments to point to the right instance
hjoaquim Mar 25, 2024
581f0dd
whoami
hjoaquim Mar 25, 2024
72d7e39
custom terminal style
hjoaquim Mar 25, 2024
cb362d0
adjustments related to preferences
hjoaquim Mar 25, 2024
e9f7de6
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Mar 25, 2024
a85071a
deprecate stuff
hjoaquim Mar 25, 2024
57edc40
rename terminal style
hjoaquim Mar 25, 2024
7a8805e
deprecate more things
hjoaquim Mar 25, 2024
490c430
more deprecation
hjoaquim Mar 25, 2024
4b3d49d
more adjustments
hjoaquim Mar 25, 2024
d6fe944
current settings - deprecating preferences, user and system
hjoaquim Mar 25, 2024
7bcce22
terminal settings
hjoaquim Mar 26, 2024
efb29de
revmap custom terminal settings
hjoaquim Mar 26, 2024
4f05865
Merge branch 'develop' into feature/argparse_translator
hjoaquim Mar 27, 2024
dff8dad
Merge branch 'develop' into feature/argparse_translator
hjoaquim Mar 28, 2024
c9eb5d4
cli version
hjoaquim Mar 28, 2024
7d9bba6
ruff
hjoaquim Mar 28, 2024
38969b8
black
hjoaquim Mar 28, 2024
2c05de5
linting fixes
hjoaquim Mar 28, 2024
5f2feb3
happy mypy
hjoaquim Mar 28, 2024
79966dd
ruff
hjoaquim Mar 28, 2024
006eafd
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Mar 28, 2024
e4d985e
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 1, 2024
bc445f1
remove old terminal build files
hjoaquim Apr 2, 2024
ea8d215
remove devcontainer
hjoaquim Apr 2, 2024
8e4d168
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 2, 2024
fb79035
update dependencies
hjoaquim Apr 2, 2024
5ba4e74
trim commands and its descriptions
hjoaquim Apr 2, 2024
a299e07
better warnings
hjoaquim Apr 2, 2024
1c9817d
remove commands and menus str and show warnings if dev mode
hjoaquim Apr 2, 2024
a3edf93
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 4, 2024
0fad835
get command descriptions from the translators instead
hjoaquim Apr 4, 2024
8a8823e
Add username in brackets if logged in
hjoaquim Apr 4, 2024
397368f
Merge branch 'develop' into feature/argparse_translator
hjoaquim Apr 4, 2024
d25a581
fix buggy command descriptions
hjoaquim Apr 4, 2024
1128c83
Merge branch 'feature/argparse_translator' of github.com:OpenBB-finan…
hjoaquim Apr 4, 2024
7b52105
Merge branch 'develop' into feature/argparse_translator
hjoaquim Apr 5, 2024
1232e19
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 5, 2024
90ccd35
Merge branch 'feature/argparse_translator' of github.com:OpenBB-finan…
hjoaquim Apr 5, 2024
6c4a67d
[Feature] Bug fixing the Platform CLI (#6291)
hjoaquim Apr 5, 2024
b89418e
fix the way reference was being passed
hjoaquim Apr 8, 2024
805d0f2
fix choices parsing for providers
hjoaquim Apr 8, 2024
9ee0334
loosen to get instead
hjoaquim Apr 8, 2024
50092bb
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 17, 2024
b1a4bef
obbject registry class
hjoaquim Apr 18, 2024
c0b5817
obbject registry class
hjoaquim Apr 18, 2024
1432ab5
using the obbject registry to show available options
hjoaquim Apr 18, 2024
5b55559
link obbject results to data processing commands data argument
hjoaquim Apr 18, 2024
df4fdae
small improvements to correctly get the standard args
hjoaquim Apr 19, 2024
3ae8719
intersecting data processing commands and matching the obbject trough…
hjoaquim Apr 19, 2024
983deae
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 22, 2024
cd527a8
poetry lock
hjoaquim Apr 22, 2024
46444e7
use openbb field
hjoaquim Apr 22, 2024
7c742bf
safe json conversion and trimming
hjoaquim Apr 22, 2024
2c50a66
better at finding nargs when union
hjoaquim Apr 22, 2024
0c2a92e
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 22, 2024
f3b82d6
improved obbject registry using a stack
hjoaquim Apr 23, 2024
a71d37b
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 23, 2024
43e7ecc
data processing section
hjoaquim Apr 23, 2024
994de1f
Update argparse_translator/argparse_class_processor.py
hjoaquim Apr 23, 2024
65a2982
fix: remove unused function
montezdesousa Apr 23, 2024
0b5d85c
fix: terminal.py -> openbb_terminal/cli.py
montezdesousa Apr 23, 2024
8b77800
fix: move local model function to utils & delete module
montezdesousa Apr 23, 2024
990ea5d
fix: rename hub_model.py to hub_service.py
montezdesousa Apr 23, 2024
4851bb1
fix: delete paths_helper.py, not used
montezdesousa Apr 23, 2024
6823f18
fix: circular import console
montezdesousa Apr 23, 2024
60280aa
fix: move terminal_style.py from plots/ to config, delete plots/
montezdesousa Apr 23, 2024
69aa9cc
fix: delele base_helpers.py, function moved to env_handler.py
montezdesousa Apr 23, 2024
45d54cd
fix: move custom_prompt_toolkit.py to core/completer
montezdesousa Apr 23, 2024
35df0eb
fix: delete requirements.txt, we can export them later if needed
montezdesousa Apr 23, 2024
acabb7d
fix: move routines stuff to routines/
montezdesousa Apr 23, 2024
dcf8507
fix: move rich_config.py to core/config
montezdesousa Apr 23, 2024
f914f21
fix: rename parent_classes.py to base_controller.py
montezdesousa Apr 23, 2024
07d397b
Danger: create controllers/ and move stuff
montezdesousa Apr 23, 2024
2c3f319
fix: move custom_prompt_toolkit.py to config and delete completer/
montezdesousa Apr 23, 2024
0a99af9
fix: rename custom_prompt_toolkit.py to completer.py
montezdesousa Apr 23, 2024
8b92a60
fix: move rouines stuff to folder
montezdesousa Apr 23, 2024
ef88578
^ oops
montezdesousa Apr 23, 2024
66f7a02
Merge branch 'develop' into feature/argparse_translator
hjoaquim Apr 23, 2024
3d833fa
Edits
IgorWounds Apr 24, 2024
e2bab91
Merge branch 'develop' into feature/argparse_translator
IgorWounds Apr 24, 2024
94b44ac
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/ar…
hjoaquim Apr 24, 2024
6f19651
Merge branch 'feature/argparse_translator' of github.com:OpenBB-finan…
hjoaquim Apr 24, 2024
2beae54
fix: settings import
montezdesousa Apr 24, 2024
01a6407
fix: openbb command
montezdesousa Apr 24, 2024
17ad906
Fix routine record when local user
IgorWounds Apr 24, 2024
8577410
Lint
IgorWounds Apr 24, 2024
6401766
Merge branch 'develop' into feature/argparse_translator
hjoaquim Apr 24, 2024
1b03fbe
Merge branch 'develop' into feature/argparse_translator
hjoaquim Apr 24, 2024
c24e59b
Remove quickexit
IgorWounds Apr 24, 2024
fbbc74d
Merge branch 'develop' into feature/argparse_translator
IgorWounds Apr 25, 2024
32abe67
Fix timezone change
IgorWounds Apr 25, 2024
9d7c631
fix data processing commands: not allowing multiple items + need to a…
hjoaquim Apr 26, 2024
d222bc2
Merge branch 'develop' into feature/argparse_translator
IgorWounds Apr 26, 2024
340a6f1
split comma separated strings into a list so that the cli can consume…
hjoaquim Apr 26, 2024
f029a07
Merge branch 'feature/argparse_translator' of github.com:OpenBB-finan…
hjoaquim Apr 26, 2024
2280528
Feature/move terminal files (#6344)
montezdesousa Apr 29, 2024
fee9ed2
Merge branch 'develop' into feature/argparse_translator
hjoaquim Apr 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
79 changes: 0 additions & 79 deletions .devcontainer/Dockerfile

This file was deleted.

33 changes: 0 additions & 33 deletions .devcontainer/devcontainer.json

This file was deleted.

11 changes: 0 additions & 11 deletions .devcontainer/docker-compose.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pull Request the OpenBBTerminal
# Pull Request the OpenBB Platform CLI

## Description

Expand All @@ -14,8 +14,8 @@
- Please provide instructions so we can reproduce.
- Please also list any relevant details for your test configuration.

- [ ] Ensure the affected commands still execute in the OpenBB Terminal.
- [ ] Ensure the Platform (previously named SDK) is working as intended.
- [ ] Ensure the affected commands still execute in the OpenBB Platform CLI.
- [ ] Ensure the Platform is working as intended.
- [ ] Check any related reports.

## Checklist
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
Please go the the `Preview` tab and select the appropriate PR sub-template:

* [OpenBB Platform](?expand=1&template=platform_pull_request_template.md)
* [OpenBB Terminal](?expand=1&template=terminal_pull_request_template.md)
* [OpenBB Platform CLI](?expand=1&template=terminal_pull_request_template.md)
* [OpenBB Developers](?expand=1&template=obb_developer_pull_request_template.md)
10 changes: 5 additions & 5 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ The first job, `code-linting`, runs on an Ubuntu machine and performs several li
The second job, `markdown-link-check`, runs on an Ubuntu machine and performs linting of the markdown files in the repository. It uses a Docker container `avtodev/markdown-lint` to perform the linting.

## MacOS Build Workflow
This GitHub Actions workflow is used to build a version of the OpenBB Terminal for M1 MacOS. The build process includes installing necessary dependencies, building the terminal application using PyInstaller, creating a DMG file for distribution, and running integration tests on the built application.
This GitHub Actions workflow is used to build a version of the OpenBB Platform CLI for M1 MacOS. The build process includes installing necessary dependencies, building the terminal application using PyInstaller, creating a DMG file for distribution, and running integration tests on the built application.

Jobs
----
Expand Down Expand Up @@ -161,13 +161,13 @@ The job includes the following steps:
This workflow also uses a concurrency setting that groups the jobs by the workflow and ref, and cancels any in-progress jobs.

## Nightly PyPI Publish Workflow
This workflow is used to publish the latest version of the OpenBB Terminal to PyPI. The workflow is triggered at UTC+0 daily by the GitHub Action schedule event.
This workflow is used to publish the latest version of the OpenBB Platform CLI to PyPI. The workflow is triggered at UTC+0 daily by the GitHub Action schedule event.

It does this by first updating the `pyproject.toml` file with a pre-determined version string of the form `<currentVersion>.dev<date>`, where `<date>` represents the current day's date as a 8 digit number.

Then, the code installs `pypa/build` and uses `python -m build` to create a binary wheel and a source tarball in the `dist/` directory.

Finally, it uses the PyPA specific action `gh-action-pypi-publish` to publish the created files to PyPI.
Finally, it uses the PyPA specific action `gh-action-pypi-publish` to publish the created files to PyPI.

## PYPI publish Workflow
The Github Action code `Deploy to PyPI` is used to deploy a Python project to PyPI (Python Package Index) and TestPyPI, which is a separate package index for testing purposes. The code is triggered on two events:
Expand All @@ -187,7 +187,7 @@ Similarly, the `deploy-pypi` job is triggered only if the pushed branch starts w
Note: The code uses the `pypa/build` package for building the binary wheel and source tarball, and the `pypa/gh-action-pypi-publish@release/v1` Github Action for publishing the distributions to PyPI and TestPyPI.

## Unit Tests Workflow
This workflow is used to run unit tests on the OpenBB Terminal. The workflow is triggered on the following events:
This workflow is used to run unit tests on the OpenBB Platform CLI. The workflow is triggered on the following events:
The events this workflow will respond to are:

1. Pull requests that are opened, synchronized, edited, or closed. The pull request must be made to the `develop` or `main` branches.
Expand All @@ -207,7 +207,7 @@ The next job, `full-test`, uses the GitHub Actions `checkout` action to checkout
The last job, `tests-conda`, sets up a Miniconda environment using the `setup-miniconda` action. The environment is specified using a YAML file and is activated. Then, the tests are run.

## Windows 10 Build Workflow
This is a GitHub Actions workflow file that automates the build and testing process for the OpenBB Terminal on Windows 10. The workflow consists of two jobs:
This is a GitHub Actions workflow file that automates the build and testing process for the OpenBB Platform CLI on Windows 10. The workflow consists of two jobs:

1. Windows-Build
2. Build-Exe
Expand Down
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ from openbb_terminal.helpers import request

logger = logging.getLogger(__name__)

@log_start_end(log=logger)

@check_api_key(["API_KEY_FINANCIALMODELINGPREP"])
def get_price_targets(cls, symbol: str) -> pd.DataFrame:
"""Get price targets for a company [Source: Financial Modeling Prep]
Expand Down Expand Up @@ -178,7 +178,7 @@ In the example below, you can see that we explicitly handle some of them.
It's not always possible to distinguish error types using `status_code`. So depending on the API provider, you can use either error messages or exceptions.

```python
@log_start_end(log=logger)

@check_api_key(["API_NEWS_TOKEN"])
def get_news(
query: str,
Expand Down Expand Up @@ -240,7 +240,7 @@ should be included in the file `OpenBBTerminal/website/content/terminal/usage/da
7. Finally, call `export_data` where the variables are export variable, current filename, command name, and dataframe.

```python
@log_start_end(log=logger)

@check_api_key(["API_KEY_FINANCIALMODELINGPREP"])
def display_price_targets(
symbol: str, limit: int = 10, export: str = "", sheet_name: Optional[str] = None
Expand Down Expand Up @@ -350,7 +350,7 @@ Same with limit, we can pass limit=10 to add the `-l` flag with default=10. Her
Our new function will be:

```python
@log_start_end(log=logger)

def call_pt(self, other_args: List[str]):
"""Process pt command"""
parser = argparse.ArgumentParser(
Expand Down Expand Up @@ -437,7 +437,7 @@ Now from the terminal, this function can be run as desired:
When adding a new menu, the code looks like this:

```python
@log_start_end(log=logger)

def call_fa(self, _):
"""Process fa command"""
from openbb_terminal.stocks.fundamental_analysis.fa_controller import (
Expand Down Expand Up @@ -1580,11 +1580,11 @@ You can also use the decorator `@log_start_end` to automatically record a messag
```python
import logging

from openbb_terminal.decorators import log_start_end


logger = logging.getLogger(__name__)

@log_start_end(log=logger)

def your_function() -> pd.DataFrame:
pass
```
Expand Down
File renamed without changes.