Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting incorrect Tuple type hints #24

Merged
merged 3 commits into from
Jul 3, 2023

Conversation

robertbartel
Copy link
Contributor

Replacing occurrences of Tuple['T'] with Tuple['T', ...] as appropriate.

Closes #23.

Correcting typing hints declaring use of Tuple['T'] (for some T) but
intending a tuple having any number of T objects (i.e. Tuple['T', ...].
Correcting typing hints declaring use of Tuple['T'] (for some T) but
intending a tuple having any number of T objects (i.e. Tuple['T', ...].
aaraney
aaraney previously approved these changes Jul 3, 2023
Copy link
Member

@aaraney aaraney left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks, @robertbartel.

@robertbartel
Copy link
Contributor Author

@aaraney, this needs a quick re-review. I didn't bump the package's version previously.

@aaraney
Copy link
Member

aaraney commented Jul 3, 2023

Not sure why the test runners are failing. Having had a look at the list of available python interpreter versions, ~=3.6 is listed and available on x64.

@robertbartel robertbartel merged commit b8d8ee1 into NOAA-OWP:master Jul 3, 2023
@robertbartel robertbartel deleted the fix_23 branch July 3, 2023 15:30
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.

Correct type hints for variable length Tuple returns in Catchment and Nexus classes
2 participants