add typehint

This commit is contained in:
Daniel Roth 2026-07-03 10:46:24 +00:00
parent f4f915cfb7
commit 1a5368571f

View file

@ -259,7 +259,7 @@ class HubspotDealDiffer:
def _is_abandoned(
number_of_attempts: Optional[str], outcome: Optional[str]
) -> bool:
attempts = parse_hs_int(number_of_attempts)
attempts: Optional[int] = parse_hs_int(number_of_attempts)
if (
attempts is None
or attempts < HubspotDealDiffer.ABANDONMENT_ATTEMPTS_THRESHOLD