pre-commit fix tidb

This commit is contained in:
Weaxs
2024-12-12 10:21:51 +08:00
parent 8ef5a6b8cd
commit 288985eab4
3 changed files with 73 additions and 64 deletions

View File

@@ -80,6 +80,7 @@ ChromaVectorDBStorage = lazy_external_import(".kg.chroma_impl", "ChromaVectorDBS
TiDBKVStorage = lazy_external_import(".kg.tidb_impl", "TiDBKVStorage")
TiDBVectorDBStorage = lazy_external_import(".kg.tidb_impl", "TiDBVectorDBStorage")
def always_get_an_event_loop() -> asyncio.AbstractEventLoop:
"""
Ensure that there is always an event loop available.