-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
Migrate SampleType to DX #2584
Migrate SampleType to DX #2584
Conversation
@xispa thanks for review. hope it is ok now :) |
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.
Many thanks, we are almost there!
Besides the comments I've left, please add the counterpart doctests for the two functions you added in senaite.core.api.dtime
at https://github.com/senaite/senaite.core/blob/2.x/src/senaite/core/tests/doctests/API_datetime.rst .
Thanks man!
@xispa here we go :) the new iteration served :) |
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.
Awesome, thanks! 🚀
Description of the issue/feature this PR addresses
This PR migrates the AT SampleType to Dexterity types for Python 3 compatibility.
Current behavior before PR
SampleType is a content type based on the Archetypes framework
Desired behavior after PR is merged
SampleType is a content type based on the Dexterity framework
--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.