(self, *args, **kwargs)
return TemplateStream(self.generate(*args, **kwargs))
Works exactly like :meth:`generate` but returns a
        :class:`TemplateStream`.
Works exactly like :meth:`generate` but returns a
        :class:`TemplateStream`.
Works exactly like : meth : generate but returns a : class : TemplateStream .
def stream(self, *args, **kwargs):
        """Works exactly like :meth:`generate` but returns a
        :class:`TemplateStream`.
        """
        return TemplateStream(self.generate(*args, **kwargs))
def stream ( self , * args , * * kwargs ) : return TemplateStream ( self . generate ( * args , * * kwargs ) )