You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if from_date > to_date :
raise ColumnValueError(
'invalid_timeline_dates',
self.id,
'Timeline from date cannot be after timeline to date.'
)
if from_date and to_date and self.value._is_milestone==False:
return {
'from': from_date,
'to' : to_date
}
if from_date and to_date and self.value._is_milestone==True:
return {
'from': from_date,
'to' : to_date,
'visualization_type': 'milestone'
}
it looks like you're parsing it in the reading from api, however when you format it back out, it doesn't look like you're handling it
if value['visualization_type'] == 'milestone':
is_milestone = True
the format method doesn't addend the visualization_type regardless of the valule
The text was updated successfully, but these errors were encountered: