Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
80
def
_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
87
def
_set_epg_source_status(
Callers
2
test_get_epg_source_uses_retry_helper
Method · 0.90
_refresh_epg_data_impl
Function · 0.85
Calls
2
_db_query_with_retry
Function · 0.70
get
Method · 0.45
Tested by
1
test_get_epg_source_uses_retry_helper
Method · 0.72