Skip to content

Commit 6faf6d5

Browse files
authored
Merge pull request #42 from dgravitate/master
Add missing documentation for `source` argument
2 parents 74a70ca + db96d2f commit 6faf6d5

File tree

1 file changed

+4
-0
lines changed
  • smartystreets_python_sdk/us_autocomplete_pro

1 file changed

+4
-0
lines changed

smartystreets_python_sdk/us_autocomplete_pro/lookup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ def __init__(self, search=None, max_results=None, city_filter=None, state_filter
3232
meaning that if it is not set to none, you may see addresses from the customer's area
3333
when you may not desire it
3434
:param selected: Used by UI components to request a list of secondaries (up to 100) for the specified address
35+
:param source: Include results from alternate data sources. If no value is passed, the default will be `postal`.
36+
Allowed values are:
37+
all - will include non-postal addresses in the results
38+
postal - will limit the results to postal addresses only
3539
"""
3640
self.result = []
3741
self.search = search

0 commit comments

Comments
 (0)