Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
unit = self.d.sentry.unit['pdi/0']
print(unit['workload-status'].get('message')
'UnitSentry' object is not subscriptable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment