mirror of
https://github.com/run-llama/investments-review-agent.git
synced 2026-07-01 21:34:17 -04:00
[PR #3] Replace assert statements with proper exception handling #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/investments-review-agent/pull/3
Author: @DeanNeaht
Created: 2/5/2026
Status: 🔄 Open
Base:
main← Head:fix/replace-asserts-with-proper-errors📝 Commits (1)
bd5effcReplace assert statements with proper exception handling📊 Changes
3 files changed (+34 additions, -8 deletions)
View changed files
➕
src/investments_review/exceptions.py(+22 -0)📝
src/investments_review/presentations/workflow.py(+5 -4)📝
src/investments_review/sheets/workflow.py(+7 -4)📄 Description
Hi!
Found
assertbeing used. This is problematic because asserts get disabled when python runs with-Oflag, which would silently skip these checks in production.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.