Skip to content

Type hint better #656

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

Closed
HouLingLXH opened this issue Apr 19, 2022 · 4 comments
Closed

Type hint better #656

HouLingLXH opened this issue Apr 19, 2022 · 4 comments
Assignees

Comments

@HouLingLXH
Copy link

I expect type of parameters and returned value will be specific,

Now I modified the file in python_stubs to realized it, but it is a not good way.

How to do it better ?

Expected behaviour

image

Actual behaviour

image

Steps to reproduce

@asmorkalov
Copy link
Collaborator

OpenCV team is working on Python stubs with static types, but it's not there yet. I cannot give you any ETA for the feature, please follow release notes.

@asmorkalov
Copy link
Collaborator

opencv/opencv#20370

@VadimLevin
Copy link

@asmorkalov we can close this issue since mentioned PR is merged

@asmorkalov
Copy link
Collaborator

Sure

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

No branches or pull requests

3 participants