ramp_database.tools.event
.get_event¶
-
ramp_database.tools.event.
get_event
(session, event_name)¶ Get event from the database.
- Parameters
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- event_namestr or None
The name of the event to query. If None, all the events will be queried.
- session
- Returns
- even
ramp_database.model.Event
or list oframp_database.model.Event
The queried problem.
- even