Oh, I misunderstood. Yes, we'll need to avoid the lambda default. Change it to a module-level function.