-
Notifications
You must be signed in to change notification settings - Fork 88
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
Providing millisecondes in timedelta does not work #372
Comments
could this silent downcast be a ticket for marshmallow instead of for environs @sloria? |
@ddelange that's a good idea. would you mind reporting that? |
MRE: >>> from marshmallow import fields
>>> field = fields.TimeDelta()
>>> field.deserialize(2.9)
datetime.timedelta(seconds=2) I'd like to report, but it looks like issues have been disabled: https://github.com/marshmallow-code/marshmallow/issues |
Yeah...issues are temporarily disabled as we're mitigating a spam attack |
I've opened marshmallow-code/marshmallow#2654 with that, I think this issue and #368 can now be closed. |
Providing a float amount of seconds in timedelta does not work
will have a value of 42 seconds, ignoring the decimal part.
A PR to solve this was already submitted #368 and closed with no valid reason
The text was updated successfully, but these errors were encountered: