Skip to content

Commit f403c20

Browse files
adi-DATEX-472-publish-data-apis-sdk
0 parents  commit f403c20

71 files changed

Lines changed: 6793 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This allows generated code to be indexed correctly
2+
*.py linguist-generated=false
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Generate
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
id-token: write
8+
"on":
9+
workflow_dispatch:
10+
inputs:
11+
force:
12+
description: Force generation of SDKs
13+
type: boolean
14+
default: false
15+
set_version:
16+
description: optionally set a specific SDK version
17+
type: string
18+
schedule:
19+
- cron: 0 0 * * *
20+
jobs:
21+
generate:
22+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
23+
with:
24+
force: ${{ github.event.inputs.force }}
25+
mode: pr
26+
set_version: ${{ github.event.inputs.set_version }}
27+
secrets:
28+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
29+
pypi_token: ${{ secrets.PYPI_TOKEN }}
30+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/sdk_publish.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
id-token: write
8+
"on":
9+
push:
10+
branches:
11+
- main
12+
paths:
13+
- .speakeasy/gen.lock
14+
workflow_dispatch: {}
15+
jobs:
16+
publish:
17+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
18+
with:
19+
target: data-api
20+
secrets:
21+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
22+
pypi_token: ${{ secrets.PYPI_TOKEN }}
23+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/tagging.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Speakeasy Tagging
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
push:
9+
branches:
10+
- main
11+
workflow_dispatch: {}
12+
jobs:
13+
tag:
14+
uses: speakeasy-api/sdk-generation-action/.github/workflows/tag.yaml@v15
15+
with:
16+
registry_tags: main
17+
secrets:
18+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
19+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Python
2+
.venv/
3+
venv/
4+
src/*.egg-info/
5+
**/__pycache__/
6+
.pytest_cache/
7+
.python-version
8+
pyrightconfig.json
9+
*.pyc
10+
*.pyo
11+
*.pyd
12+
__pycache__/
13+
*.so
14+
*.egg
15+
*.egg-info/
16+
dist/
17+
build/
18+
19+
# Environment
20+
.env
21+
.env.local
22+
.env.example
23+
24+
# IDE
25+
.DS_Store
26+
.vscode/
27+
.idea/
28+
29+
# Speakeasy
30+
**/.speakeasy/temp/
31+
**/.speakeasy/logs/
32+
.speakeasy/reports
33+
34+
# Local development workspace (don't commit)
35+
data-api-local/
36+
37+
# Testing files (don't commit)
38+
test_local.py
39+
example_simple.py
40+
example_no_ssl_verify.py
41+
load_env.sh
42+
restructure.sh
43+
44+
# Internal documentation (don't commit)
45+
TESTING.md
46+
QUICKSTART.md
47+
PRODUCTIONIZATION*.md
48+
COMPARISON.md
49+
RELEASE_CHECKLIST.md
50+
DIRECTORY_STRUCTURE.md

0 commit comments

Comments
 (0)