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

Method run_before_app_start

web/pgadmin/__init__.py:171–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

169 self.before_app_start.append(callback)
170
171 def run_before_app_start(self):
172 # call before app starts or is exported
173 with self.app_context(), self.test_request_context():
174 for callback in self.before_app_start:
175 callback()
176
177
178def _find_blueprint():

Callers 2

set_prefsMethod · 0.80
pgAdmin4.pyFile · 0.80

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected