https://github.com/juju/charm-helpers/blob/cf2dd13a04a712378358b80e2e3ff48ec9385552/charmhelpers/core/hookenv.py#L1389 is the charm-helpers wrapper around this functionality.
https:/ /github. com/juju/ charm-helpers/ blob/cf2dd13a04 a712378358b80e2 e3ff48ec9385552 /charmhelpers/ core/hookenv. py#L1389 is the charm-helpers wrapper around this functionality.