Skip to content

Feat: Add assert_not_both_not_none#426

Open
Ashutosh0x wants to merge 1 commit intogoogle-deepmind:mainfrom
Ashutosh0x:feat/issue-393
Open

Feat: Add assert_not_both_not_none#426
Ashutosh0x wants to merge 1 commit intogoogle-deepmind:mainfrom
Ashutosh0x:feat/issue-393

Conversation

@Ashutosh0x
Copy link

@Ashutosh0x Ashutosh0x commented Jan 6, 2026

Resolves #393.

Adds a new assertion assert_not_both_not_none that ensures at most one argument is not None, verifying mutually exclusive population.

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.

Assert for either is populated but not both

1 participant