Python influxdb_client_3 query error (tutorial code)

I’m noticing exactly the same error as OP.