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

Shorter way to specify name.full(middle='full') #834

Merged
merged 2 commits into from
Mar 15, 2024
Merged

Conversation

nonprofittechy
Copy link
Member

Fix #818

Adds 3 new methods directly on ALIndividual to shorten various methods of IndividualName:

  • ALIndividual.name_full() = ALIndividual.name.full(middle="full")
  • ALIndividual.name_short() = ALIndividual.name.firstlast()
  • ALIndividual.name_initials() = ALIndividual.name.full(middle="initial")

Copy link

@samglover samglover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nonprofittechy nonprofittechy merged commit 7db1af9 into main Mar 15, 2024
5 checks passed
@BryceStevenWilley BryceStevenWilley deleted the name_full branch March 24, 2024 16:38
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.

Create a shorter way to specify users[0].name.full(middle="full")
2 participants