GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Tableau Server Client (Python)
  • Docs
  • API Reference
  • Forum
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Cookie Preferences
  • Your Privacy Choices
  • GitHub page
  • All rights reserved.

This view

  • Original page
  • New address

GeezerVison is showing tableau.github.io — Versions

  • Get Started
  • Getting Help
  • Sign In and Out
  • Versions
  • Page Through Results
  • Populate Connections and Views
  • Filter and Sort
  • Environment Variables
  • Samples
  • Troubleshooting
  • Developer Guide
  • API Reference
    • Authentication
    • Auth Federation
    • Connections
    • Custom Views
    • Data Sources
    • Favorites
    • Filters
    • Flows
    • Groups
    • Group Sets
    • Jobs
    • Metadata
    • Projects
    • Requests
    • Schedules
    • Server
    • Sites
    • Sort
    • Subscriptions
    • Tasks
    • Users
    • Views
    • Virtual Connections
    • Webhooks
    • Workbooks

Versions

Edit this page   Submit an issue

Because the TSC library is a client for the Tableau Server REST API, you need to confirm that the version of the TSC library that you use is compatible with the version of the REST API used by your installation of Tableau Server.

For reference, the REST API and Resource Versions page has more details about versions.

  • Display the REST API version
  • Use the REST API version supported by the server
  • Use a specific version of the REST API
  • Supported versions

Display the REST API version

To display the default version of the REST API used by TSC, run the following code:

import tableauserverclient as TSC

server = TSC.Server('http://SERVER_URL')

print(server.version)

For example, the code might display version 3.20.

Use the REST API version supported by the server

It’s recommended to always use the latest REST API version supported by the server. This helps ensure you’ll get the latest behaviors as documented here and in the Tableau REST API documentation.

There are two options for always using the the latest version supported by the instance of Tableau Server you are connecting to:

The first method is to specify use_server_version=True as one of the arguments, for example:

import tableauserverclient as TSC

server = TSC.Server('http://SERVER_URL', use_server_version=True)

The second method is to create the server object first, then call the use_server_version() method on it. There are some situations where this method is needed. For instance, if you want to disable certificate checking, you have to do that after you create the server object, but before you make calls to the server (use_server_version makes a call to the server).

import tableauserverclient as TSC

server = TSC.Server('http://SERVER_URL')
server.use_server_version()

Use a specific version of the REST API

To use a specific version of the REST API, set the version like so:

import tableauserverclient as TSC

server = TSC.Server('http://SERVER_URL')
server.version = '3.20'

Supported versions

The TSC library uses the same REST API versions as used in Tableau Server and Tableau Cloud. Refer to the Tableau Server versions and REST API versions table for an up-to-date mapping.

Note that Tableau provides support and security updates for each version of the product for a specific period of time. Review the Supported Versions table on the Technical Support Programs page for details.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.