mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
30b9e057ff
This pull request adds caching for the Supabase client and database instances in order to improve performance and reduce unnecessary API calls. The `get_supabase_client()` and `get_supabase_db()` functions now check if the instances have already been created and return the cached instances if available. This avoids creating new instances for every function call, resulting in faster execution times. |
||
---|---|---|
.. | ||
databases | ||
__init__.py | ||
brains_subscription_invitations.py | ||
files_in_storage.py | ||
files.py | ||
settings.py | ||
sqlalchemy_repository.py |