-
Notifications
You must be signed in to change notification settings - Fork 121
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 timestamps extension #161
Conversation
That seems correct to me. I would expect that if |
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.
Looking good, comments inline.
Also note that you should add a CHANGELOG entry for this. Thanks! |
Should have mentioned this before, but can you add an |
sure, will do |
adds
timestamps
extensioncloses #135
One question I have is about the
apply
method inTimestampsItemExt
(and this question could be relevant to other extensions as well): if you pass null values for optional arguments defining properties that are already defined in that item, should the null value override the existing property?So for example:
item
already haspublished
andexpired
defined.if i do
item.ext.timestamps.apply(unpublished=d)
, this will convert those other two properties to None. Should this be the case?