Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(api): return result fromSaveMixin.save()#1832

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

Merged
nejch merged 1 commit intomainfromjlvillal/return_save
Jan 13, 2022

Conversation

JohnVillalovos
Copy link
Member

@JohnVillalovosJohnVillalovos commentedJan 13, 2022
edited by nejch
Loading

Return the new object data when callingSaveMixin.save().

Also remove check forNone value when calling
self.manager.update() as that method only returns a dictionary.

Closes#1081.

@nejch
Copy link
Member

@JohnVillalovos I think we want this in the changelog so maybe evenfeat :)

@JohnVillalovosJohnVillalovos changed the titlechore(api): return result fromSaveMixin.save()feat(api): return result fromSaveMixin.save()Jan 13, 2022
@JohnVillalovos
Copy link
MemberAuthor

@JohnVillalovos I think we want this in the changelog so maybe evenfeat :)

Sure! Done.

@nejch
Copy link
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.

@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/return_save branch 2 times, most recently fromfc8cd44 tod90443cCompareJanuary 13, 2022 22:57
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
@codecov-commenter
Copy link

Codecov Report

Merging#1832 (e6258a4) intomain (8b14ff0) willnot change coverage.
The diff coverage is75.00%.

@@           Coverage Diff           @@##             main    #1832   +/-   ##=======================================  Coverage   92.20%   92.20%           =======================================  Files          77       77             Lines        4834     4834           =======================================  Hits         4457     4457             Misses        377      377
FlagCoverage Δ
cli_func_v481.38% <25.00%> (ø)
py_func_v480.20% <75.00%> (ø)
unit83.20% <75.00%> (ø)

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
gitlab/mixins.py91.50% <75.00%> (ø)

@nejchnejch merged commit27e0742 intomainJan 13, 2022
@nejchnejch deleted the jlvillal/return_save branchJanuary 13, 2022 23:35
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nejchnejchnejch approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Feature Request: project.wikis page.save() should return the updated page

4 participants

@JohnVillalovos@nejch@codecov-commenter@kernelport

[8]ページ先頭

©2009-2025 Movatter.jp