def _create_template(self, name):
        """Create an instance of a tornado.template.Template object for the
        given template name.

        :param str name: The name/path to the template
        :rtype: tornado.template.Template

        """
        url = '%s/%s' % (self._base_url, escape.url_escape(name))
        LOGGER.debug('Making HTTP GET request to %s', url)
        response = self._http_client.fetch(url)
        data = json.loads(response.body, ensure_ascii=False)
        return template.Template(data['template'], name=name, loader=self)
def _create_template ( self , name ) : url = '%s/%s' % ( self . _base_url , escape . url_escape ( name ) ) LOGGER . debug ( 'Making HTTP GET request to %s' , url ) response = self . _http_client . fetch ( url ) data = json . loads ( response . body , ensure_ascii = False ) return template . Template ( data [ 'template' ] , name = name , loader = self )
Create an instance of a tornado.template.Template object for the
        given template name.

        :param str name: The name/path to the template
        :rtype: tornado.template.Template