MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / prepare

Method prepare

21-async/mojifinder/bottle.py:3267–3272  ·  view source on GitHub ↗

Run preparations (parsing, caching, ...). It should be possible to call this again to refresh a template or to update settings.

(self, **options)

Source from the content-addressed store, hash-verified

3265 return cls.settings[key]
3266
3267 def prepare(self, **options):
3268 """ Run preparations (parsing, caching, ...).
3269 It should be possible to call this again to refresh a template or to
3270 update settings.
3271 """
3272 raise NotImplementedError
3273
3274 def render(self, *args, **kwargs):
3275 """ Render the template with the specified local variables and return

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected