MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / __init__

Method __init__

web/pgadmin/utils/session.py:188–192  ·  view source on GitHub ↗
(self, parent, num_to_store, skip_paths=None)

Source from the content-addressed store, hash-verified

186
187class CachingSessionManager(SessionManager):
188 def __init__(self, parent, num_to_store, skip_paths=None):
189 self.parent = parent
190 self.num_to_store = num_to_store
191 self._cache = OrderedDict()
192 self.skip_paths = [] if skip_paths is None else skip_paths
193
194 def _normalize(self):
195 if len(self._cache) > self.num_to_store:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected