Skip to content

fix: iterator possible breaking change #2107

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2022
Merged

fix: iterator possible breaking change #2107

merged 1 commit into from
Jun 27, 2022

Conversation

JohnVillalovos
Copy link
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

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%> (ø)

@nejch nejch merged commit 212ddfc into main Jun 27, 2022
@nejch nejch deleted the jlvillal/iterator branch June 27, 2022 19:53
@nejch
Copy link
Member

nejch commented Jun 27, 2022

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