MCPcopy Index your code
hub / github.com/dataease/SQLBot / inner

Function inner

backend/apps/chat/api/chat.py:40–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38async def get_chat(session: SessionDep, current_user: CurrentUser, chart_id: int, current_assistant: CurrentAssistant,
39 trans: Trans):
40 def inner():
41 return get_chat_with_records(chart_id=chart_id, session=session, current_user=current_user,
42 current_assistant=current_assistant, trans=trans)
43
44 return await asyncio.to_thread(inner)
45

Callers

nothing calls this directly

Tested by

no test coverage detected