File tree Expand file tree Collapse file tree 4 files changed +14
-25
lines changed
Expand file tree Collapse file tree 4 files changed +14
-25
lines changed Original file line number Diff line number Diff line change 33
44.. include :: ../README.rst
55
6- =======
7- Modules
8- =======
6+ ==================
7+ Web Service Client
8+ ==================
99
1010.. automodule :: minfraud
1111 :members:
@@ -15,10 +15,18 @@ Modules
1515 :members:
1616 :no-undoc-members:
1717
18+ ===============
19+ Response Models
20+ ===============
21+
1822.. automodule :: minfraud.models
1923 :members:
2024 :no-undoc-members:
2125
26+ ======
27+ Errors
28+ ======
29+
2230.. automodule :: minfraud.errors
2331 :members:
2432 :no-undoc-members:
Original file line number Diff line number Diff line change 1- """
2- minfraud
3- ~~~~~~~~
4-
5- A client API to MaxMind's minFraud Score and Insights web services.
6- """
7-
81# flake8: noqa: F401
92from .errors import (
103 AuthenticationError ,
Original file line number Diff line number Diff line change 1- """
2- minfraud.models
3- ~~~~~~~~~~~~~~~
4-
5- This module contains models for the minFraud response object.
6-
7- """
1+ """Models for the minFraud response object."""
82
93# pylint:disable=too-many-lines,too-many-instance-attributes,too-many-locals
104from collections .abc import Sequence
@@ -22,7 +16,7 @@ def __ne__(self, other: object) -> bool:
2216 return not self .__eq__ (other )
2317
2418 def to_dict (self ) -> dict :
25- """Returns a dict of the object suitable for serialization."""
19+ """Return a dict of the object suitable for serialization."""
2620 result = {}
2721 for key , value in self .__dict__ .items ():
2822 if hasattr (value , "to_dict" ) and callable (value .to_dict ):
Original file line number Diff line number Diff line change 1- """
2- minfraud.webservice
3- ~~~~~~~~~~~~~~~~~~~
4-
5- This module contains the webservice client class.
6-
7- """
1+ """Client for minFraud Score, Insights, and Factors."""
82
93import json
104from collections .abc import Sequence
You can’t perform that action at this time.
0 commit comments