[py/NF] added code for knobs