Skip to content

Commit

Permalink
Update lookup.py
Browse files Browse the repository at this point in the history
Add documentation for `source` argument
  • Loading branch information
dgravitate authored Aug 18, 2023
1 parent 35b0610 commit db96d2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions smartystreets_python_sdk/us_autocomplete_pro/lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def __init__(self, search=None, max_results=None, city_filter=None, state_filter
meaning that if it is not set to none, you may see addresses from the customer's area
when you may not desire it
:param selected: Used by UI components to request a list of secondaries (up to 100) for the specified address
:param source: Include results from alternate data sources. If no value is passed, the default will be `postal`.
Allowed values are:
all - will include non-postal addresses in the results
postal - will limit the results to postal addresses only
"""
self.result = []
self.search = search
Expand Down

0 comments on commit db96d2f

Please sign in to comment.