Commit Graph

6592 Commits

Author SHA1 Message Date
montezdesousa
55e507366c add flag to disable api auth (#5399) 2023-09-02 12:00:19 +01:00
montezdesousa
1468084a00 readme typo 2023-09-01 22:56:35 +01:00
montezdesousa
b6a225420f move .env to openbb_core root directory 2023-09-01 22:51:48 +01:00
montezdesousa
f5bd14c03c Auto build sdk (#5397)
* save map of installed extensions

* allow silencing build prints

* use console class instead

* uncomment

* remove menus with empty commands

* detect changes

* build

* change warning

* rename variable

* uncomment

* remove unused variable

* check and build

* rename params

* change func name

* Update stocks.py

* Update crypto.py

* Update economy.py

* Update forex.py

* cwd

* fix test

* remove cwd

* rename var

* linters debug mode

* move code to core

* change description

* add option to avoid auto build

* unittests

* minor fix

* update readme

* readme

* Update README.md

* Update README.md

* Update package_builder.py

* ruff

* fix test
2023-09-01 20:48:09 +01:00
tehcoderer
267936cd50 fix _has_provider always False in fastapi 2023-09-01 13:03:34 -04:00
tehcoderer
6e214cca88 fix missing query_str in intraday url 2023-09-01 10:52:20 -04:00
montezdesousa
dc6bbc0c95 remove typo, include load in schema 2023-09-01 12:14:20 +01:00
montezdesousa
d8ff897509 sort module map to avoid randomness in build 2023-08-31 13:05:27 +01:00
montezdesousa
4abc910fb1 update charting plugin name 2023-08-31 12:55:24 +01:00
Igor Radovanovic
bc28dff7cc Linting 2023-08-31 12:14:41 +02:00
Igor Radovanovic
e1d971c754 Rebuild static assets 2023-08-31 11:42:56 +02:00
Igor Radovanovic
022a203ee6 Remove empty commands 2023-08-31 11:42:03 +02:00
montezdesousa
328b67b1db revert data alias generator 2023-08-30 19:07:04 +01:00
montezdesousa
52063550d7 change dunder var names to single underscore 2023-08-30 17:35:03 +01:00
montezdesousa
60f3f855c0 data alias generator 2023-08-30 13:22:57 +01:00
montezdesousa
f89a4d7ad9 relative imports package_builder 2023-08-30 13:22:39 +01:00
hjoaquim
104af3a27d fix target column bug w @IgorWounds 2023-08-29 12:51:58 +01:00
hjoaquim
c93d77d7f0 making ruff a little happier 2023-08-29 12:12:24 +01:00
hjoaquim
514a243e60 fix qa/ta - mandatory provider_choices was breaking functions that don't really require it w @IgorWounds 2023-08-29 12:05:45 +01:00
Pratyush Shukla
a97c50e921 f-string in repr 2023-08-29 16:23:16 +05:30
Igor Radovanovic
9bc4924320 Fix futures curve 2023-08-29 12:20:54 +02:00
Igor Radovanovic
db859bdf4d Improve snake_case generation 2023-08-29 11:36:06 +02:00
hjoaquim
1e19e45340 unbreaking changes 2023-08-28 15:21:52 +01:00
Henrique Joaquim
172cc2f879 Core tests (#5375)
* makeing the function easier - @montezdesousa pls review this commit

* improve update_provider_choices readbility

* unncessary classmethod

* command runner tests

* fixing wrong attribution

* some tests for the charting manager
2023-08-28 09:42:22 +01:00
montezdesousa
7a2220a297 fix autocomplete (#5383) 2023-08-27 14:47:44 +01:00
Diogo Sousa
348977a36c pylint 2023-08-25 11:44:07 +01:00
Diogo Sousa
1a3671cf97 ruff 2023-08-25 11:41:35 +01:00
montezdesousa
fa4ced7a0d Feature/move package (#5374)
* move package to openbb_sdk

* avoid test writing files

* black

* revert toml changes, will do it in another PR

* run build in a separate process

* change error msg

* rename func

* change msg

* rename func + msg

* change param name

* update readme

* lazy load some deps

* Update README.md

* modules is better

* doc
2023-08-25 11:34:36 +01:00
Colin Delahunty
0846cc8687 Removed prints (#5367)
* Removed prints

* FIxed typing

* FIxed typing

* Fixed typing

* Fixed typing

* Fixed typing

* Fixed typing

* Fixed typing

* Fix

* Reverted stuff
2023-08-25 00:18:11 +02:00
Colin Delahunty
9d70bc7da1 Some error handling (#5357) 2023-08-25 00:18:11 +02:00
Igor Radovanovic
77716b2081 Merge 2023-08-25 00:17:56 +02:00
Diogo Sousa
76450675fd move to correct readme 2023-08-24 18:24:01 +01:00
Diogo Sousa
f61d53860d update readme with tuna reference 2023-08-24 18:20:04 +01:00
Diogo Sousa
7b0e074679 docstring typo 2023-08-24 18:12:30 +01:00
montezdesousa
484f738e24 use singleton for provider interface: same functionality (#5372)
* use singleton for provider interface: same functionality

* ruff
2023-08-24 18:09:19 +01:00
Diogo Sousa
3f413b1731 add back noqa: E501 to docstrings inside package 2023-08-24 17:45:11 +01:00
Diogo Sousa
c0b5ff6265 first we ruff and then we black 2023-08-24 17:35:35 +01:00
Diogo Sousa
c26a75b48a poetry toml to match ci ruff version 2023-08-24 17:32:20 +01:00
Diogo Sousa
0850423afb expose available providers in provider interface 2023-08-24 17:07:34 +01:00
Diogo Sousa
f73bcc8ac9 avoid bug for placeholder and no provider 2023-08-24 16:36:31 +01:00
Diogo Sousa
3f9b446301 ruff 2023-08-24 16:18:56 +01:00
Diogo Sousa
add4d946a5 Revert "fix bug getting provider for placeholder cmds + ruff"
This reverts commit 1328c0b041.
2023-08-24 16:18:23 +01:00
Diogo Sousa
1328c0b041 fix bug getting provider for placeholder cmds + ruff 2023-08-24 16:16:08 +01:00
Diogo Sousa
4ab40ef085 py38 compat 2023-08-24 15:58:02 +01:00
Diogo Sousa
f1db8063ac pylint + regen fixedincome 2023-08-24 15:46:04 +01:00
Diogo Sousa
12a2bb9a41 supress linter errors if not debug mode 2023-08-24 15:41:50 +01:00
Diogo Sousa
4a708622d2 add black & ruff to core deps 2023-08-24 15:03:47 +01:00
montezdesousa
80b9759d31 Add @classproperty to fetcher for nested return types (#5371)
* add classproperty to fetcher and cpi.py

* type var bound

* validate model in registry map

* better exception msg

* fix fred mypy and add data_type

* typo

* specific model validation

* specific model validation

* reformat error msg

* better

* msg
2023-08-24 15:01:58 +01:00
Diogo Sousa
b5d23051a8 rebuild python interface + fix py38 2023-08-24 14:08:12 +01:00
Igor Radovanovic
1154a49865 Linting 2023-08-24 11:33:49 +02:00