MCPcopy
hub / github.com/jumpserver/jumpserver / get_interface_setting_or_default

Function get_interface_setting_or_default

apps/settings/utils/common.py:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def get_interface_setting_or_default():
10 if not settings.XPACK_ENABLED:
11 return default_interface
12 from xpack.plugins.interface.models import Interface
13 return Interface.get_interface_setting()
14
15
16def get_login_title():

Callers 3

get_login_titleFunction · 0.85
getMethod · 0.85
interface_settingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected