Skip to content

Commit

Permalink
Increase run logging (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossgray authored Jul 18, 2024
1 parent 4a9e279 commit 70d04a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pipeline/container/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,5 @@ def run(
raise
except Exception as exc:
raise RunnableError(exception=exc, traceback=traceback.format_exc())
logger.info("Run successful")
return result
2 changes: 1 addition & 1 deletion pipeline/container/routes/v4/runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def run(
response_queue: asyncio.Queue = asyncio.Queue()
execution_queue.put_nowait((run_create, response_queue))
run_output = await response_queue.get()

logger.info("Returning run result")
response_schema, response.status_code = _generate_run_result(run_output)
return response_schema

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pipeline-ai"
version = "2.4.1"
version = "2.4.2"
description = "Pipelines for machine learning workloads."
authors = [
"Paul Hetherington <ph@mystic.ai>",
Expand Down

0 comments on commit 70d04a3

Please sign in to comment.