ramp_database.tools.event.get_problem¶
- 
ramp_database.tools.event.get_problem(session, problem_name)¶
- Get problem from the database. - Parameters
- sessionsqlalchemy.orm.Session
- The session to directly perform the operation on the database. 
- problem_namestr or None
- The name of the problem to query. If None, all the problems will be queried. 
 
- session
- Returns
- problemramp_database.model.Problemor list oframp_database.model.Problem
- The queried problem. 
 
- problem