ramp_database.model.ProblemKeyword

class ramp_database.model.ProblemKeyword(**kwargs)

ProblemKeyword table.

This a many-to-many relationship between a Problem and a Keyword.

Attributes
idint

The ID of the table row.

descriptionstr

Optional description of the keyword for a particular problem.

problem_idint

The ID of the problem.

problemramp_database.model.Problem

The problem instance.

keyword_idint

The ID of the keyword.

keywordramp_database.model.Keyword

The keyword instance.

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.