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

Tensorflow.test missing #11747

Open
zippeurfou opened this issue Apr 11, 2024 · 2 comments
Open

Tensorflow.test missing #11747

zippeurfou opened this issue Apr 11, 2024 · 2 comments
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module

Comments

@zippeurfou
Copy link

zippeurfou commented Apr 11, 2024

Tensorflow has a test module (see here).
However, this is not recognized.
Screenshot 2024-04-11 at 4 58 35 PM
to reproduce try doing:
from tensorflow.test import TestCase
Let me know if you need extra information. I couldn't find an issue template.

@AlexWaygood AlexWaygood added the stubs: incomplete Annotations or sub-modules missing from an existing package or module label Apr 11, 2024
@JelleZijlstra
Copy link
Member

Our Tensorflow stubs are marked as partial (

partial_stub = true
). I verified that the py.typed file in the types-tensorflow PyPI package contains the string partial, which should tell type checkers that the package is incomplete.

As such, I don't think there is a bug in typeshed here. We already know the package is incomplete, and there've been valiant efforts to complete it.

@zippeurfou
Copy link
Author

Thanks @JelleZijlstra, I guess this is more a feature request then :). As I said, I didn't know how to report this properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module
Projects
None yet
Development

No branches or pull requests

3 participants