File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # 1.2.2
2+ - Extend the fallback cache TTL to 5 minutes.
3+
14# 1.2.1
25- Add autodeploy to PyPI
36- Remove Support for EOL Python 3.5
Original file line number Diff line number Diff line change 77from mauth_client .exceptions import InauthenticError
88
99CACHE_MAXSIZE = 128
10- CACHE_TTL = 60
10+ CACHE_TTL = 300
1111MAX_AGE_REGEX = re .compile (r"max-age=(\d+)" )
1212
1313
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " mauth-client"
3- version = " 1.2.1 "
3+ version = " 1.2.2 "
44description = " MAuth Client for Python"
55repository = " https://github.com/mdsol/mauth-client-python"
66authors = [" Medidata Solutions <support@mdsol.com>" ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def test_get_request(self):
4646 requests .get (MAUTH_PATH , text = json .dumps (MAUTH_RESPONSE ))
4747 self .assertEqual (KeyHolder .get_public_key (APP_UUID ), PUBLIC_KEY )
4848 self .assertEqual (KeyHolder ._CACHE .maxsize , 128 )
49- self .assertEqual (KeyHolder ._CACHE .ttl , 60 )
49+ self .assertEqual (KeyHolder ._CACHE .ttl , 300 )
5050
5151 def test_get_request_respect_cache_header (self ):
5252 KeyHolder ._CACHE = None
You can’t perform that action at this time.
0 commit comments