@lower_getattr_generic(types.DeferredType)
def deferred_getattr(context, builder, typ, value, attr):
    inner_type = typ.get()
    val = context.cast(builder, value, typ, inner_type)
    imp = context.get_getattr(inner_type, attr)
    return imp(context, builder, inner_type, val, attr)
Deferred.__getattr__ => redirect to the actual type.
dataset/ETHPy150Open numba/numba/numba/targets/builtins.py/deferred_getattr