MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / register_logout_hook

Method register_logout_hook

web/pgadmin/__init__.py:163–166  ·  view source on GitHub ↗
(self, module)

Source from the content-addressed store, hash-verified

161 return menu_items
162
163 def register_logout_hook(self, module):
164 if hasattr(module, 'on_logout') and \
165 isinstance(getattr(module, 'on_logout'), MethodType):
166 self.logout_hooks.append(module)
167
168 def register_before_app_start(self, callback):
169 self.before_app_start.append(callback)

Callers 3

create_appFunction · 0.95
registerMethod · 0.80

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected