def make_module_async(self, vars=None, shared=False, locals=None):
context = self.new_context(vars, shared, locals)
body_stream = []
async for item in self.root_render_func(context):
body_stream.append(item)
return TemplateModule(self, context, body_stream)
asyncsupport.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录