ramp_database.tools.event.add_problem_keyword

ramp_database.tools.event.add_problem_keyword(session, problem_name, keyword_name, description=None, force=False)

Add relationship between a keyword and a problem.

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.

descriptionNone or str, default is None

A particular description of the keyword of the particular problem.

forcebool, default is False

Whether or not to overwrite the relationship.