Skip to content

Commit

Permalink
Merge pull request #57 from smartystreets/eric/add-enrichment-secondary
Browse files Browse the repository at this point in the history
Improved Secondary Endpoint Response Hierarchy
  • Loading branch information
RyanLCox1 authored Aug 2, 2024
2 parents 7a3093e + 7c21625 commit 3b5808c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions smartystreets_python_sdk/us_enrichment/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,12 +770,9 @@ def get_secondary_aliases(secondary_aliases_obj):
if secondary_aliases_obj is None:
return None
output = []
output_list = []
for item in secondary_aliases_obj:
output.append(SecondaryAliases(item))
output_list.append(output)
output = []
return output_list
return output

class SecondarySecondaries:
def __init__(self, obj):
Expand All @@ -800,12 +797,9 @@ def get_secondary_secondaries(secondary_secondaries_obj):
if secondary_secondaries_obj is None:
return None
output = []
output_list = []
for item in secondary_secondaries_obj:
output.append(SecondarySecondaries(item))
output_list.append(output)
output = []
return output_list
return output

class SecondaryCountAttributes:
def __init__(self, obj):
Expand Down

0 comments on commit 3b5808c

Please sign in to comment.