MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / is_enabled

Method is_enabled

pushover_service.py:100–102  ·  view source on GitHub ↗

Return True when Pushover is both configured and enabled in config.

(self)

Source from the content-addressed store, hash-verified

98 return bool(user_key and api_token)
99
100 def is_enabled(self):
101 """Return True when Pushover is both configured and enabled in config."""
102 return self.shared_data.config.get("pushover_enabled", False) and self.is_configured()
103
104 # ------------------------------------------------------------------
105 # Core send

Callers 6

notify_new_devicesMethod · 0.95
notify_device_lostMethod · 0.95
rusense_enabledMethod · 0.95

Calls 2

is_configuredMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected