thoughtspot / cs_tools

Scale your ThoughtSpot adoption with tools created by the ThoughtSpot Solutions Consulting organization.
https://thoughtspot.github.io/cs_tools/
Other
8 stars 6 forks source link

Object of type datetime is not JSON serializable in gather #156

Closed kaypro4 closed 1 month ago

kaypro4 commented 2 months ago

First Stop

Platform Configuration

cs-tools-info-2024-07-12

Description

Hello, when I execute this commend:

cs_tools tools searchable gather --syncer json://directory=.

I receive this error "TypeError: Object of type datetime is not JSON serializable"

I am able to execute this command cs_tools tools searchable gather --syncer csv://directory=. successfully. When I run the json version it generates ts_org.json and ts_cluster.json and then throws the error.

Thanks! Matt

Need to upload log files securely?

No response

boonhapus commented 2 months ago

Thanks for reporting this @kaypro4 ! I'll release a fix within a few days, should be easy enough.

boonhapus commented 1 month ago

This should be fixed in v1.5.9 , feel free to re-open if this still doesn't work.