Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@model_observer(get_user_model())
async def user_change(self, message, **kwargs):
await self.send_json(message)
@model_observer(get_user_model())
async def user_other(self, message, **kwargs):
await self.send_json(message)