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 33 History
44-------
55
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+
6122.0.1 (2020-07-21)
713++++++++++++++++++
814
Original file line number Diff line number Diff line change 3838class BaseClient :
3939 _account_id : str
4040 _license_key : str
41- _locales : Tuple [str ]
41+ _locales : Tuple [str , ... ]
4242 _timeout : float
4343
4444 _score_uri : str
@@ -51,7 +51,7 @@ def __init__( # pylint: disable=too-many-arguments
5151 account_id : int ,
5252 license_key : str ,
5353 host : str = "minfraud.maxmind.com" ,
54- locales : Tuple [str ] = ("en" ,),
54+ locales : Tuple [str , ... ] = ("en" ,),
5555 timeout : float = 60 ,
5656 ) -> None :
5757 self ._locales = locales
@@ -227,7 +227,7 @@ def __init__( # pylint: disable=too-many-arguments
227227 account_id : int ,
228228 license_key : str ,
229229 host : str = "minfraud.maxmind.com" ,
230- locales : Tuple [str ] = ("en" ,),
230+ locales : Tuple [str , ... ] = ("en" ,),
231231 timeout : float = 60 ,
232232 ) -> None :
233233 """Constructor for AsyncClient.
@@ -413,7 +413,7 @@ def __init__( # pylint: disable=too-many-arguments
413413 account_id : int ,
414414 license_key : str ,
415415 host : str = "minfraud.maxmind.com" ,
416- locales : Tuple [str ] = ("en" ,),
416+ locales : Tuple [str , ... ] = ("en" ,),
417417 timeout : float = 60 ,
418418 ) -> None :
419419 """Constructor for Client.
You can’t perform that action at this time.
0 commit comments