Comments (4)
For anyone else who runs into this, you can configure mypy to ignore the all of the typehints provided by this library.
Here's what I added in my pyproject.toml
file:
[[tool.mypy.overrides]]
# https://github.com/jazzband/djangorestframework-simplejwt/issues/787
module = "rest_framework_simplejwt.*"
follow_imports = "skip"
from djangorestframework-simplejwt.
just for diagnosing. yes i see the issues too thanks!
from djangorestframework-simplejwt.
@mlazar-endear do you have django-stubs enabled? I believe that's a requirement for type checking simplejwt
from djangorestframework-simplejwt.
@Andrew-Chen-Wang Yes I do, but I don't see any reason why that would matter.
django-stubs==4.2.7
django-stubs-ext==4.2.7
djangorestframework-stubs==3.14.5
django==4.2.10
djangorestframework-simplejwt==5.3.1
from djangorestframework-simplejwt.
Related Issues (20)
- Cookie based authentication HOT 1
- Caim "Issued At" not updated after token refresh
- Add Security Warning while using `for_user` method HOT 15
- Feature Request: Redis Support for Blacklisted JWTs HOT 1
- Token verification and validation
- Library does not automatically verify that the token hasn't been tampered with HOT 8
- Trouble fetching data using the token HOT 1
- Verify check tell refresh token is ok, anyway that is blacklisted
- Import "rest_framework_simplejwt.authentication" could not be resolved Pylance (reportMissingImports) HOT 2
- Import Error on Django 5 HOT 1
- ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) with djangorestframework-jwt HOT 1
- How setup AWS Cognito with djangorestframework-simplejwt HOT 2
- CVE-2024-22513 HOT 1
- Security Issue HOT 3
- `Token` subclass' `for_user` method is typed to return a `Token` HOT 1
- encrypt username instead of user_id HOT 1
- The translation of the message "No active account found with the given credentials" does not work in various locales HOT 1
- TokenRefreshView doesn't register token_blacklist_outstandingtoken HOT 2
- How can we return custom JWT from dj-rest-auth instead of the session key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from djangorestframework-simplejwt.