def compile(self, func, args, return_type=None, flags=DEFAULT_FLAGS):
        cache_key = (func, args, return_type, flags)
        try:
            cr = self.cr_cache[cache_key]
        except KeyError:
            cr = compile_extra(self.typingctx, self.targetctx, func,
                               args, return_type, flags, locals={})
            self.cr_cache[cache_key] = cr
        return cr
Compile the function or retrieve an already compiled result
dataset/ETHPy150Open numba/numba/numba/tests/support.py/CompilationCache.compile