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
Create a Property with DType time, date or datetime will fail, if the corresponding value is not appropriately formatted as specified in dtypes.py.
# fails with message 'odml.Property.values: passed values are not of consistent type!'
prop = odml.Property(name="dateprop", dtype=odml.DType.date, value=['20190707'])
# works fine
prop = odml.Property(name="dateprop", dtype=odml.DType.date, value=['2019-07-07'])
This behavior is fine, but the resulting error message should be helpful in pointing towards the expected, correct format.
The text was updated successfully, but these errors were encountered:
Create a Property with DType
time
,date
ordatetime
will fail, if the corresponding value is not appropriately formatted as specified indtypes.py
.This behavior is fine, but the resulting error message should be helpful in pointing towards the expected, correct format.
The text was updated successfully, but these errors were encountered: