Skip to content

Mae/business name#90

Open
mae-smarty wants to merge 4 commits into
masterfrom
mae/business-name
Open

Mae/business name#90
mae-smarty wants to merge 4 commits into
masterfrom
mae/business-name

Conversation

@mae-smarty

Copy link
Copy Markdown
Contributor

Added the business_name input parameter and associated testing and examples.

@mae-smarty mae-smarty marked this pull request as ready for review June 9, 2026 17:30
Comment thread examples/us_enrichment_business_name_search_example.py
Comment thread smartystreets_python_sdk/us_enrichment/lookup.py Outdated
Comment thread smartystreets_python_sdk/us_enrichment/lookup.py Outdated
and _is_blank(getattr(lookup, 'business_name', None))
):
raise SmartyException("Lookup requires one of 'smartykey', 'street', or 'freeform' to be set")
raise SmartyException("Lookup requires one of 'smartykey', 'street', 'freeform', or 'business_name' to be set")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

If you make a change according to my Lookup comment, I would change this too to either be smarty_key or businessName

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

snake case is more consistent with the rest of the file, but I'm concerned about the impact changing smartykey and other inconsistently named variables would have on any customers who set them directly. I think i'll make a clickup task for this and a few other formatting changes that would impact customers so they can be in a separate pr.

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