Skip to content

chore: make ListMixin._list_filters always present #1411

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
Apr 25, 2021
Merged

chore: make ListMixin._list_filters always present #1411

merged 1 commit into from
Apr 25, 2021

Conversation

JohnVillalovos
Copy link
Member

Always create ListMixin._list_filters attribute with a default value
of tuple().

This way we don't need to use hasattr() and we will know the type of
the attribute.

Always create ListMixin._list_filters attribute with a default value
of tuple().

This way we don't need to use hasattr() and we will know the type of
the attribute.
@codecov-commenter
Copy link

Codecov Report

Merging #1411 (8933113) into master (4f79dff) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1411   +/-   ##
=======================================
  Coverage   80.20%   80.20%           
=======================================
  Files          73       73           
  Lines        4067     4067           
=======================================
  Hits         3262     3262           
  Misses        805      805           
Flag Coverage Δ
unit 80.20% <100.00%> (ø)

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

Impacted Files Coverage Δ
gitlab/client.py 78.96% <100.00%> (-0.06%) ⬇️
gitlab/mixins.py 77.27% <100.00%> (+0.05%) ⬆️
gitlab/v4/cli.py 41.63% <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 cfc42d2...8933113. Read the comment docs.

@max-wittig max-wittig merged commit 62c75b5 into python-gitlab:master Apr 25, 2021
@JohnVillalovos JohnVillalovos deleted the jlvillal/list_filters branch January 4, 2022 06:51
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