def link_refs(self, dbfunctions, langs):
        for (sch, fnc, arg) in dbfunctions:
            func = dbfunctions[(sch, fnc, arg)]
            if func.language in ['sql', 'c', 'internal']:
                continue
            try:
                language = self[(func.language)]
            except KeyError as exc:
                if func.language in langs:
                    continue
                raise exc
            if isinstance(func, Function):
                if not hasattr(language, 'functions'):
                    language.functions = {}
                language.functions.update({fnc: func})
Connect functions to their respective languages
dataset/ETHPy150Open perseas/Pyrseas/pyrseas/dbobject/language.py/LanguageDict.link_refs