MCPcopy Index your code
hub / github.com/webpy/webpy / get_parent_app

Method get_parent_app

web/application.py:546–550  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

544 return app.handle_with_processors()
545
546 def get_parent_app(self):
547 if self in web.ctx.app_stack:
548 index = web.ctx.app_stack.index(self)
549 if index > 0:
550 return web.ctx.app_stack[index - 1]
551
552 def notfound(self):
553 """Returns HTTPError with '404 not found' message"""

Callers 2

notfoundMethod · 0.95
internalerrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected