MCPcopy Create free account
hub / github.com/PageBot/PageBot / _getContext

Method _getContext

Lib/pagebot/elements/views/htmlview.py:26–28  ·  view source on GitHub ↗

Answers the default context for this type of view.

(self)

Source from the content-addressed store, hash-verified

24 SUPPORTED_CONTEXTS = ('HtmlContext',)
25
26 def _getContext(self):
27 """Answers the default context for this type of view."""
28 return HtmlContext()
29
30 def XXXbuild_scss(self, view, origin=None):
31 """Build the CSS for this document. Default behavior is to import the

Callers

nothing calls this directly

Calls 1

HtmlContextClass · 0.90

Tested by

no test coverage detected