ramp_database.tools.submission.get_submission_by_id

ramp_database.tools.submission.get_submission_by_id(session, submission_id)

Get a submission given its id.

Parameters
sessionsqlalchemy.orm.Session

The session to directly perform the operation on the database.

submission_idint

The id of the submission to query

Returns
submissionramp_database.model.Submission

The queried submission.

See also

ramp_database.tools.get_submissions

Get submissions information.

ramp_database.tools.get_submission_by_name

Get a submission using names.