Skip to content

Commit 4134e7f

Browse files
Version change and fix the backward compatible bug (#10)
* update the version * fix job failure due to latest data model version generating new import * change the version format
1 parent 3356cdf commit 4134e7f

6 files changed

Lines changed: 11 additions & 6 deletions

File tree

VizQLDataServiceOpenAPISchema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "VizQL Data Service",
55
"description": "An API to query Tableau published data sources",
6-
"version": "1.1"
6+
"version": "20252.0"
77
},
88
"servers": [
99
{

python_sdk/CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 20252.0.0 (August 2025)
2+
3+
* Match version with Tableau release format
4+
15
## 1.1.2 (August 2025)
26

37
* Pass verify ssl in VizDataServiceClient to allow the use of custom cert to resolve certificate issue

python_sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![PyPI Version](https://img.shields.io/pypi/v/vizql-data-service-py.svg)](https://pypi.org/project/vizql-data-service-py/)
77
[![Python Version](https://img.shields.io/badge/python-3.9%2B-blue.svg)](https://www.python.org/downloads/)
88
[![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)
9-
[![Downloads](https://img.shields.io/pypi/dm/vizql-data-service-py.svg)](https://pypi.org/project/vizql-data-service-py/)
9+
[![Downloads](https://static.pepy.tech/badge/vizql-data-service-py/month)](https://pypi.org/project/vizql-data-service-py/)
1010

1111
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.
1212

python_sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "vizql-data-service-py"
7-
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
7+
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
88

99
description = "A Python client library for interacting with the VizQL Data Service API"
1010
readme = "README.md"

python_sdk/scripts/post_process.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def convert_file(input_file, output_file):
88

99
# Regex replacements
1010
replacementsRegex = {
11-
r"\bField\b": "PydanticField",
11+
r"\bField\(": r"PydanticField(",
1212
r" model_config = ConfigDict\(\n extra=\'forbid\',\n \)\n": "",
1313
}
1414

@@ -19,7 +19,8 @@ def convert_file(input_file, output_file):
1919
replacements = {
2020
"FieldModel": "Field",
2121
"Optional[List[Filter]]": "Optional[List[TabFilter]]",
22-
"from pydantic import ConfigDict, PydanticField, RootModel": "from pydantic import Field as PydanticField, RootModel",
22+
", Field, ": ", Field as PydanticField, ",
23+
" ConfigDict,": "",
2324
"import TableauModel": "from .tableau_model import TableauModel",
2425
}
2526

python_sdk/src/api/tableau_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

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

0 commit comments

Comments
 (0)