code: def user_create(self, email, username, restricted=True):
          
          params = {
              "email": email,
              "username": username,
              "restricted": restricted,
          }
          result = self.client.post('/account/users', data=params)
  
          if not 'email' and 'restricted' and 'username' in result:
              raise UnexpectedResponseError('Unexpected response when creating user!', json=result)
  
          u = User(self.client, result['username'], result)
          return u
docs: Creates a new user on your account.  If you create an unrestricted user,
          they will immediately be able to access everything on your account.  If
          you create a restricted user, you must grant them access to parts of your
          account that you want to allow them to manage (see :any:`User.grants` for
          details).
  
          The new user will receive an email inviting them to set up their password.
          This must be completed before they can log in.
  
          :param email: The new user's email address.  This is used to finish setting
                        up their user account.
          :type email: str
          :param username: The new user's unique username.  They will use this username
                           to log in.
          :type username: str
          :param restricted: If True, the new user must be granted access to parts of
                             the account before they can do anything.  If False, the
                             new user will immediately be able to manage the entire
                             account.  Defaults to True.
          :type restricted: True
  
          :returns The new User.
          :rtype: User