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

Class ChannelProfileMembership

apps/channels/models.py:1056–1064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1054
1055
1056class ChannelProfileMembership(models.Model):
1057 channel_profile = models.ForeignKey(ChannelProfile, on_delete=models.CASCADE)
1058 channel = models.ForeignKey(Channel, on_delete=models.CASCADE)
1059 enabled = models.BooleanField(
1060 default=True
1061 ) # Track if the channel is enabled for this group
1062
1063 class Meta:
1064 unique_together = ("channel_profile", "channel")
1065
1066
1067class ChannelStream(models.Model):

Callers 6

sync_auto_channelsFunction · 0.90
createMethod · 0.85
from_streamMethod · 0.85
patchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected