runpod.serverless has no attribute progress_update (runpod_python 1.7.12)
I've been given a task to look into an existing serverless handler written in python. I updated the dependencies, and now I'm getting
runpod.serverless has no attribute "progress_update". I looked into it, and it seems that it's defined in rp_progress, which is not being exposed as a module? is this intentional? is there a different feature that exposes the same functionality that is undocumented, or am I doing something wrong? It's been the first time in forever that I did any python aside from really small scripts, so I might actually be missing something.2 Replies
Resolved in #🎤|general https://discord.com/channels/912829806415085598/948767517332107274/1385599145573744703
It seems that
runpod.serverless lost an import that exposes progress_update somehow. Current workaround is to import from runpod.serverless.modules.rp_progress directlyThis is being fixed https://github.com/runpod/runpod-python/pull/437
GitHub
fix: proper public exports by all by deanq · Pull Request #437...
This fixes the missing progress_update but also prevents accidental cleanup when using code formatters