← Winnitude! Search  ·  Reader Mode (973 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 41 LINKS

feat: add support for lists of integers to ListAttribute by JohnVillalovos · Pull Request #1415 · python-gitlab/python-gitlab

Repository navigation

feat: add support for lists of integers to ListAttribute - #1415


Merged
nejch merged 1 commit into python-gitlab:master from JohnVillalovos:jlvillal/list_attribute_int Apr 26, 2021
Merged

feat: add support for lists of integers to ListAttribute #1415 nejch merged 1 commit into python-gitlab:master from JohnVillalovos:jlvillal/list_attribute_int

Conversation

JohnVillalovos commented Apr 25, 2021



Copy link Copy Markdown
Member

Previously ListAttribute only support lists of integers. Now be more
flexible and support lists of items which can be coerced into strings,
for example integers.

This will help us fix issue #1407 by using ListAttribute for the
'iids' field.

feat: add support for lists of integers to ListAttribute 115938b
Previously ListAttribute only support lists of integers. Now be more
flexible and support lists of items which can be coerced into strings,
for example integers.

This will help us fix issue #1407 by using ListAttribute for the
'iids' field.

codecov-commenter commented Apr 25, 2021



Copy link Copy Markdown

Codecov Report

Merging #1415 (115938b ) into master (e37de18 ) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1415   +/-   ##
=======================================
  Coverage   80.18%   80.18%           
=======================================
  Files          73       73           
  Lines        4063     4063           
=======================================
  Hits         3258     3258           
  Misses        805      805           
Flag Coverage Δ
unit 80.18% <100.00%> (ø)

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

Impacted Files Coverage Δ
gitlab/types.py 92.59% <100.00%> (ø)

Continue to review full report at Codecov .

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov . Last update e37de18...115938b . Read the comment docs .

JohnVillalovos mentioned this pull request Apr 25, 2021 fix: iids not working as a list in projects.issues.list() #1413 Merged nejch approved these changes Apr 26, 2021
View reviewed changes

nejch 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 .

I think it's a good idea to merge this first :) later when it comes to individual endpoints it might be good to add int. tests for those to see how gitlab behaves.

nejch merged commit dde01c7 into python-gitlab : master Apr 26, 2021 JohnVillalovos deleted the jlvillal/list_attribute_int branch April 27, 2021 16:04 Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

3 participants