Skip to content

Conversation

@dlangerm
Copy link
Contributor

@dlangerm dlangerm commented Dec 6, 2025

Description

Returning tuples is a standard way of returning multiple things from a single function in python. Currently it is verbose to define a named tuple for every return type, additionally, named tuples have their own scope separate from the function which may not always be desired.

This PR allows returning tuples of annotated tensors to be properly checked.

Testing

Please select all that apply.

  • Existing unit tests
  • Unit tests added by this PR
  • Other (please explain)
  • This PR is not tested

Test instructions

Unit tests

Resolves #23

@dlangerm dlangerm force-pushed the dlangerm/support-tuple-returns branch from f251c9f to 3d10cbc Compare December 13, 2025 18:26
@dlangerm-stackav dlangerm-stackav merged commit 0028eee into stackav-oss:main Dec 13, 2025
13 checks passed
@dlangerm dlangerm deleted the dlangerm/support-tuple-returns branch December 13, 2025 19:15
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.

Checked tuple returns

3 participants