mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-01 07:03:02 +00:00
* refactor(proxy): inject database repositories through per-repository dependencies Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(proxy): model Prisma client cleanup * test(rust): include NativeDatabase in bridge API surface --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
11 lines
233 B
Python
11 lines
233 B
Python
import asyncio
|
|
|
|
from litellm.rust_bridge._native import NativeDatabase
|
|
|
|
|
|
async def _connect() -> NativeDatabase:
|
|
return await NativeDatabase.connect()
|
|
|
|
|
|
def native_database() -> NativeDatabase:
|
|
return asyncio.run(_connect())
|