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

Method render

python/python3/tornado/test/web_test.py:1922–1926  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1920
1921 class MyModule(UIModule):
1922 def render(self, x):
1923 return "In MyModule(%s) with handler value %s." % (
1924 x,
1925 typing.cast(UIMethodUIModuleTest.Handler, self.handler).value(),
1926 )
1927
1928 loader = DictLoader(
1929 {"foo.html": "{{ my_ui_method(42) }} {% module MyModule(123) %}"}

Callers 4

getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected