« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 1018 ms

fix: support array types for most resources by nejch · Pull Request #2196 · python-gitlab/python-gitlab

Source: https://github.com/python-gitlab/python-gitlab/pull/2196

Repository navigation

fix: support array types for most resources - #2196


Merged
JohnVillalovos merged 3 commits into main from fix/array-attributes Jul 28, 2022
Merged

fix: support array types for most resources #2196 JohnVillalovos merged 3 commits into main from fix/array-attributes

Conversation

nejch commented Jul 28, 2022 · edited Loading



Copy link Copy Markdown
Member

Closes #780 .

I skipped array of hashes and I didn't touch some endpoints like merge requests that I think need another look at this topic (merge requests in particular). It's already a chunky PR, so I split it into fix/test/docs commits.

nejch marked this pull request as ready for review July 28, 2022 11:34 nejch force-pushed the fix/array-attributes branch from 44970c9 to e740cfa
Compare
July 28, 2022 11:34

codecov-commenter commented Jul 28, 2022



Copy link Copy Markdown

Codecov Report

Merging #2196 (44970c9 ) into main (510ec30 ) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head 44970c9 differs from pull request most recent head e740cfa . Consider uploading reports for the commit e740cfa to get more accurate results

@@            Coverage Diff             @@
##             main    #2196      +/-   ##
==========================================
+ Coverage   95.53%   95.55%   +0.01%     
==========================================
  Files          81       81              
  Lines        5309     5331      +22     
==========================================
+ Hits         5072     5094      +22     
  Misses        237      237              
Flag Coverage Δ
api_func_v4 81.56% <100.00%> (+0.07%) ⬆️
cli_func_v4 83.11% <100.00%> (+0.29%) ⬆️
unit 87.33% <100.00%> (+0.05%) ⬆️

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

Impacted Files Coverage Δ
gitlab/v4/objects/projects.py 100.00% <ø> (ø)
gitlab/v4/objects/broadcast_messages.py 100.00% <100.00%> (ø)
gitlab/v4/objects/deploy_tokens.py 100.00% <100.00%> (ø)
gitlab/v4/objects/environments.py 100.00% <100.00%> (ø)
gitlab/v4/objects/group_access_tokens.py 100.00% <100.00%> (ø)
gitlab/v4/objects/invitations.py 100.00% <100.00%> (ø)
gitlab/v4/objects/jobs.py 78.26% <100.00%> (+0.64%) ⬆️
gitlab/v4/objects/members.py 94.82% <100.00%> (ø)
gitlab/v4/objects/personal_access_tokens.py 100.00% <100.00%> (ø)
gitlab/v4/objects/project_access_tokens.py 100.00% <100.00%> (ø)
... and 3 more
nejch requested a review from JohnVillalovos July 28, 2022 11:36 JohnVillalovos requested changes Jul 28, 2022
View reviewed changes

JohnVillalovos left a comment



Copy link Copy Markdown
Member

Choose a reason for hiding this comment

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

Wow! That looks like it took a lot of time to go through all the docs!! Thanks.

Left comments on two things I saw.

nejch added 3 commits July 28, 2022 16:28 fix: support array types for most resources dc3887f test(cli): add tests for token scopes d013444 docs(cli): showcase use of token scopes 6716897 nejch force-pushed the fix/array-attributes branch from e740cfa to 6716897
Compare
July 28, 2022 14:28 nejch requested a review from JohnVillalovos July 28, 2022 14:30 JohnVillalovos approved these changes Jul 28, 2022
View reviewed changes

JohnVillalovos left a comment



Copy link Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @nejch

JohnVillalovos enabled auto-merge (rebase) July 28, 2022 14:33 JohnVillalovos merged commit 4a6f8d6 into main Jul 28, 2022 JohnVillalovos deleted the fix/array-attributes branch July 28, 2022 14:41 Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

3 participants