ramp_database.tools.submission.get_source_submissions

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

Get the submissions with which a user interacted.

Parameters
sessionsqlalchemy.orm.Session

The session to directly perform the operation on the database.

submission_idint

The id of the submission which is going to be submitted.

Returns
submissionslist of :class`ramp_database.model.Submission`

List of the submissions connected with the submission to be trained.