pypomes-jwt 0.4.9__py3-none-any.whl → 0.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pypomes-jwt might be problematic. Click here for more details.
- pypomes_jwt/jwt_pomes.py +3 -0
- {pypomes_jwt-0.4.9.dist-info → pypomes_jwt-0.5.0.dist-info}/METADATA +1 -1
- pypomes_jwt-0.5.0.dist-info/RECORD +7 -0
- pypomes_jwt-0.4.9.dist-info/RECORD +0 -7
- {pypomes_jwt-0.4.9.dist-info → pypomes_jwt-0.5.0.dist-info}/WHEEL +0 -0
- {pypomes_jwt-0.4.9.dist-info → pypomes_jwt-0.5.0.dist-info}/licenses/LICENSE +0 -0
pypomes_jwt/jwt_pomes.py
CHANGED
|
@@ -41,6 +41,9 @@ def jwt_needed(func: callable) -> callable:
|
|
|
41
41
|
response: Response = jwt_verify_request(request=request) if JWT_ENDPOINT_URL else None
|
|
42
42
|
return response if response else func(*args, **kwargs)
|
|
43
43
|
|
|
44
|
+
# prevent a rogue error ("View function mapping is overwriting an existing endpoint function")
|
|
45
|
+
wrapper.__name__ = func.__name__
|
|
46
|
+
|
|
44
47
|
return wrapper
|
|
45
48
|
|
|
46
49
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pypomes_jwt
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: A collection of Python pomes, penyeach (JWT module)
|
|
5
5
|
Project-URL: Homepage, https://github.com/TheWiseCoder/PyPomes-JWT
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/TheWiseCoder/PyPomes-JWT/issues
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
pypomes_jwt/__init__.py,sha256=1IyBb94cZjkXMibHrH_vh043b06QFh5UQ6HTYSDau28,978
|
|
2
|
+
pypomes_jwt/jwt_data.py,sha256=g8wnWYI7bueCIuK67eW2Uy21ALYk5RbLigUHwljjzt4,17496
|
|
3
|
+
pypomes_jwt/jwt_pomes.py,sha256=IKfpvC3FO3ts-xfHQMxkPYQjeUjWrbVFOqXnNYJTKnM,11090
|
|
4
|
+
pypomes_jwt-0.5.0.dist-info/METADATA,sha256=0qWRdffYJRoy2Y69pgZGiB7BxJuIlcurNGvghFMGCxk,687
|
|
5
|
+
pypomes_jwt-0.5.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
6
|
+
pypomes_jwt-0.5.0.dist-info/licenses/LICENSE,sha256=NdakochSXm_H_-DSL_x2JlRCkYikj3snYYvTwgR5d_c,1086
|
|
7
|
+
pypomes_jwt-0.5.0.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
pypomes_jwt/__init__.py,sha256=1IyBb94cZjkXMibHrH_vh043b06QFh5UQ6HTYSDau28,978
|
|
2
|
-
pypomes_jwt/jwt_data.py,sha256=g8wnWYI7bueCIuK67eW2Uy21ALYk5RbLigUHwljjzt4,17496
|
|
3
|
-
pypomes_jwt/jwt_pomes.py,sha256=aPvoBhUqRCQ3yzXGab-RNvELLFlWvmZsDUNCas5VbDA,10950
|
|
4
|
-
pypomes_jwt-0.4.9.dist-info/METADATA,sha256=eb0MR5tHfoEGPmB9JjPOimSer5hwR5QRrU2j98Wsarg,687
|
|
5
|
-
pypomes_jwt-0.4.9.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
6
|
-
pypomes_jwt-0.4.9.dist-info/licenses/LICENSE,sha256=NdakochSXm_H_-DSL_x2JlRCkYikj3snYYvTwgR5d_c,1086
|
|
7
|
-
pypomes_jwt-0.4.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|