Can't import datetime on python block

Hello!

I took a read to the python workflow docs here and it mentions that datetime is a supported library

But as you can see in the screenshots below it does not apear to be the case, Iv'e tried most of the libraries listed on the docs, and so far datetime is the only one I have not been able to import

Screenshot 2023-06-27 at 16.19.59

Screenshot 2023-06-27 at 16.19.33

Is there any way to use datetime a python code block in a workflow?

Hey @RandomBot!

Thanks for flagging this, it looks like the linting error here may be a bug, are you able to use the library regardless of it?

Hey!

it seems you are right.

I didn't notice the library still worked, so I had to use the to_datetime functionality inside of pandas, which is not ideal