Skip to content

Commit 6c73fdc

Browse files
authored
added model enum to credit scores (#32)
1 parent 2135353 commit 6c73fdc

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

method/resources/Entity.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
]
5656

5757

58+
CreditScoresModelLiterals = Literal[
59+
'vantage_4',
60+
'vantage_3'
61+
]
62+
63+
5864
CreditReportBureausLiterals = Literal[
5965
'experian',
6066
'equifax',
@@ -183,7 +189,7 @@ class EntityCreditScoresFactorsType(TypedDict):
183189
class EntityCreditScoresType(TypedDict):
184190
score: int
185191
source: CreditReportBureausLiterals
186-
model: str
192+
model: CreditScoresModelLiterals
187193
factors: List[EntityCreditScoresFactorsType]
188194
created_at: str
189195
factors: EntityCreditScoresFactorsType

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='method-python',
5-
version='0.0.41',
5+
version='0.0.42',
66
description='Python library for the Method API',
77
long_description='Python library for the Method API',
88
long_description_content_type='text/x-rst',

0 commit comments

Comments
 (0)