asphalt.templating.renderers.tornado

class asphalt.templating.renderers.tornado.TornadoRenderer(package_path: str = None, **loader_args)

Renders Tornado templates.

Parameters:
  • package_path (Optional[str]) – if given, looks up the directory containing the given package and fills in the root_directory argument for Loader. The value will be interpreted by package_to_directory().
  • loader_args – extra arguments to pass to Loader