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

Won't fail if addresses_to_search isn't iterable #5

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

BryceStevenWilley
Copy link
Contributor

This came up in Teaching Tuesday: Aubrey wanted to override addresses_to_search to not ask for the addresses from other people on the same side in the case, and tried addresses_to_search = users[0].address, which seemed like it could have worked, except it errored.

Given that the other place addresses_to_search is matching_courts(), which does handle both iterables and non-iterables, it makes sense that we handle non-iterables when displaying things too.

Copy link
Member

@nonprofittechy nonprofittechy left a comment

Choose a reason for hiding this comment

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

Deep cut :-)

@BryceStevenWilley BryceStevenWilley merged commit c57b125 into main Nov 18, 2021
@BryceStevenWilley BryceStevenWilley deleted the addresses_not_iterable branch November 18, 2021 03:03
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.

2 participants