Skip to content

Conversation

@Butanium
Copy link
Member

@Butanium Butanium commented Jan 7, 2026

Summary

  • Remove erroneous Tuple wrapper around *inputs parameter (each positional arg should be typed as Union[...], not Tuple[Union[...]])
  • Fix return type annotation to match actual return value: Tuple[Tuple[()], Dict[str, Any]] instead of Tuple[BatchEncoding, int]

Test plan

  • Type checking should pass without errors on this method

🤖 Generated with Claude Code

- Remove erroneous Tuple wrapper around *inputs (each arg is Union, not Tuple[Union])
- Fix return type to match actual return value: Tuple[Tuple[()], Dict[str, Any]]

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Butanium Butanium force-pushed the fix/prepare-input-typing branch from 019c95e to 6701f0d Compare January 7, 2026 21:49
@JadenFiotto-Kaufman JadenFiotto-Kaufman merged commit c594335 into ndif-team:main Jan 8, 2026
1 check passed
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