From 7aa7c670d6401f8c68a89f9b716c7c7905becff4 Mon Sep 17 00:00:00 2001 From: Mike Ossig Date: Thu, 22 Feb 2024 13:52:23 -0500 Subject: [PATCH] added model enum to credit scores --- method/resources/Entity.py | 8 +++++++- setup.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/method/resources/Entity.py b/method/resources/Entity.py index 9bcc63c..b55037c 100644 --- a/method/resources/Entity.py +++ b/method/resources/Entity.py @@ -55,6 +55,12 @@ ] +CreditScoresModelLiterals = Literal[ + 'vantage_4', + 'vantage_3' +] + + CreditReportBureausLiterals = Literal[ 'experian', 'equifax', @@ -183,7 +189,7 @@ class EntityCreditScoresFactorsType(TypedDict): class EntityCreditScoresType(TypedDict): score: int source: CreditReportBureausLiterals - model: str + model: CreditScoresModelLiterals factors: List[EntityCreditScoresFactorsType] created_at: str factors: EntityCreditScoresFactorsType diff --git a/setup.py b/setup.py index 1fb0659..f8121eb 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='method-python', - version='0.0.41', + version='0.0.42', description='Python library for the Method API', long_description='Python library for the Method API', long_description_content_type='text/x-rst',