MCPcopy
hub / github.com/langbot-app/LangBot / execute_async

Method execute_async

src/langbot/pkg/persistence/mgr.py:163–167  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

161 raise
162
163 async def execute_async(self, *args, **kwargs) -> sqlalchemy.engine.cursor.CursorResult:
164 async with self.get_db_engine().connect() as conn:
165 result = await conn.execute(*args, **kwargs)
166 await conn.commit()
167 return result
168
169 def get_db_engine(self) -> sqlalchemy_asyncio.AsyncEngine:
170 return self.db.get_engine()

Callers 15

initializeMethod · 0.95
create_tablesMethod · 0.95
get_plugin_settingsMethod · 0.45
set_binary_storageMethod · 0.45
get_binary_storageMethod · 0.45
delete_binary_storageMethod · 0.45
set_plugin_configMethod · 0.45

Calls 3

get_db_engineMethod · 0.95
connectMethod · 0.45
executeMethod · 0.45