def invite(self, event):
        """A new user has been invited to enrol by an admin user"""

        self.log('Inviting new user to enrol')
        name = event.data['name']
        email = event.data['email']
        method = event.data['method']

        self._invite(name, method, email, event.client.uuid, event)
def invite ( self , event ) : self . log ( 'Inviting new user to enrol' ) name = event . data [ 'name' ] email = event . data [ 'email' ] method = event . data [ 'method' ] self . _invite ( name , method , email , event . client . uuid , event )
A new user has been invited to enrol by an admin user