MCPcopy
hub / github.com/TransformerOptimus/SuperAGI / find_by_id

Method find_by_id

superagi/models/project.py:65–67  ·  view source on GitHub ↗
(cls, session, project_id: int)

Source from the content-addressed store, hash-verified

63
64 @classmethod
65 def find_by_id(cls, session, project_id: int):
66 project = session.query(Project).filter(Project.id == project_id).first()
67 return project

Callers 15

test_find_by_idFunction · 0.45
test_find_by_idFunction · 0.45
test_find_by_idFunction · 0.45
test_find_by_idFunction · 0.45
test_find_by_idFunction · 0.45
get_agent_execution_feedFunction · 0.45
get_agent_templateFunction · 0.45
create_runFunction · 0.45
update_agentFunction · 0.45
get_agent_runsFunction · 0.45

Calls

no outgoing calls

Tested by 5

test_find_by_idFunction · 0.36
test_find_by_idFunction · 0.36
test_find_by_idFunction · 0.36
test_find_by_idFunction · 0.36
test_find_by_idFunction · 0.36