Skip to content

Commit 8577767

Browse files
committed
fix this
1 parent 4a6342d commit 8577767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runpod/serverless/modules/rp_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async def run_job_generator(
155155
'''
156156
try:
157157
job_output = handler(job)
158-
for output_partial in job_output:
158+
async for output_partial in job_output:
159159
yield {"output": output_partial}
160160
except Exception as err: # pylint: disable=broad-except
161161
log.error(f'Error while running job {job["id"]}: {err}')

0 commit comments

Comments
 (0)