Skip to content

Replace assertions with warnings. #321

Closed
ionelmc wants to merge 1 commit intojawah:mainfrom
ionelmc:main
Closed

Replace assertions with warnings. #321
ionelmc wants to merge 1 commit intojawah:mainfrom
ionelmc:main

Conversation

@ionelmc
Copy link

@ionelmc ionelmc commented Mar 9, 2026

@ionelmc
Copy link
Author

ionelmc commented Mar 9, 2026

Well here it goes. Pretty sure something is wrong with streaming (I don't use that feature).

@Ousret
Copy link
Member

Ousret commented Mar 10, 2026

this was the right path moving forward. I wanted to remove the assert entierly, but this can't happen until we upgrade mypy due to a bug there. and as for the warning it's going to introduce friction in some pipeline that are rather strict on warnings.

see #322 instead

it should resolve the pain point completely.

regards,

ps. couldn't start from your PR due to the branch name conflict with "main".

@Ousret Ousret closed this Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants