ramp_database.tools.submission.get_submission_by_name

ramp_database.tools.submission.get_submission_by_name(session, event_name, team_name, name)

Get a single submission filtering by event, team, and submission names.

Parameters
sessionsqlalchemy.orm.Session

The session to directly perform the operation on the database.

event_namestr

The RAMP event.

team_namestr

The name of the team.

namestr

The name of the submission.

Returns
submissionramp_database.model.Submission

The queried submission.

See also

ramp_database.tools.get_submissions

Get submissions information.

ramp_database.tools.get_submission_by_id

Get a submission using an id.