def convert_place_relation_list(obj): """ :type obj: :class:`[mbdata.models.LinkEventPlace]` """ relation_list = models.relation_list(target_type="place") [relation_list.add_relation(convert_place_relation(p)) for p in obj] return relation_list
def convert_event_area_relation_list(obj): """ :type obj: :class:`[mbdata.models.LinkAreaEvent]` """ relations = models.relation_list(target_type="area") [relations.add_relation(convert_event_area_relation(a)) for a in obj] return relations
def convert_artist_work_relation_list(obj): """ :type obj: :class:`[mbdata.models.LinkArtistWork]` """ relation_list = models.relation_list(target_type="artist") [relation_list.add_relation(convert_artist_work_relation(r)) for r in obj] return relation_list
def convert_area_relation_list(obj): """ :type obj: :class:`[mbdata.models.LinkAreaArea]` """ relations = models.relation_list(target_type="area") [relations.add_relation(convert_area_relation(a)) for a in obj] return relations
def convert_recording_work_relation_list(obj): """ :type obj: :class:`[mbdata.models.LinkRecordingWork]` """ relation_list = models.relation_list(target_type="recording") [relation_list.add_relation(convert_recording_work_relation(r)) for r in obj] return relation_list
def convert_recording_work_relation_list(obj): """ :type obj: :class:`[mbdata.models.LinkRecordingWork]` """ relation_list = models.relation_list(target_type="recording") [ relation_list.add_relation(convert_recording_work_relation(r)) for r in obj ] return relation_list
def convert_release_relation_list(obj): relation_list = models.relation_list(target_type="release") [relation_list.add_relation(convert_release_relation(r)) for r in obj] return relation_list