def templates(self):
        """
        Property for accessing :class:`TemplateManager` instance, which is used to manage templates.

        :rtype: yagocd.resources.template.TemplateManager
        """
        if self._template_manager is None:
            self._template_manager = TemplateManager(session=self._session)
        return self._template_manager
def templates ( self ) : if self . _template_manager is None : self . _template_manager = TemplateManager ( session = self . _session ) return self . _template_manager
Property for accessing :class:`TemplateManager` instance, which is used to manage templates.

        :rtype: yagocd.resources.template.TemplateManager