ramp_database.tools.team
.ask_sign_up_team¶
-
ramp_database.tools.team.
ask_sign_up_team
(session, event_name, team_name)¶ Register a team to a RAMP event without approving.
ramp_database.model.EventTeam
as an attributeapproved
set toFalse
by default. Executing this function only create the relationship in the database.- Parameters
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- event_namestr
The RAMP event name.
- team_namestr
The name of the team.
- session
- Returns
- event
ramp_database.model.Event
The queried Event.
- team
ramp_database.model.Team
The queried team.
- event_team
ramp_database.model.EventTeam
The relationship event-team table.
- event