cgi module is deprecated and will be removed in python 3.13
Per PEP-0594, the cgi module will be removed in the 3.13 release. Starting to see notices popping up for this now.
INFO - /usr/local/lib/python3.11/site-packages/tableauserverclient/server/endpoint/datasources_endpoint.py:1: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
This looks to be an issue when running 3.13 now:
When running TSC <0.33 I get this error: ModuleNotFoundError: No module named 'cgi'
When runninr TSC 0.33 I now see this: ImportError: cannot import name 'SiteItem' from 'tableauserverclient.server' Did you mean: 'ViewItem'?
@ontheaccount Please create a new issue with a minimum reproducible example. A cursory test script I used on python 3.13.0 with TSC v0.33 was unable to reproduce your stated error.