ramp_database.tools.event
.get_problem_keyword_by_name¶
-
ramp_database.tools.event.
get_problem_keyword_by_name
(session, problem_name, keyword_name)¶ Get a problem-keyword relationship given their names.
- Parameters
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- problem_namestr
The name of the problem.
- keyword_namestr
The name of the keyword.
- session
- Returns
- problem_keyword
ramp_database.model.ProblemKeyword
The problem-keyword relationship.
- problem_keyword