MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / is_valid

Method is_valid

apps/users/serializers/user.py:216–218  ·  view source on GitHub ↗
(self, *, raise_exception=True)

Source from the content-addressed store, hash-verified

214 )
215
216 def is_valid(self, *, raise_exception=True):
217 super().is_valid(raise_exception=True)
218 self._check_unique_username_and_email()
219
220 def _check_unique_username_and_email(self):
221 username = self.data.get('username')

Callers

nothing calls this directly

Calls 2

is_validMethod · 0.45

Tested by

no test coverage detected