def create_user(self, **kwargs):
        """Creates and returns a new user from the given parameters."""
        kwargs = self._prepare_create_user_args(**kwargs)
        user = self.user_model(**kwargs)
        return self.put(user)
def create_user ( self , ** kwargs ) : kwargs = self . _prepare_create_user_args ( ** kwargs ) user = self . user_model ( ** kwargs ) return self . put ( user )
Creates and returns a new user from the given parameters.