-
Notifications
You must be signed in to change notification settings - Fork 200
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
Expose request to model events #660
Expose request to model events #660
Conversation
I'd like to finish checks and tests but can someone help me with hatch / "poetry install" not working, it says |
Thank you for the PR, you can check here: https://github.com/aminalaee/sqladmin/blob/main/CONTRIBUTING.md |
I'm sorry can you please take a look at this, what am I missing? it just won't find lint @aminalaee
|
69c1040
to
3b5c122
Compare
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.
Thanks for the PR 👍
it's useful to access request on say on_model_change, primarily for session data. By accessing a session token set in AuthenticationBackend, you can easily implement multitenancy for example.