mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
add typehint
This commit is contained in:
parent
f4f915cfb7
commit
1a5368571f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue