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

fix: checking if RESTManager._from_parent_attrs is set#1367

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 intopython-gitlab:masterfromJohnVillalovos:jlvillal/from_parent_attrs
Mar 10, 2021
Merged

fix: checking if RESTManager._from_parent_attrs is set#1367

nejch merged 1 commit intopython-gitlab:masterfromJohnVillalovos:jlvillal/from_parent_attrs
Mar 10, 2021

Conversation

JohnVillalovos
Copy link
Member

Prior to commit3727cbd
RESTManager._from_parent_attrs did not exist unless it was explicitly
set. But commit3727cbd set it to a
default value of {}.

So the checks using hasattr() were no longer valid.

Update the checks to check if RESTManager._from_parent_attrs has a
value.

Prior to commit3727cbdRESTManager._from_parent_attrs did not exist unless it was explicitlyset. But commit3727cbd set it to adefault value of {}.So the checks using hasattr() were no longer valid.Update the checks to check if RESTManager._from_parent_attrs has avalue.
@codecov-io
Copy link

Codecov Report

Merging#1367 (8224b40) intomaster (de73ea7) willdecrease coverage by0.00%.
The diff coverage is62.50%.

Impacted file tree graph

@@            Coverage Diff             @@##           master    #1367      +/-   ##==========================================- Coverage   79.94%   79.93%   -0.01%==========================================  Files          73       73                Lines        4008     4011       +3     ==========================================+ Hits         3204     3206       +2- Misses        804      805       +1
FlagCoverage Δ
unit79.93% <62.50%> (-0.01%)⬇️

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

Impacted FilesCoverage Δ
gitlab/v4/cli.py40.71% <57.14%> (+0.31%)⬆️
gitlab/base.py84.86% <100.00%> (ø)

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatede73ea7...8224b40. Read thecomment docs.

@nejchnejch merged commitf93b9b5 intopython-gitlab:masterMar 10, 2021
@JohnVillalovosJohnVillalovos deleted the jlvillal/from_parent_attrs branchMarch 14, 2021 17:47
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@JohnVillalovos@codecov-io@nejch

[8]ページ先頭

©2009-2025 Movatter.jp