MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / get_system_settings

Method get_system_settings

core/models.py:404–412  ·  view source on GitHub ↗

Get all system-related settings.

(cls)

Source from the content-addressed store, hash-verified

402 # System Settings
403 @classmethod
404 def get_system_settings(cls):
405 """Get all system-related settings."""
406 return cls._get_group(SYSTEM_SETTINGS_KEY, {
407 "time_zone": getattr(settings, "TIME_ZONE", "UTC") or "UTC",
408 "max_system_events": 100,
409 "preferred_region": None,
410 "auto_import_mapped_files": True,
411 "enable_ip_lookup": True,
412 })
413
414 @classmethod
415 def get_system_time_zone(cls):

Callers 4

get_preferred_regionMethod · 0.80
get_system_time_zoneMethod · 0.80
environmentFunction · 0.80

Calls 1

_get_groupMethod · 0.80

Tested by

no test coverage detected