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

Method create

apps/m3u/serializers.py:66–72  ·  view source on GitHub ↗
(self, validated_data)

Source from the content-addressed store, hash-verified

64 }
65
66 def create(self, validated_data):
67 m3u_account = self.context.get("m3u_account")
68
69 # Use the m3u_account when creating the profile
70 validated_data["m3u_account_id"] = m3u_account.id
71
72 return super().create(validated_data)
73
74 def validate(self, data):
75 """Custom validation to handle default profiles"""

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected