'Get the template.
:param cnxt: RPC context.
:param stack_identity: Name of the stack you want to see.'

@context.request_context
def get_template(self, cnxt, stack_identity):

    s = self._get_stack(cnxt, stack_identity, show_deleted=True)
    return s.raw_template.template
