diff --git a/etl/hubspot/hubspot_deal_differ.py b/etl/hubspot/hubspot_deal_differ.py index de9680e65..1a3dfc409 100644 --- a/etl/hubspot/hubspot_deal_differ.py +++ b/etl/hubspot/hubspot_deal_differ.py @@ -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