Skip to content

fix: iterator possible breaking change - #2107

Merged
nejch merged 1 commit into
mainfrom
jlvillal/iterator
Jun 27, 2022
Merged

fix: iterator possible breaking change#2107
nejch merged 1 commit into
mainfrom
jlvillal/iterator

Conversation

@JohnVillalovos

Copy link
Copy Markdown
Member

Commit b644721 inadvertently
introduced a possible breaking change as it added a new argument
iterator and added it in between existing positional arguments.

Move the iterator argument to the end of the argument list and also
require it to be a keyword-only argument.

Commit b644721 inadvertently
introduced a possible breaking change as it added a new argument
`iterator` and added it in between existing positional arguments.

Move the `iterator` argument to the end of the argument list and also
require it to be a keyword-only argument.
@JohnVillalovos
JohnVillalovos requested a review from nejch June 27, 2022 15:05
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #2107 (8743c85) into main (ebd5795) will not change coverage.
The diff coverage is 91.66%.

@@           Coverage Diff           @@
##             main    #2107   +/-   ##
=======================================
  Coverage   94.73%   94.73%           
=======================================
  Files          78       78           
  Lines        5087     5087           
=======================================
  Hits         4819     4819           
  Misses        268      268           
Flag Coverage Δ
cli_func_v4 82.42% <41.66%> (ø)
py_func_v4 81.14% <66.66%> (ø)
unit 85.80% <25.00%> (ø)

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

Impacted Files Coverage Δ
gitlab/utils.py 100.00% <ø> (ø)
gitlab/v4/objects/jobs.py 77.27% <50.00%> (ø)
gitlab/mixins.py 92.30% <100.00%> (ø)
gitlab/v4/objects/artifacts.py 100.00% <100.00%> (ø)
gitlab/v4/objects/files.py 100.00% <100.00%> (ø)
gitlab/v4/objects/packages.py 96.29% <100.00%> (ø)
gitlab/v4/objects/projects.py 90.00% <100.00%> (ø)
gitlab/v4/objects/repositories.py 83.07% <100.00%> (ø)
gitlab/v4/objects/snippets.py 98.00% <100.00%> (ø)

Comment thread gitlab/mixins.py
@nejch
nejch merged commit 212ddfc into main Jun 27, 2022
@nejch
nejch deleted the jlvillal/iterator branch June 27, 2022 19:53
@nejch

nejch commented Jun 27, 2022

Copy link
Copy Markdown
Member

I just changed this to a refactor so it doesnt show up in the changelog as it does not affect a released version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants