def _set_compiled_object(self, value):
        if not self._object_caching_enabled:
            raise ValueError("object caching not enabled in %s" % (self,))
        if self._compiled:
            raise ValueError("library already compiled: %s" % (self,))
        self._compiled_object = value
dataset/ETHPy150Open numba/numba/numba/targets/codegen.py/CodeLibrary._set_compiled_object/original