set_selection

@accepts(RB.RhythmDBPropType, <list>)
@returns(none)
def set_selection(type, selection)

Replaces any current selection for the specified property.

type :

the property for which to set the selection

selection :

a list of strings to select