potiuk commented on issue #19891: URL: https://github.com/apache/airflow/issues/19891#issuecomment-1000345868
> Reference PR: #20409 -- PS. I had to disable pre-commit to be able to push it (for discussion)... Yes @khalidmammadov - it does not work if you add example_*.pyi - we noticed that before (and it makes sense because definition of the class is elsewhere. You should add .pyi in the package where the classs is imported from. In #20409 you tried to change the definition in the example* and it's not going to work because stubs only work if they are next to the class they stub as I understand it It is not perfect solution - of course, because it does not show you that the class has mandatory parameter when you use it so we will have to replace it with something better, but it will work for now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
