(session, db_kb, kb)
return labels
:param session:
        :param DbKnowledgeBase db_kb:
        :param KnowledgeBase kb:
        :return:
def load(session, db_kb, kb):  # pylint:disable=unused-argument
        """

        :param session:
        :param DbKnowledgeBase db_kb:
        :param KnowledgeBase kb:
        :return:
        """

        db_labels = db_kb.labels
        labels = Labels(kb)

        for db_label in db_labels:
            labels[db_label.addr] = db_label.name

        return labels
def load ( session , db_kb , kb ) : # pylint:disable=unused-argument db_labels = db_kb . labels labels = Labels ( kb ) for db_label in db_labels : labels [ db_label . addr ] = db_label . name return labels