Skip to content

fix: transfer guard non-boolean - #34

Merged
jjfrench merged 1 commit into
mainfrom
fix/transfer-guard
Sep 15, 2026
Merged

jjfrench merged 1 commit into
mainfrom
fix/transfer-guard

Conversation

@jjfrench

Copy link
Copy Markdown
Contributor

Description

@jjfrench jjfrench self-assigned this Sep 10, 2026
@jjfrench
jjfrench marked this pull request as ready for review September 10, 2026 20:21
@jjfrench
jjfrench requested a review from a team September 10, 2026 20:21
transfer = _input.get("transfer")
if transfer is not None and not isinstance(transfer, bool):
raise ValueError(
f"Invalid value for 'transfer': {transfer!r}. Must be a boolean."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooh I didn't know about !r, thanks for introducing me to it!

@jjfrench
jjfrench merged commit 84a6508 into main Sep 15, 2026
2 checks passed
@jjfrench
jjfrench deleted the fix/transfer-guard branch September 15, 2026 14:46
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