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

Class AboutModule

web/pgadmin/about/__init__.py:30–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30class AboutModule(PgAdminModule):
31 def get_own_menuitems(self):
32 appname = config.APP_NAME
33
34 return {
35 'help_items': [
36 MenuItem(
37 name='mnu_about',
38 priority=999,
39 module="pgAdmin.About",
40 callback='about_show',
41 icon='fa fa-info-circle',
42 label=gettext('About %(appname)s', appname=appname)
43 )
44 ]
45 }
46
47 def get_exposed_url_endpoints(self):
48 return ['about.index']
49
50
51blueprint = AboutModule(MODULE_NAME, __name__, static_url_path='')

Callers 1

__init__.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected