first import modul
from shortrate import HullWhiteCurve
then set up basic instance
x = HullWhiteCurve.cast(zero_curve=zc, mean_reversion=mr, volatility=vol, terminal_date=grid[-1])