def set_autoclear(self, value, auth_no_user_interaction=None):
        """Set autoclear flag for loop partition."""
        return self._M.Loop.SetAutoclear(
            '(ba{sv})',
            value,
            filter_opt({
                'auth.no_user_interaction': ('b', auth_no_user_interaction),
            })
        )
Set autoclear flag for loop partition.