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
sessionsqlalchemy.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.

Returns
problem_keywordramp_database.model.ProblemKeyword

The problem-keyword relationship.