File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 3
3
History
4
4
-------
5
5
6
+ 2.0.2
7
+ ++++++++++++++++++
8
+
9
+ * Fixed type annotation for ``locales `` in ``minfraud.webservice `` to allow
10
+ tuples of arbitrary length. Reported by Árni Már Jónsson. GitHub #60.
11
+
6
12
2.0.1 (2020-07-21)
7
13
++++++++++++++++++
8
14
Original file line number Diff line number Diff line change 38
38
class BaseClient :
39
39
_account_id : str
40
40
_license_key : str
41
- _locales : Tuple [str ]
41
+ _locales : Tuple [str , ... ]
42
42
_timeout : float
43
43
44
44
_score_uri : str
@@ -51,7 +51,7 @@ def __init__( # pylint: disable=too-many-arguments
51
51
account_id : int ,
52
52
license_key : str ,
53
53
host : str = "minfraud.maxmind.com" ,
54
- locales : Tuple [str ] = ("en" ,),
54
+ locales : Tuple [str , ... ] = ("en" ,),
55
55
timeout : float = 60 ,
56
56
) -> None :
57
57
self ._locales = locales
@@ -227,7 +227,7 @@ def __init__( # pylint: disable=too-many-arguments
227
227
account_id : int ,
228
228
license_key : str ,
229
229
host : str = "minfraud.maxmind.com" ,
230
- locales : Tuple [str ] = ("en" ,),
230
+ locales : Tuple [str , ... ] = ("en" ,),
231
231
timeout : float = 60 ,
232
232
) -> None :
233
233
"""Constructor for AsyncClient.
@@ -413,7 +413,7 @@ def __init__( # pylint: disable=too-many-arguments
413
413
account_id : int ,
414
414
license_key : str ,
415
415
host : str = "minfraud.maxmind.com" ,
416
- locales : Tuple [str ] = ("en" ,),
416
+ locales : Tuple [str , ... ] = ("en" ,),
417
417
timeout : float = 60 ,
418
418
) -> None :
419
419
"""Constructor for Client.
You can’t perform that action at this time.
0 commit comments