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

Constructor parameters not appearing on Type alias #6676

Open
bschnurr opened this issue Nov 18, 2024 · 1 comment
Open

Constructor parameters not appearing on Type alias #6676

bschnurr opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@bschnurr
Copy link
Member

Image

expected
Image

import Threading

start_new_thread = threading.Thread

start_new_thread()
@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Nov 18, 2024
@StellaHuang95
Copy link
Contributor

A simple repro example would be:

class A:
    def __init__(self, a: int):
        self.a = a

A()

B = A
B()

Hover on A() shows
Image

Hover on B() shows
Image

@StellaHuang95 StellaHuang95 added bug Something isn't working and removed needs repro Issue has not been reproduced yet labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants