zhongjiajie opened a new issue #6750:
URL: https://github.com/apache/dolphinscheduler/issues/6750


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   In pydolphinscheduler, when I create process definitions and use specific 
tenant to it, 
https://github.com/apache/dolphinscheduler/blob/484153ef761bd2f404a9cbf5a72e8605b5a376eb/dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py?_pjax=%23js-repo-pjax-container#L86-L90it
 would not pass to `create_user` function, and still use default value.
   
   I inspect and find out `User` object alway use default value in 
https://github.com/apache/dolphinscheduler/blob/484153ef761bd2f404a9cbf5a72e8605b5a376eb/dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py?_pjax=%23js-repo-pjax-container#L142-L150
   
   ### What you expected to happen
   
   parameter I assigned should be user
   
   ### How to reproduce
   
   run example
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]


Reply via email to