ramp_database.tools.team
.get_event_team_by_name¶
-
ramp_database.tools.team.
get_event_team_by_name
(session, event_name, user_name)¶ Get the event/team given an event and a user.
- 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_team
ramp_database.model.EventTeam
The event/team instance queried.
- event_team