in dict_minimize/core/_scipy.py [0:0]
def callback_wrap(xk, *args_, **kwargs): x_dict = _unpack(xk, from_np, shapes, x0_dtypes) callback(x_dict)