Skip to content
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

release: always assign name from server data #243

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Conversation

ktdreyer
Copy link
Member

@ktdreyer ktdreyer commented Jun 2, 2023

Prior to this change, if a user created a Release class by specifying an ID number instead of a name string, the class would always set the name property to None. For example, this would be None:

Release(id=1234).name

Assign name when we process all the other data attributes in _setattr().

Prior to this change, if a user created a Release class by specifying an
ID number instead of a name string, the class would always set the name
property to None. For example, this would be None:

  Release(id=1234).name

Assign name when we process all the other data attributes in _setattr().
@ktdreyer ktdreyer merged commit 910b054 into master Jul 19, 2023
6 checks passed
@ktdreyer ktdreyer deleted the release-name-by-id branch July 19, 2023 18:18
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.

1 participant