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
sessionsqlalchemy.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.

Returns
event_teamramp_database.model.EventTeam

The event/team instance queried.