-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: add the possibility to switch from two lines layout to single one #50
feat: add the possibility to switch from two lines layout to single one #50
Conversation
2a46044
to
ba6bd7b
Compare
9f6d5d8
to
9dbcc24
Compare
@ThomasParistech I fixed your comments. Ready to merge 🎈 |
080b2af
to
d502c4c
Compare
Need python 3.11 to use the Self variable that you have suggest. |
from dataclasses import dataclass | ||
from dataclasses import fields | ||
from typing import ClassVar | ||
from typing import Self |
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.
from typing import Self | |
from typing_extensions import Self |
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.
@ThomasParistech Don't you think it is better to put python to 3.11 rather than using a backport feature ?
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.
from typing_extensions import Self
is already used through the code
But you're right, let's upgrade python!
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.
Ah I have not seen that typing_extensions was already use
d502c4c
to
1c5f08f
Compare
Description
Support of the switch from single line to 2 lines stat panel as worked here:
#45
Now the solution is less expensive as we recalculate only the panels elements