Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VizQLDataServiceOpenAPISchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "VizQL Data Service",
"description": "An API to query Tableau published data sources",
"version": "1.1"
"version": "20252.0"
},
"servers": [
{
Expand Down
4 changes: 4 additions & 0 deletions python_sdk/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 20252.0.0 (August 2025)

* Match version with Tableau release format

## 1.1.2 (August 2025)

* Pass verify ssl in VizDataServiceClient to allow the use of custom cert to resolve certificate issue
Expand Down
2 changes: 1 addition & 1 deletion python_sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![PyPI Version](https://img.shields.io/pypi/v/vizql-data-service-py.svg)](https://pypi.org/project/vizql-data-service-py/)
[![Python Version](https://img.shields.io/badge/python-3.9%2B-blue.svg)](https://www.python.org/downloads/)
[![OpenAPI](https://img.shields.io/badge/OpenAPI-3.0.3-green.svg)](https://raw.githubusercontent.com/tableau/VizQL-Data-Service/refs/heads/main/VizQLDataServiceOpenAPISchema.json)
[![Downloads](https://img.shields.io/pypi/dm/vizql-data-service-py.svg)](https://pypi.org/project/vizql-data-service-py/)
[![Downloads](https://static.pepy.tech/badge/vizql-data-service-py/month)](https://pypi.org/project/vizql-data-service-py/)

The VizQL Data Service Python SDK is a lightweight client library that enables interaction with Tableau's VizQL Data Service APIs. It supports both cloud and on-premises deployments, offering both synchronous and asynchronous methods for querying the VizQL Data Service APIs.

Expand Down
2 changes: 1 addition & 1 deletion python_sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "vizql-data-service-py"
version = "1.1.2" # This value is manually updated. The major and minor versions must always be the same as the version defined in VizQLDataServiceOpenAPISchema.json
version = "20252.0.0" # This value is manually updated. The major and minor versions must always be the same as the version defined in VizQLDataServiceOpenAPISchema.json

description = "A Python client library for interacting with the VizQL Data Service API"
readme = "README.md"
Expand Down
5 changes: 3 additions & 2 deletions python_sdk/scripts/post_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def convert_file(input_file, output_file):

# Regex replacements
replacementsRegex = {
r"\bField\b": "PydanticField",
r"\bField\(": r"PydanticField(",
r" model_config = ConfigDict\(\n extra=\'forbid\',\n \)\n": "",
}

Expand All @@ -19,7 +19,8 @@ def convert_file(input_file, output_file):
replacements = {
"FieldModel": "Field",
"Optional[List[Filter]]": "Optional[List[TabFilter]]",
"from pydantic import ConfigDict, PydanticField, RootModel": "from pydantic import Field as PydanticField, RootModel",
Comment thread
rjiangsalesforce marked this conversation as resolved.
", Field, ": ", Field as PydanticField, ",
Comment thread
rjiangsalesforce marked this conversation as resolved.
" ConfigDict,": "",
"import TableauModel": "from .tableau_model import TableauModel",
}

Expand Down
2 changes: 1 addition & 1 deletion python_sdk/src/api/tableau_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


class TableauModel(BaseModel):
model_config = ConfigDict(extra="forbid", populate_by_name=True)
model_config = ConfigDict(extra="ignore", populate_by_name=True)