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

Add return type hints to util methods #1754

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

zachschillaci27
Copy link
Contributor

Adding return type hints to the main methods of sentence_transformers/util.py

@tomaarsen
Copy link
Collaborator

tomaarsen commented Dec 18, 2023

Hello Zach!

Thanks for this PR! I believe all of your proposed typehints are correct. I've merged main into this & will be merging now that the tests passed :)

  • Tom Aarsen

@tomaarsen tomaarsen merged commit aae5d40 into UKPLab:master Dec 18, 2023
8 checks passed
@zachschillaci27 zachschillaci27 deleted the add-typing-to-util branch December 18, 2023 14:14
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