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

Method get_instance

backend/apps/system/crud/assistant.py:265–266  ·  view source on GitHub ↗
(assistant: AssistantHeader)

Source from the content-addressed store, hash-verified

263class AssistantOutDsFactory:
264 @staticmethod
265 def get_instance(assistant: AssistantHeader) -> AssistantOutDs:
266 return AssistantOutDs(assistant)
267
268
269def get_out_ds_conf(ds: AssistantOutDsSchema, timeout: int = 30) -> str:

Callers 5

__init__Method · 0.80
get_chat_with_recordsFunction · 0.80
create_chatFunction · 0.80
dsFunction · 0.80
get_assistant_dsFunction · 0.80

Calls 1

AssistantOutDsClass · 0.85

Tested by

no test coverage detected