fix(python): Fix next
on group by objects throw TypeError
#17355
Loading
next
on group by objects throw TypeError
#17355