File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ pre-filled values:
284284# This modules functions and constants are available:
285285
286286# * DAY = 86400
287- # * HOSTNAME = 'NB-J2X12GGXQF '
287+ # * HOSTNAME = 'localhost '
288288# * HOUR = 3600
289289# * YEAR = 31536000
290290# * datetime = <class 'datetime.datetime'>
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class JWT:
2828 "__algorithms" ,
2929 )
3030
31- DEFAULT_EXPIRATION = 31 * DAY # one month
31+ DEFAULT_EXPIRATION = timedelta ( days = 31 ). total_seconds ()
3232 NBF_DELTA = 20
3333 ALGORITHMS = tuple (AlgorithmType .__args__ )
3434
Original file line number Diff line number Diff line change @@ -12,11 +12,10 @@ classifiers = [
1212 " Operating System :: POSIX" ,
1313 " Programming Language :: Python" ,
1414 " Programming Language :: Python :: 3" ,
15- " Programming Language :: Python :: 3.5" ,
16- " Programming Language :: Python :: 3.6" ,
17- " Programming Language :: Python :: 3.7" ,
18- " Programming Language :: Python :: 3.8" ,
19- " Programming Language :: Python :: 3.9" ,
15+ " Programming Language :: Python :: 3.10" ,
16+ " Programming Language :: Python :: 3.11" ,
17+ " Programming Language :: Python :: 3.12" ,
18+ " Programming Language :: Python :: 3.13" ,
2019 " Programming Language :: Python :: Implementation :: CPython" ,
2120 " Topic :: Security" ,
2221 " Typing :: Typed" ,
You can’t perform that action at this time.
0 commit comments