code: def render(template, extra={}, **kwargs):
      
      context = hookenv.execution_environment()
      context.update(extra)
      context.update(kwargs)
      return template.format(**context)
docs: Return the template rendered using Python's str.format().