Please ignore the following comments - I will prepare patch for your patch.

This line should be

    client.quotas.get(id)