-
Notifications
You must be signed in to change notification settings - Fork 27
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 coverage and support for user-defined attributes #30
Comments
Some support will be needed though, since UDAs can have |
Would love to see this implemented. As a workaround, I thought I'd post the hack I'm using to handle deserializing UDA dates: import datetime
from tasklib.serializing import SerializingObject
serializer = SerializingObject({})
# dt is the UDA value I get from tasklib, I detect if it's already a datetime
# object for forwards-compatibility.
dt = dt if isinstance(dt, datetime.datetime) else serializer.timestamp_deserializer(dt) |
Do I correctly presume that there is no builtin way to parse the UDA of |
Even though one can use user-defined attributes with tasklib, we:
The text was updated successfully, but these errors were encountered: