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
1 change: 1 addition & 0 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- 'release-*'

jobs:
generateStub:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- 'release-*'

jobs:
generateStub:
Expand Down
2 changes: 1 addition & 1 deletion VizQLDataServiceOpenAPISchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"servers": [
{
"url": "/vizql-data-service/v1"
"url": "/api/v1/vizql-data-service"
}
],
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion python_sdk/scripts/generate_stub.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ REM Print commands as they are executed
echo on

REM Install required packages
pip install datamodel-code-generator
pip install datamodel-code-generator==0.43.1

REM Generate client code
datamodel-codegen --input ../VizQLDataServiceOpenAPISchema.json --output-model-type pydantic_v2.BaseModel --input-file-type openapi --output src/api/openapi_generated-raw.py --use-annotated --base-class TableauModel
Expand Down
2 changes: 1 addition & 1 deletion python_sdk/scripts/generate_stub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
# Print commands as they are executed
set -x

pip install datamodel-code-generator
pip install datamodel-code-generator==0.43.1

# Generate client code
datamodel-codegen --input ../VizQLDataServiceOpenAPISchema.json --output-model-type pydantic_v2.BaseModel --input-file-type openapi --output src/api/openapi_generated-raw.py --use-annotated --base-class TableauModel
Expand Down
Loading