indenting python client snippet