def _set(self, opts):
    (_, errors) = self.rest.set_password_policy(opts.min_length, opts.upper_case, opts.lower_case, opts.digit, opts.special_char)
    _exit_if_errors(errors)
    _success('Password policy updated')
def _set(self, opts):
    (_, errors) = self.rest.set_password_policy(opts.min_length, opts.upper_case, opts.lower_case, opts.digit, opts.special_char)
    _exit_if_errors(errors)
    _success('Password policy updated')