File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ async def main():
5151 )
5252 ctx.run(" /golem/entrypoints/render_entrypoint.py" )
5353 ctx.download_file(" /golem/output/out.png" , f " output_ { frame} .png " )
54- yield ctx.commit()
54+ yield ctx.commit(task )
5555 # TODO : Check if job is valid
56- # and reject by: task.reject_task(msg = 'invalid file')
56+ # and reject by: task.reject_task(reason = 'invalid file')
5757 task.accept_task()
5858
5959 ctx.log(" no more frame to render" )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"
44
55[tool .poetry ]
66name = " yapapi"
7- version = " 0.1.3 "
7+ version = " 0.2.0 "
88description = " Hi-Level API for Golem The Next Milestone"
99authors = [
" Przemysław K. Rekucki <[email protected] >" ]
1010license = " LGPL-3.0-or-later"
You can’t perform that action at this time.
0 commit comments