-
Notifications
You must be signed in to change notification settings - Fork 1
Auth system (JWT) #75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Test performance drops a bit after adding test user creation on queryzen-api/apps/testing/views.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll check this again later
import httpx | ||
|
||
|
||
class HttpxWrapper: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm unsure if wee need a wrapper over httpx just to add a header token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'll be useful for future features such as who run the query (python-client, through http directly...)
any idea why? |
Nop, I suppose django needs to setup everytime this is called: # Create a new testing user for auth
User.objects.get_or_create(email="[email protected]", password=make_password('test')) |
No description provided.