ramp_database.tools.event.get_event_admin

ramp_database.tools.event.get_event_admin(session, event_name, user_name)

Get an administrator event.

Parameters
sessionsqlalchemy.orm.Session

The session to directly perform the operation on the database.

event_namestr

The event name.

user_namestr

The user name.

Returns
event_adminramp_database.model.EventAdmin or None

The event/admin instance queried.