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

Method __init__

web/pgadmin/utils/__init__.py:45–52  ·  view source on GitHub ↗
(self, name, import_name, **kwargs)

Source from the content-addressed store, hash-verified

43 """
44
45 def __init__(self, name, import_name, **kwargs):
46 kwargs.setdefault('url_prefix', '/' + name)
47 kwargs.setdefault('template_folder', 'templates')
48 kwargs.setdefault('static_folder', 'static')
49 self.submodules = []
50 self.parentmodules = []
51
52 super().__init__(name, import_name, **kwargs)
53
54 def register_preferences(self):
55 # To be implemented by child classes

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected