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
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- submission_idint
The id of the submission to query
- session
- Returns
- submission
ramp_database.model.Submission
The queried submission.
- submission
See also
ramp_database.tools.get_submissions
Get submissions information.
ramp_database.tools.get_submission_by_name
Get a submission using names.