def _set_env(self, env):
for callback in self.callbacks:<EOL><INDENT>if callable(getattr(callback, '<STR_LIT>', None)):<EOL><INDENT>callback._set_env(env)<EOL><DEDENT><DEDENT>
Set environment for each callback in callbackList