Access/control stimuli of a routine from inside iohub

Is there a way to access the variables defined in the experiment from inside the iohub (e.g. eyetracker.py)?