mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 22:29:51 +00:00
community[patch]: SurrealDB fix for asyncio (#16092)
Code fix for asyncio
This commit is contained in:
parent
2b2285dac0
commit
4c7755778d
@ -46,8 +46,6 @@ class SurrealDBLoader(BaseLoader):
|
||||
self.sdb = Surreal(self.dburl)
|
||||
self.kwargs = kwargs
|
||||
|
||||
asyncio.run(self.initialize())
|
||||
|
||||
async def initialize(self) -> None:
|
||||
"""
|
||||
Initialize connection to surrealdb database
|
||||
|
Loading…
Reference in New Issue
Block a user