forgot to add tuple typing

This commit is contained in:
Jun-te Kim 2026-05-12 10:31:54 +00:00
parent f52fe001cc
commit b364df89ad

View file

@ -136,7 +136,7 @@ def get_uprn(
"""
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,
epc_df=df,
verbose=True,
@ -561,4 +561,3 @@ def handler(event, context, local=False):
# 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
# Upload results to s3 as well as csv