mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
forgot to add tuple typing
This commit is contained in:
parent
f52fe001cc
commit
b364df89ad
1 changed files with 1 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ def get_uprn(
|
||||||
"""
|
"""
|
||||||
df = get_epc_data_with_postcode(postcode=postcode)
|
df = get_epc_data_with_postcode(postcode=postcode)
|
||||||
|
|
||||||
result: Optional[] = get_uprn_with_epc_df(
|
result: Optional[tuple[str, str, float]] = get_uprn_with_epc_df(
|
||||||
user_inputed_address=user_inputed_address,
|
user_inputed_address=user_inputed_address,
|
||||||
epc_df=df,
|
epc_df=df,
|
||||||
verbose=True,
|
verbose=True,
|
||||||
|
|
@ -561,4 +561,3 @@ def handler(event, context, local=False):
|
||||||
# Don't add results to return messages as its too verbose
|
# Don't add results to return messages as its too verbose
|
||||||
# capture the exepection as e, into s3, to find the logs go to s3
|
# capture the exepection as e, into s3, to find the logs go to s3
|
||||||
# Upload results to s3 as well as csv
|
# Upload results to s3 as well as csv
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue