Replies: 2 comments
-
|
Hi @grmnz thank you! I'm not against of the data classes if it will increase the extensibility of the project. I will test this idea soon. Regarding of setting up the user to the request object you can take a look an example with FastAPI: https://github.com/aliev/aioauth-fastapi/blob/master/aioauth_fastapi/utils.py. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@grmnz v1.4.0 release on dataclasses now! thanks for your contribution! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
First, congrats on the good library you have developed! Thanks)
I'd like to hear your opinion on the usage of
dataclass's instead ofNamedTuples on the project.One of the reasons that I want to set a user to the request instance after the authorization process, but currently it is not possible.
There are also some difficulties with inheritance from
NamedTupleI suggest that it would be more convenient to write something like
@aliev, what do you think about using
dataclass's?P.S. Some notes from SO
Beta Was this translation helpful? Give feedback.
All reactions