Skip to content

Commit 96d67c2

Browse files
committed
Correct misleading type for warnings
1 parent afd8e1e commit 96d67c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

minfraud/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ class Factors:
11251125
risk_score: float
11261126
shipping_address: ShippingAddress
11271127
subscores: Subscores
1128-
warnings: List[ServiceWarning]
1128+
warnings: Tuple[ServiceWarning, ...]
11291129

11301130
__slots__ = ()
11311131
_fields = {
@@ -1249,7 +1249,7 @@ class Insights:
12491249
queries_remaining: int
12501250
risk_score: float
12511251
shipping_address: ShippingAddress
1252-
warnings: List[ServiceWarning]
1252+
warnings: Tuple[ServiceWarning, ...]
12531253

12541254
__slots__ = ()
12551255
_fields = {
@@ -1333,7 +1333,7 @@ class Score:
13331333
ip_address: ScoreIPAddress
13341334
queries_remaining: int
13351335
risk_score: float
1336-
warnings: List[ServiceWarning]
1336+
warnings: Tuple[ServiceWarning, ...]
13371337

13381338
__slots__ = ()
13391339
_fields = {

0 commit comments

Comments
 (0)