Files
OpenBB/openbb_platform/providers
Danglewood d75b22f819 [Feature] Add SSL Certificate Context And Setting For Async/Sync HTTP Requests (#6976)
* 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>
2025-01-21 01:39:32 +00:00
..
2024-12-11 18:40:06 +00:00
2024-12-07 14:18:05 +00:00
2024-05-15 20:04:36 +02:00

Providers

In this folder you can find the providers that were created or are supported by OpenBB.

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