mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
* add SSL certificate context and setting
* codespell
* linting
* cleanup section
* allow defining uvicorn.run kwargs in system_settings
* refactor to return session objects
* hub service rename it as _request_session
* typing
* more linting
* pylint
* missing __init__ files
* fix test_hub_service
* missing init files..?
* shouldn't need an init file there..
* now for some random linting
* maybe need that __init__ after all...?
* fix test_make_request
* relative import in conftest..?
* issue can't be from missing init files..
* revert the inits
* small cleanup
* pass the kwargs to the async session object on init for use outside of amake_request
* try something...
* try something else..
* turn on verbosity for errors..
* try something else...
* undo test change
* Update lock files
* undo another test check thing
* Revert "Update lock files"
This reverts commit 714df64416.
* try with just the platform lock
* unexpected argument
* do a dummy check to return the session object if it is passed in the kwargs
* also dummy check for TCPConnector instance
* bit more cleanup
* no implementation of server_hostname
* Move setting session to PosthogHandler init
* add comments
* review items
* update PythonSettings model definitions and annotations
* fix latest yfinance breaking changes
* unused import
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Providers
In this folder you can find the providers that were created or are supported by OpenBB.
Recommended structure
Every provider is located within a directory, with the following structure:
openbb_platform
└───providers
└───<provider_name>
| README.md
│ pyproject.toml
│ poetry.lock
|───tests
└───openbb_<provider_name>
│ __init__.py
|───models
| |───<some model>.py
| └───...
└───utils
|───<some helper>.py
└───...
The models define the data structures that are used to query the provider endpoints and store the response data.
See CONTRIBUTING file for more details