montezdesousa
9dbc7b97b5
Fix buggy docstring in python package methods ( #5548 )
...
* fix buggy docstring for methods
* remove space
* fix typing
* avoid name collision with validator
* Revert "avoid name collision with validator"
This reverts commit 8a30a44555 .
* typing
* rebuild
* python 3.8, ParamSpec not available
* lint
* ruff noqa
2023-10-12 14:49:08 +01:00
Theodore Aptekarev
e7942e6310
Update dependencies and linting on the CI ( #5550 )
...
* Remove ruff and black from platform dependencies
* Update codespell configuration
* Lint python code
* Add toml and tomli to root dev dependencies
* Update requirements.txt files
2023-10-12 15:42:30 +02:00
Pratyush Shukla
73171d701c
Standard convention for multi-ticker symbols ( #5549 )
...
* standardize symbol input param in forex and crypto historical data
* static
* linting
2023-10-12 18:24:13 +05:30
Pratyush Shukla
7298d7689c
Small QA to rename SDK to Platform ( #5544 )
...
* SDK -> Platform in docs
* renamed in core
* renamed in openbb `init`
* `sdk` variable renamed as `platform`
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
2023-10-12 09:37:25 +01:00
Igor Radovanovic
6a640434e8
Lint
2023-10-11 23:34:25 +02:00
Danglewood
27956ccc4e
Merge branch 'feature/add-v4-standard-models' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/add-v4-standard-models
2023-10-11 10:43:07 -07:00
Danglewood
f11a9d4801
Merge branch 'feature/openbb-sdk-v4' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/add-v4-standard-models
2023-10-11 10:41:58 -07:00
Theodore Aptekarev
58717ece01
Another attempt to resolve even more linting errors
2023-10-11 19:18:41 +02:00
Diogo Sousa
1d3a6e997d
pydantic v2: self.dict -> self.model_dump
2023-10-11 14:36:25 +01:00
Danglewood
77a4a5b6d4
Merge branch 'feature/openbb-sdk-v4' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/add-v4-standard-models
2023-10-10 18:43:47 -07:00
hjoaquim
a775242ee6
chaging pro validation hash
2023-10-10 13:18:54 +01:00
Danglewood
aeb0e0a28a
merge branch feature/openbb-sdk-v4
2023-10-09 17:02:29 -07:00
hjoaquim
24ce3e9bb8
making linters happy (i guess)
2023-10-09 12:25:54 +01:00
Theodore Aptekarev
ee4decd217
Update some docstrings, fix typos and lint
2023-10-09 11:50:25 +02:00
hjoaquim
2f89ee09f7
solving naming issues on pytest
2023-10-09 10:42:21 +01:00
hjoaquim
6835838007
ruff
2023-10-08 11:42:06 +01:00
hjoaquim
baf3bd3c67
tests for command_runner
2023-10-08 11:33:36 +01:00
Diogo Sousa
66f9ffd845
update docstrings and readme
2023-10-06 18:24:33 +01:00
Diogo Sousa
59fcce4466
forgot to check auth here
2023-10-06 18:22:38 +01:00
Diogo Sousa
65ecfd75aa
update docker readme
2023-10-06 18:19:20 +01:00
Diogo Sousa
bbe40da843
coverage router should not be here
2023-10-06 18:12:27 +01:00
Diogo Sousa
47821e22de
some routers included if dev + chg hub backend var
2023-10-06 18:09:54 +01:00
Diogo Sousa
b03e06d3a5
include Darren auth suggestions
2023-10-06 17:50:58 +01:00
James Maslek
4e587b263b
Relock
2023-10-05 15:55:14 -04:00
montezdesousa
a7c4574919
Feature/basic auth ( #5525 )
...
* disable auth by default
* add startup banner
* banner
* create user_auth extension
* add back pymongo for user db
* lint
* add back hub option
* update toml
* remove form
* split auth_hook code
* pydantic v2
* allow db connection
* remove print
* move deps
* remove pymongo from core userservice
* reorg folders
* move props
* fix import
* create inits
* ruff
* rename user service
* rename userservice
* remove unused properties
* rename get_user_service
* ruff
* bad import
* bad import again
* fix userauth service
* now yes
* userdbservice needs to be unique
* move repository code to extension
* move remaining users code to extension
* lint
* pydantic v2
* rename default methods
* rename update to merge
* set merge_dict to private
* user_service: remove singleton
* set user_service as parent class
* fix typing
* add back default settings method used for tests
* + property
* add setter for default user settings
* revert previous: need lunch
* move back some code and start basic auth
* add auth hook
* load ext
* remove userauth ext
* remove from toml
* lint
* set ext name as param
* remove unused env var
* adding admin/pass
* add user/pass and return user_settings
* remove empty file
* improve type hints
* revert some func name changes
* 1 more
* black
* docs
* rename service
* fix tests
* rename env vars
* disable auth by default
* update ext loading
* remove unused pref
* update readme
* update readme + remove default user/pass
* separate user from authentication + lock some rout
* lint
* fix circular import
* fix tests
* readme
* remove comment
* Update README.md
* remove unused repository code
* fix auth env flag
* creds
* update readme
* only disables command auth
* remove link
* pydantic v2
* move app loader
* docstring
2023-10-05 16:25:32 +01:00
hjoaquim
798b049637
fix charting_service tests
2023-10-03 18:37:42 +01:00
Henrique Joaquim
f0278890d7
try except ftw ( #5512 )
2023-10-03 15:59:26 +01:00
Henrique Joaquim
82e8806e55
Hotfix/data processing int tests ( #5499 )
...
* improve/fix the generator
* fix ta/cones
* adding new test for economy menu
* test for ta
* newly generated qa file
* fixing breaking changes introduced by pydantic v2
* fixing charting
* one more little fix to charts
* fix qa/capm
* tmp fix on om
* qa stocks
* ruff n black
* remove non float columns
* mini fix so the corr result is serializable
* econometrics tests
* simplifying a bit and making ruff happy
* docstring
* docstring
2023-10-02 16:19:06 +01:00
Henrique Joaquim
a8e6d646fc
Hotfix/colab logs ( #5480 )
...
* forcing logging.basicConfig() so that it overrides default calls (on notebooks)
* chaging terminal_version to platform_version instead
2023-10-02 14:50:32 +01:00
Henrique Joaquim
d2471a9c4f
Hotfix/int tests python fixture ( #5504 )
...
* fix command runner tests that were generating logs
* use the import behind a fixture
* updating the generator
2023-10-02 14:43:27 +01:00
Igor Radovanovic
16e94db6d1
Add toml to dev deps, fix to_df() edge case
2023-09-30 16:58:28 +02:00
Henrique Joaquim
45a1241849
Feature/charting service unit tests ( #5477 )
...
* test_check_and_get_charting_extension_name
* test_check_charting_extension_installed
* using fixtures
* test_get_extension_router
* ruff
* test_handle_back_end
* test_get_chart_format
* test_get_chart_function
* test_get_implemented_charting_functions
* test_to_chart
* test_to_chart
* test_chart
* ruff and mypy
2023-09-30 10:29:27 +01:00
Theodore Aptekarev
009699928f
Rebrand sdk to platform in code ( #5496 )
...
* Relink sdk/sdk -> platform/platform
* Relink sdk -> platform
* Rename folders
* Fix dev_install script
* Fix test generators
* Fix test generators
* Fix test generators
* Organize imports
2023-09-29 10:31:45 +02:00