montezdesousa
|
475ebb5acd
|
[WIP] Migrate user, feature flags and configurations to dataclass (#4309)
* implement user and change is guest
* replace User methods
* move remaining functions to user
* fix bug
* portfolio test
* fix tests
* fix tests
* uncomment skip
* ruff
* start credentials model implementation
* change deault structure
* refacto quandl
* change default struct and file names
* bug
* start using global user
* add comments
* move update flair
* change cfg references in keys model
* reddit & fmp
* refactore additional keys
* remaing config keys
* remove unsude imports and fix hub keys
* ruff
* fix line too long
* unblock unittests
* fix keys model tests
* remove os patch
* fix account controller tests
* fix account controller tests
* fix account model
* account fixed
* fix user tests
* User Model
* User Model
* User Model
* Move session folder
* User Model : grouping the models
* User Model : fix bugs
* Config Plot + bug fix
* User Model : Refactoring plots
* Feature flags
* Remove dup
* clean comments a fix some vars
* fix feature flags controller
* refactor obbff from settings controller
* refactor a bunch of obbff variables
* fix bug blocking terminal
* fix integration tests
* refactor controllers with obbff
* refactor remaining ffs
* remove comments
* log not started
* mispelled variable
* set current user on local model
* User Model : moving files + updating
* User Preferences
* User : Refactor is_guest function + bug fix
* User : refactor is_guest function
* Fix conftest.py
* remove lost obbffs
* typo on fileoverwrite
* Plot config: move variables and start plot dpi
* User : tests
* refactor plot dpi references
* remove plot dpi imports
* refactor some config terminal leftover
* /account/sync : fix bug
* remove configs reload
* start path refactor
* installation paths vs user paths
* remove cfg_plot
* Tests : User Refactoring
* user prefix only for preferences
* user prefix only for preferences
* move user paths
* remove comment
* update apply remote configs
* fix tz not updating
* save some copys
* small fix
* create interface for credentials and preferences
* wrong docstrings fixed
* ruff core
* fix some pref setting
* login is better
* ruff
* ruff
* remove Literal
* add small comment
* Tests : User Refactoring
* Credentials Model : add DataBento
* Fix helper_funcs
* Fixing code
* Tests : fixing
* User Model : freezing the models
* Fixed Income + Databento
* Tests : fixing keys
* black
* ruff
* Tests : user model
* Tests : user model
* Fix linting
* Fix linting
* Linting
* Linting
* Fixing code and tests
* Fix tests
* mypy
* SDK
* Clean ruff cache
* Fix syntax issue
* Update fred_view
* Black
* Linting
* Update code
* Update tests
* Linting
* Linting
* Tests
* Black
* Linting
* Linting
* Mock os.listdir to avoid looking for file that doesnt exist
* Mock options paths
* lint
* Tests : fix
* Code : update
* Tests + Linting
* Tests
* Ruff
* Code : update
* Tests
* Code : update
* Fix workflow
* Code : update
---------
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
|
2023-03-05 00:37:19 +01:00 |
|
montezdesousa
|
cb5e610bcb
|
Set multiple API keys at once on OpenBB SDK (#2716)
* set fred keys through api
* linting
* doc change
* expose api keys dict
* allow optional persistency of api key change
* black
* place decorators
* add keys paths
* av and fmp keys
* some fixes
* rewrite av, fmp, fred cassettes
* quandl key
* polygon key
* rewrite polygon cassette
* news and tradier
* cmc key
* change some docstring
* change some docstring
* filtered keys dict on mykeys
* simplify mykeys collection
* revert arg to persist
* finnhub
* iex key
* reddit key
* reddit docstring
* check for prefix before removing
* glassnode key
* glassnode virtual path
* bitquery keys
* twitter key
* robinhood key
* degiro keys
* oanda key
* binance keys
* si key
* coinbase key
* refactor btcrb dates and logic
* walert key
* coinglass key
* regenerate cassettes
* cpanic keys
* ethplorer keys
* replace ouput status failed msg
* smartstake keys
* gitub keys
* messari keys
* eodhd keys
* santiment keys
* remove unused imports
* typo formatting test
* remove forbidden arg
* fix btcrb test
* fix test import
* revert cassette changes
* fix more tests
* fix last failing
* black
* try to change status to int code
* change status to int
* first try at keys controller refactoring
* fix some tests accordingly
* display msg on set
* change some vars
* remove elifs
* add progress bar and remove duplicate key check
* add mykeys and refresh to menu
* remove unused import
* change mykeys output to df
* remove check keys from keys ctrl tests
* update test split to new structure
* reduce duplicate code
* upper case
* change var name
* rename mykeys df cols
* add keys integrations tests
* add mykeys test to keys controller
* fix mykeys
* fix wrong eodhd var name
* pylint
* test_set_key
* black
* patch dotenv kinda
* fix mypy
* remove refresh
* filter mykeys df
* filter mykeys df
* update integration tests
* first unit test for set api key
* add 2 more test cases to fred
* add persist test to fred unittest
* add av unittest
* add polygon unittest
* generate av cassettes
* add unittests av, fmp, quandl, polygon, fred
* change si token to key
* forgot controller func
* unittest: news, tradier, cmc, finnhub, iex, bitquery
* add si unittest
* update eodhd key name
* add unittest: walert, glassnode, coinglass, cpanic, ethplorer, github, messari, eodhd, santiment
* black
* add reddit unittest
* refactor unittests to handle multi args
* regenerate cassettes
* add more unittests
* add degiro, oanda and rh unittest
* generate oanda records
* fix rh and degiro unittest
* fix oanda unittest
* black
* flake8
* fix si controller test
* move tmp
* pylint
* fix av test
* fix fmp key check
* rewrite fmp
* rewrite oanda output
* fix quandl check
* rewrite expected
* supress logger exception
* fix iex cloud key
* remove iex warning
* fix coinglass check key
* cpanic fix
* regenerate cpanic cassettes
* flake8
* fix smartstake keys check
* regenerate expected output
* fix eodhd
* try at binance
* black
* fix controller tests
* pylint
* disable warning
* flake
* add option to show keys
* add Enum to model
* regenerate test output
* update contributing
* flake
* fix type hint
* remove status msg dict
* pylint
* regenerate and remove unecessary cassettes
* remove duplicate return
* supress traceback
* remove unused imports
* update some docstrings
* add todo
* add export option to mykeys
* minor change
* refactor color scheme
* update contributing
* update contributing
* regenerate cassettes
* add set_keys
* add api list helper
* prevent wrong api names
* add some help if wrong kwargs
* change some name
* update some doctrings
* remove api block
* remove api block
* change endpoint name
* pylint
* fix check output
* small msg change
* small details
* rewrite some tests
* Removed bad test
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
|
2022-10-09 09:04:25 +02:00 |
|