dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Feature][python] Enforce type hint in python api

Open zhongjiajie opened this issue 3 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

Some of our code in https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-python/pydolphinscheduler do not have the type hint, we should force the type hint for all of our code

I know we can use mypy https://mypy.readthedocs.io/en/stable/ for the the type hint, and you can also add the other package to do it

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

zhongjiajie avatar Aug 11 '22 06:08 zhongjiajie

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

github-actions[bot] avatar Aug 11 '22 06:08 github-actions[bot]