feat(api): return result from `SaveMixin.save()` by JohnVillalovos · Pull Request #1832 · python-gitlab/python-gitlab
Repository navigation
feat(api): return result from SaveMixin.save() - #1832
Merged
nejch merged 1 commit into main from jlvillal/return_save Jan 13, 2022
Merged
feat(api): return result from SaveMixin.save() #1832
nejch merged 1 commit into
main from
jlvillal/return_save
Conversation
JohnVillalovos commented Jan 13, 2022 · edited by nejch Loading
Copy link Copy Markdown
Member
Return the new object data when calling SaveMixin.save().
Also remove check for None value when calling
self.manager.update() as that method only returns a dictionary.
Closes #1081 .
JohnVillalovos requested a review from nejch January 13, 2022 22:31 JohnVillalovos mentioned this pull request Jan 13, 2022 fix: allow updating of sub-pages in wikis #1080 Closed nejch approved these changes Jan 13, 2022View reviewed changes
nejch commented Jan 13, 2022
Copy link Copy Markdown
Member
|
@JohnVillalovos I think we want this in the changelog so maybe even |
4ce0a87 to
675f587
Compare
January 13, 2022 22:39 JohnVillalovos changed the title chore(api): return result from
SaveMixin.save()
feat(api): return result from SaveMixin.save()
Jan 13, 2022
JohnVillalovos commented Jan 13, 2022
Copy link Copy Markdown
Member
Author
Sure! Done. |
nejch commented Jan 13, 2022
Copy link Copy Markdown
Member
|
@kernelport I've marked this as closing #1081 since it implements the rest of your PR. Feel free to reopen the issue if it's not solved after the release. You'll be credited as the author of the commit here. |
fc8cd44 to
d90443c
Compare
January 13, 2022 22:57
feat(api): return result from SaveMixin.save()
e6258a4
Return the new object data when calling `SaveMixin.save()`. Also remove check for `None` value when calling `self.manager.update()` as that method only returns a dictionary. Closes: #1081JohnVillalovos force-pushed the jlvillal/return_save branch from
d90443c to
e6258a4
Compare
January 13, 2022 22:57 nejch enabled auto-merge January 13, 2022 23:34
codecov-commenter commented Jan 13, 2022
Copy link Copy Markdown
Codecov Report
@@ Coverage Diff @@ ## main #1832 +/- ## ======================================= Coverage 92.20% 92.20% ======================================= Files 77 77 Lines 4834 4834 ======================================= Hits 4457 4457 Misses 377 377
Flags with carried forward coverage won't be shown. Click here to find out more.
|
27e0742
into
main
Jan 13, 2022
nejch
deleted the
jlvillal/return_save
branch
January 13, 2022 23:35
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment