mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-30 05:03:54 +00:00
* fix(government_us): Congress bulk load lock is per event loop An asyncio.Lock belongs to the loop that first waits on it. One lock per key raised "is bound to a different event loop" when a second loop loaded the same key. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * fix(government_us): a Congress load lock lasts only as long as its load The lock map is keyed by (loop, key), and the Python interface runs each call on a new loop, so entries (and the closed loops they reference) accumulated. An entry is now removed when its load ends. Waiters keep the lock object and read the cache once they hold it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> Co-authored-by: dlee-bq <dlee@brightquery.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
│ uv.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