MCPcopy Index your code
hub / github.com/diffgram/diffgram / star_view_list

Function star_view_list

default/methods/project/star.py:69–81  ·  view source on GitHub ↗
(project_string_id)

Source from the content-addressed store, hash-verified

67 "Editor",
68 "Viewer"])
69def star_view_list(project_string_id):
70
71 with sessionMaker.session_scope() as session:
72
73 project = Project.get_project(session, project_string_id)
74 if project is None:
75 return jsonify(success=False), 400, {'ContentType':'application/json'}
76
77 user_list = project.serialize_star_list_PUBLIC()
78 out = jsonify( success=True,
79 user_list=user_list)
80
81 return out, 200, {'ContentType':'application/json'}
82
83
84

Callers

nothing calls this directly

Calls 2

get_projectMethod · 0.45

Tested by

no test coverage detected