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