ramp_database.tools.submission
.submit_starting_kits¶
-
ramp_database.tools.submission.
submit_starting_kits
(session, event_name, team_name, path_submission)¶ Submit all starting kits for a given event.
Some kits contain several starting kits. This function allows to submit all these kits at once for a specific user.
- Parameters
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- event_namestr
The name of the event.
- team_namestr
The name of the team.
- path_submissionstr
The path of the files associated to the current submission. It will corresponds to the key
ramp_kit_submissions_dir
of the dictionary created withramp_utils.generate_ramp_config
.
- session