Understanding the Kes Python Client