MCPcopy
hub / github.com/diffgram/diffgram / export_on_thread

Function export_on_thread

shared/export/export_create.py:22–28  ·  view source on GitHub ↗
(project_string_id, export_id, member_id)

Source from the content-addressed store, hash-verified

20
21
22def export_on_thread(project_string_id, export_id, member_id):
23 with sessionMaker.session_scope_threaded() as session:
24 member = Member.get_by_id(session, member_id)
25 export_web_core(session = session,
26 project_string_id = project_string_id,
27 export_id = export_id,
28 member = member)
29
30
31def create_new_export(session: Session,

Callers

nothing calls this directly

Calls 2

export_web_coreFunction · 0.85
get_by_idMethod · 0.45

Tested by

no test coverage detected