Closed andriangashper closed 5 months ago
Hey @andriangashper, thanks for reporting! 😄
I just ran your steps above to reproduce but didn't get any errors. I then looked at your stack trace which says while in main()
, it tried to run apply_dml_to_data_model(client)
and failed at step print(dm)
(which seems to be missing in your example). With this change, when I try to print the same object as you, I now also get the same error!
I've made a fix and linked the PR above. I will let you know once the fix is live, probably Monday morning!
Just kidding, here's the link (🤦 ) : https://github.com/cognitedata/cognite-sdk-python/pull/1628
Fixed in 7.20.1
@andriangashper
@haakonvt Great. Thanks!
System information (please complete the following information):
Describe the bug In cognite/client/utils/_time.py One needs to make sure that item[k] is integer. Otherwise In a
Type error
in the ms_to_datetime funciton (see error at the end)To Reproduce Runnable code reproducing the error.
Expected behavior
Screenshots