'Get the definition lazily, trigger Oozie API call at the first access.'

def _get_definition(self):

    if (self._definition is None):
        self._definition = self._api.get_job_definition(self.id)
    return self._definition
