Skip to content

chore(objects): use self.encoded_id where applicable #1836

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
Jan 14, 2022

Conversation

JohnVillalovos
Copy link
Member

Updated a few remaining usages of self.id to use self.encoded_id
as for the most part we shouldn't be using self.id

There are now only a few (4 lines of code) remaining uses of
self.id, most of which seem that they should stay that way.

Updated a few remaining usages of `self.id` to use `self.encoded_id`
as for the most part we shouldn't be using `self.id`

There are now only a few (4 lines of code) remaining uses of
`self.id`, most of which seem that they should stay that way.
@JohnVillalovos
Copy link
Member Author

@nejch Last bit of them...

@JohnVillalovos JohnVillalovos requested a review from nejch January 14, 2022 00:30
@codecov-commenter
Copy link

Codecov Report

Merging #1836 (75758bf) into main (34110dd) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1836   +/-   ##
=======================================
  Coverage   92.25%   92.25%           
=======================================
  Files          77       77           
  Lines        4839     4839           
=======================================
  Hits         4464     4464           
  Misses        375      375           
Flag Coverage Δ
cli_func_v4 81.35% <0.00%> (ø)
py_func_v4 80.26% <28.57%> (ø)
unit 83.26% <71.42%> (ø)

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

Impacted Files Coverage Δ
gitlab/v4/objects/todos.py 100.00% <100.00%> (ø)
gitlab/v4/objects/users.py 95.90% <100.00%> (ø)

@nejch nejch merged commit 2c62d91 into main Jan 14, 2022
@nejch nejch deleted the jlvillal/id_to_encodedid branch January 14, 2022 01:05
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