MCPcopy Create free account
hub / github.com/webpy/webpy / _getctx

Method _getctx

web/db.py:659–662  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

657 self.has_pooling = self.keywords.pop("pooling", True) and self.has_pooling
658
659 def _getctx(self):
660 if not self._ctx.get("db"):
661 self._load_context(self._ctx)
662 return self._ctx
663
664 ctx = property(_getctx)
665

Callers

nothing calls this directly

Calls 2

_load_contextMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected