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

Function _extract_requested_network_identifier

webapp_modern.py:1848–1858  ·  view source on GitHub ↗

Read a requested network identifier from common query params.

()

Source from the content-addressed store, hash-verified

1846
1847def _wt_seen_path():
1848 return os.path.join(shared_data.datadir, 'watchtower_seen.json')
1849
1850
1851def _wt_get():
1852 """Lazily build the aggregator, seeding its display ring from the persisted
1853 file so the pane isn't blank right after a restart."""
1854 global _watchtower
1855 if _watchtower is not None:
1856 return _watchtower
1857 import watchtower as _wtmod
1858 cfg = shared_data.config
1859 dirs = cfg.get('watchtower_dirs') or None
1860 try:
1861 maxa = int(cfg.get('watchtower_max_alerts', 500))

Callers 2

get_dashboard_quickFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected