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

Function _annotate

apps/output/views.py:740–741  ·  view source on GitHub ↗
(qs)

Source from the content-addressed store, hash-verified

738 # resolution path so a single channel lookup honors the same visibility
739 # rules as xc_get_live_streams.
740 def _annotate(qs):
741 return with_effective_values(qs, select_related_fks=True).exclude(hidden_from_output=True)
742
743 if user.user_level < 10:
744 user_profile_count = user.channel_profiles.count()

Callers 1

xc_get_epgFunction · 0.85

Calls 1

with_effective_valuesFunction · 0.90

Tested by

no test coverage detected