Skip to content

fix: use Any (typing) instead of any (builtin) in get_distribution return type#2160

Closed
heyalchang wants to merge 1 commit intoNousResearch:mainfrom
heyalchang:upstream/fix-any-typing
Closed

fix: use Any (typing) instead of any (builtin) in get_distribution return type#2160
heyalchang wants to merge 1 commit intoNousResearch:mainfrom
heyalchang:upstream/fix-any-typing

Conversation

@heyalchang
Copy link
Copy Markdown
Contributor

get_distribution() uses any (the builtin function) instead of Any (from typing) in its return type annotation. Any is already imported on line 22.

Fixes #2139

…n return type

`any` is the builtin function, not a type annotation. The correct
typing import `Any` is already present on line 22.

Fixes NousResearch#2139
@heyalchang
Copy link
Copy Markdown
Contributor Author

Closing — #2143 was first and correctly adds Any to the import line. My PR missed that Any wasn't already imported. Sorry for the duplicate!

@heyalchang heyalchang closed this Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant