Is this not a key error assuming a key exists when it might no yet?
if not self._check_ready(application['application-status']['current'], name):
It'd be good to know what the response actually was so we can see did status not return? Did it return something unexpected? etc.
Is this not a key error assuming a key exists when it might no yet?
if not self._check_ ready(applicati on['application -status' ]['current' ], name):
It'd be good to know what the response actually was so we can see did status not return? Did it return something unexpected? etc.