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

Method _sync_developer_notifications

core/apps.py:43–55  ·  view source on GitHub ↗

Sync developer notifications from JSON file to database.

(self)

Source from the content-addressed store, hash-verified

41 self._sync_developer_notifications()
42
43 def _sync_developer_notifications(self):
44 """Sync developer notifications from JSON file to database."""
45 from django.db import connection
46 import logging
47
48 logger = logging.getLogger(__name__)
49
50
51 try:
52 from core.developer_notifications import sync_developer_notifications
53 sync_developer_notifications()
54 except Exception as e:
55 logger.warning(f"Failed to sync developer notifications on startup: {e}")
56

Callers 1

readyMethod · 0.95

Calls 1

Tested by

no test coverage detected