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