- Notifications
You must be signed in to change notification settings - Fork673
fix(cli): add _from_parent_attrs to user-project manager (#2558)#2588
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecovbot commentedAug 27, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## main #2588 +/- ##======================================= Coverage 96.35% 96.35% ======================================= Files 87 87 Lines 5656 5657 +1 =======================================+ Hits 5450 5451 +1 Misses 206 206
Flags with carried forward coverage won't be shown.Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks@w7089 and sorry for the delay here. I've pushed a functional test so we can make sure this works in the future.
Changes
setting
_from_parent_attrs
onUserProjectManager
and using it in itslist
methodresolves#2558 and allows specific user's projects to be returned successfully.The inspiration for the fix came from
_from_parent_attrs = {"user_id": "id"}
line ofUserProjectManager
.Tested by running below script with arguments:
user-project list --user-id [user_id]