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

Method get_by_id

shared/database/task/task.py:804–810  ·  view source on GitHub ↗
(session,
                  task_id)

Source from the content-addressed store, hash-verified

802
803 @staticmethod
804 def get_by_id(session,
805 task_id):
806
807 task = session.query(Task).filter(
808 Task.id == task_id).first()
809
810 return task
811
812 def serialize_for_list_view_builder(self, session = None, regen_url = True):
813

Callers 7

rootMethod · 0.45
parentMethod · 0.45
get_related_filesMethod · 0.45
statsMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected