-
Notifications
You must be signed in to change notification settings - Fork 22
Add model version #139
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
Add model version #139
Conversation
fcollonval
left a comment
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 @davidbrochart
Should we move forward with this? If so I have two questions:
- What version should we use? I would be in favor of using
1.0.0and making the next release of the package1.0.0as we are going to release JupyterLab 4.0.0 and we have not seen a need for changes here. - Should we add the version in all cell types instead of just
YBaseCell?
|
IIRC in #138 we were discussing the use of WebSocket subprotocols, but I guess we don't need that now that we can pass the document model version in the DocSessionHandler's reply?
Sounds good to me.
You mean so that e.g. a Markdown cell and a code cell can have different document versions? If yes, I think so. |
Yes Do you have time to push this forward? Or should I do it? |
|
I can do it. |
|
Actually I'm wondering if cells should have a version, since they are not really a document. |
4b4bde3 to
c8bf2d4
Compare
c519959 to
3902151
Compare
|
My idea was to have a Any idea? |
|
An alternative would be to have an empty version in |
Yes I agree with you it make sense to only apply it for document types.
A solution would be to turn that class to an abstract class with |
Thanks, I tried to turn |
|
I would be in favor of dropping it as anyway that class is not meant to be instantiated. Pinging @hbcarlos for his opinion. |
|
Yes, we can drop it. |
04227ec to
10a2ea4
Compare
|
This |
522685f to
242f034
Compare
242f034 to
96abead
Compare
96abead to
bf92252
Compare
I think it was related to the changes in the |
hbcarlos
left a comment
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, @davidbrochart!
fcollonval
left a comment
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 @davidbrochart
Closes #138.