MCPcopy Create free account
hub / github.com/EasyIME/PIME / get_template_path

Method get_template_path

python/python3/tornado/web.py:1367–1373  ·  view source on GitHub ↗

Override to customize template path for each handler. By default, we use the ``template_path`` application setting. Return None to load templates relative to the calling file.

(self)

Source from the content-addressed store, hash-verified

1365 return self.application.settings["login_url"]
1366
1367 def get_template_path(self) -> Optional[str]:
1368 """Override to customize template path for each handler.
1369
1370 By default, we use the ``template_path`` application setting.
1371 Return None to load templates relative to the calling file.
1372 """
1373 return self.application.settings.get("template_path")
1374
1375 @property
1376 def xsrf_token(self) -> bytes:

Callers 1

render_stringMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected