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

[python] Fix change exists pd attribute user error #9140

Merged
merged 2 commits into from
Mar 24, 2022

Conversation

zhongjiajie
Copy link
Member

  • Remove attribute from class ProcessDefinition, cause it should to
    object User instead of object ProcessDefinition.
  • Grant project to user if attribute user change for exists ProcessDefinition

close: #8751

* Remove attribute from class ProcessDefinition, cause it should to
  object User instead of object ProcessDefinition.
* Grant project to user if attribute user change for exists ProcessDefinition

close: apache#8751
@zhongjiajie zhongjiajie self-assigned this Mar 23, 2022
@zhongjiajie zhongjiajie added bug Something isn't working Python labels Mar 23, 2022
@zhongjiajie zhongjiajie reopened this Mar 24, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #9140 (fabc39e) into dev (23b2450) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev    #9140   +/-   ##
=========================================
  Coverage     40.27%   40.27%           
- Complexity     4363     4365    +2     
=========================================
  Files           808      808           
  Lines         32547    32569   +22     
  Branches       3646     3650    +4     
=========================================
+ Hits          13108    13118   +10     
- Misses        18210    18220   +10     
- Partials       1229     1231    +2     
Impacted Files Coverage Δ
...heduler/api/service/impl/ResourcesServiceImpl.java 53.24% <0.00%> (-0.43%) ⬇️
...olphinscheduler/plugin/alert/email/MailSender.java 73.42% <0.00%> (+0.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23b2450...fabc39e. Read the comment docs.

@sonarcloud
Copy link

sonarcloud bot commented Mar 24, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@zhongjiajie
Copy link
Member Author

PTAL @devosend @jieguangzhou thanks.

Copy link
Contributor

@devosend devosend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jieguangzhou jieguangzhou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@caishunfeng caishunfeng merged commit 5289b09 into apache:dev Mar 24, 2022
@zhongjiajie zhongjiajie deleted the py-bug-ch-attr-user branch March 24, 2022 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] [python] Change param user, queue do no work in ProcessDefinition
5 participants