def get_event(self, ref):
<EOL>if ref in self._refs:<EOL><INDENT>return self._refs[ref].get_callback(ref)<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Returns the event callback for a ref (reference)