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

Function _get_epg_source

apps/epg/tasks.py:80–84  ·  view source on GitHub ↗
(source_id)

Source from the content-addressed store, hash-verified

78
79
80def _get_epg_source(source_id):
81 return _db_query_with_retry(
82 lambda: EPGSource.objects.get(id=source_id),
83 label=f"load EPG source {source_id}",
84 )
85
86
87def _set_epg_source_status(

Calls 2

_db_query_with_retryFunction · 0.70
getMethod · 0.45

Tested by 1