I sincerely don't see any explanation on this in the provided links, but anyway: I stumbled upon the same in my code, and did the silliest thing, i.e. short-circuit the first call. But it worked.
is_first_call = True
def refill_uniform(row, st=600):
nonlocal is_first_call
if is_first_call:
is_first_call = False
return row
... here goes the code