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

Method __init__

web/pgadmin/__init__.py:79–88  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

77
78class PgAdmin(Flask):
79 def __init__(self, *args, **kwargs):
80 # Set the template loader to a postgres-version-aware loader
81 self.jinja_options = ImmutableDict(
82 autoescape=select_autoescape(enabled_extensions=('html', 'xml')),
83 loader=VersionedTemplateLoader(self)
84 )
85 self.logout_hooks = []
86 self.before_app_start = []
87
88 super().__init__(*args, **kwargs)
89
90 def find_submodules(self, basemodule):
91 try:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected