ramp_database.tools.event
.get_event_admin¶
-
ramp_database.tools.event.
get_event_admin
(session, event_name, user_name)¶ Get an administrator event.
- Parameters
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- event_namestr
The event name.
- user_namestr
The user name.
- session
- Returns
- event_admin
ramp_database.model.EventAdmin
or None The event/admin instance queried.
- event_admin