Fix python observer example