Skip to content

module 'runpod.serverless' has no attribute 'progress_update' #303

@Mon711

Description

@Mon711

When I tried running the function runpod.serverless.progress_update(job), I got the error module 'runpod.serverless' has no attribute 'progress_update'.

I copied the code from the official documentation Click Here

The code in the documentation to "Send progress updates during job execution" is as follows:

import runpod

def handler(job):
    for update_number in range(0, 3):
        runpod.serverless.progress_update(job, f"Update {update_number}/3")
    
    return "done"

runpod.serverless.start({"handler": handler})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions