Skip to content

Commit 3d604b1

Browse files
authored
Merge pull request #156 from maxmind/greg/deprecate-subscores
Deprecate Factors subscores
2 parents 878fdb1 + 1f666d2 commit 3d604b1

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

HISTORY.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
History
44
-------
55

6+
2.12.0
7+
+++++++++++++++++++
8+
9+
* The minFraud Factors subscores have been deprecated. They will be removed
10+
in March 2025. Please see `our release notes <https://dev.maxmind.com/minfraud/release-notes/2024/#deprecation-of-risk-factor-scoressubscores>`_
11+
for more information.
12+
613
2.12.0b1 (2024-09-06)
714
+++++++++++++++++++++
815

minfraud/models.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,9 @@ def _create_warnings(warnings: List[Dict[str, str]]) -> Tuple[ServiceWarning, ..
863863
class Subscores:
864864
"""Risk factor scores used in calculating the overall risk score.
865865
866+
.. deprecated:: 2.12.0
867+
Use RiskScoreReason instead.
868+
866869
.. attribute:: avs_result
867870
868871
The risk associated with the AVS result. If present, this is a value
@@ -1329,6 +1332,9 @@ class Factors:
13291332
individual risk factors that are used to calculate the overall risk
13301333
score.
13311334
1335+
.. deprecated:: 2.12.0
1336+
Use RiskScoreReason instead.
1337+
13321338
.. attribute:: risk_score_reasons
13331339
13341340
This tuple contains :class:`.RiskScoreReason` objects that describe

0 commit comments

Comments
 (0)