Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
953 commits
Select commit Hold shift + click to select a range
0dbb3c4
codegen metadata
stainless-app[bot] Feb 10, 2026
f8f843c
codegen metadata
stainless-app[bot] Feb 10, 2026
25e2a57
codegen metadata
stainless-app[bot] Feb 11, 2026
c5f23fe
codegen metadata
stainless-app[bot] Feb 11, 2026
222e9af
codegen metadata
stainless-app[bot] Feb 11, 2026
1df91ff
codegen metadata
stainless-app[bot] Feb 11, 2026
3c4cbcc
codegen metadata
stainless-app[bot] Feb 11, 2026
728476f
codegen metadata
stainless-app[bot] Feb 11, 2026
ba77346
codegen metadata
stainless-app[bot] Feb 11, 2026
f87cd30
codegen metadata
stainless-app[bot] Feb 11, 2026
d5745f0
codegen metadata
stainless-app[bot] Feb 11, 2026
52c7354
codegen metadata
stainless-app[bot] Feb 11, 2026
44f9760
codegen metadata
stainless-app[bot] Feb 11, 2026
d2984ad
codegen metadata
stainless-app[bot] Feb 11, 2026
fe87577
codegen metadata
stainless-app[bot] Feb 11, 2026
6af9944
codegen metadata
stainless-app[bot] Feb 11, 2026
b6fecf7
codegen metadata
stainless-app[bot] Feb 11, 2026
8db5581
codegen metadata
stainless-app[bot] Feb 11, 2026
cc19581
codegen metadata
stainless-app[bot] Feb 11, 2026
a9a5b71
codegen metadata
stainless-app[bot] Feb 11, 2026
6e201de
codegen metadata
stainless-app[bot] Feb 11, 2026
2343848
codegen metadata
stainless-app[bot] Feb 12, 2026
894898f
codegen metadata
stainless-app[bot] Feb 12, 2026
42d4c37
codegen metadata
stainless-app[bot] Feb 12, 2026
19b20a4
codegen metadata
stainless-app[bot] Feb 12, 2026
afa1e62
codegen metadata
stainless-app[bot] Feb 12, 2026
d08c73d
codegen metadata
stainless-app[bot] Feb 12, 2026
4ca9fb8
codegen metadata
stainless-app[bot] Feb 12, 2026
dab4bd8
codegen metadata
stainless-app[bot] Feb 12, 2026
798968d
codegen metadata
stainless-app[bot] Feb 12, 2026
46387e1
codegen metadata
stainless-app[bot] Feb 12, 2026
06783a4
chore(internal): fix lint error on Python 3.14
stainless-app[bot] Feb 12, 2026
67eeb7c
codegen metadata
stainless-app[bot] Feb 12, 2026
c281c05
codegen metadata
stainless-app[bot] Feb 12, 2026
f1b59b2
codegen metadata
stainless-app[bot] Feb 12, 2026
13c52fd
codegen metadata
stainless-app[bot] Feb 12, 2026
40941f9
codegen metadata
stainless-app[bot] Feb 12, 2026
1fb4603
codegen metadata
stainless-app[bot] Feb 12, 2026
05a05f0
codegen metadata
stainless-app[bot] Feb 12, 2026
5f4bd84
codegen metadata
stainless-app[bot] Feb 12, 2026
d12375f
codegen metadata
stainless-app[bot] Feb 12, 2026
80b31df
codegen metadata
stainless-app[bot] Feb 12, 2026
0f8d533
codegen metadata
stainless-app[bot] Feb 12, 2026
ee37ec1
codegen metadata
stainless-app[bot] Feb 13, 2026
1ba1e26
codegen metadata
stainless-app[bot] Feb 13, 2026
d300f9a
codegen metadata
stainless-app[bot] Feb 13, 2026
e66fe1b
codegen metadata
stainless-app[bot] Feb 13, 2026
5ecc4ac
codegen metadata
stainless-app[bot] Feb 13, 2026
36d0036
codegen metadata
stainless-app[bot] Feb 13, 2026
73246de
chore: format all `api.md` files
stainless-app[bot] Feb 13, 2026
8469760
codegen metadata
stainless-app[bot] Feb 13, 2026
b63051b
codegen metadata
stainless-app[bot] Feb 13, 2026
81ab254
codegen metadata
stainless-app[bot] Feb 13, 2026
9d0510b
codegen metadata
stainless-app[bot] Feb 13, 2026
1517032
codegen metadata
stainless-app[bot] Feb 13, 2026
e2314f0
codegen metadata
stainless-app[bot] Feb 13, 2026
e0434d7
codegen metadata
stainless-app[bot] Feb 13, 2026
3d86b22
codegen metadata
stainless-app[bot] Feb 13, 2026
64ff754
codegen metadata
stainless-app[bot] Feb 13, 2026
08a563f
codegen metadata
stainless-app[bot] Feb 13, 2026
3e80df6
codegen metadata
stainless-app[bot] Feb 13, 2026
e96dae8
codegen metadata
stainless-app[bot] Feb 13, 2026
d8ab714
codegen metadata
stainless-app[bot] Feb 13, 2026
29131fa
codegen metadata
stainless-app[bot] Feb 13, 2026
a35e993
codegen metadata
stainless-app[bot] Feb 13, 2026
1a74d76
codegen metadata
stainless-app[bot] Feb 14, 2026
be05569
codegen metadata
stainless-app[bot] Feb 14, 2026
839dcd3
codegen metadata
stainless-app[bot] Feb 14, 2026
e5fee91
codegen metadata
stainless-app[bot] Feb 14, 2026
0e35670
codegen metadata
stainless-app[bot] Feb 14, 2026
d8e0b81
codegen metadata
stainless-app[bot] Feb 14, 2026
1f2c938
codegen metadata
stainless-app[bot] Feb 14, 2026
e659248
codegen metadata
stainless-app[bot] Feb 14, 2026
dc11739
codegen metadata
stainless-app[bot] Feb 14, 2026
84a5524
codegen metadata
stainless-app[bot] Feb 14, 2026
fde2b92
codegen metadata
stainless-app[bot] Feb 14, 2026
f6216a2
codegen metadata
stainless-app[bot] Feb 14, 2026
fe2e21b
codegen metadata
stainless-app[bot] Feb 14, 2026
6e2e422
codegen metadata
stainless-app[bot] Feb 14, 2026
62f352d
codegen metadata
stainless-app[bot] Feb 14, 2026
b052b3c
codegen metadata
stainless-app[bot] Feb 14, 2026
7c524d5
codegen metadata
stainless-app[bot] Feb 14, 2026
f289aed
codegen metadata
stainless-app[bot] Feb 14, 2026
d693895
codegen metadata
stainless-app[bot] Feb 14, 2026
27222cf
codegen metadata
stainless-app[bot] Feb 14, 2026
a46d045
codegen metadata
stainless-app[bot] Feb 14, 2026
2381725
codegen metadata
stainless-app[bot] Feb 14, 2026
84854db
codegen metadata
stainless-app[bot] Feb 15, 2026
b83cbe3
codegen metadata
stainless-app[bot] Feb 15, 2026
34194da
codegen metadata
stainless-app[bot] Feb 15, 2026
12a626d
codegen metadata
stainless-app[bot] Feb 15, 2026
9f1bb28
codegen metadata
stainless-app[bot] Feb 15, 2026
7d4d69b
codegen metadata
stainless-app[bot] Feb 15, 2026
de67ad7
codegen metadata
stainless-app[bot] Feb 15, 2026
3ea199f
codegen metadata
stainless-app[bot] Feb 15, 2026
f172bf9
codegen metadata
stainless-app[bot] Feb 15, 2026
a893af7
codegen metadata
stainless-app[bot] Feb 15, 2026
e3ba448
codegen metadata
stainless-app[bot] Feb 15, 2026
3476639
codegen metadata
stainless-app[bot] Feb 15, 2026
4dc48e2
codegen metadata
stainless-app[bot] Feb 15, 2026
c3d5e93
codegen metadata
stainless-app[bot] Feb 15, 2026
6ca98e7
codegen metadata
stainless-app[bot] Feb 15, 2026
fb5856f
codegen metadata
stainless-app[bot] Feb 15, 2026
1d370e0
codegen metadata
stainless-app[bot] Feb 15, 2026
a0bdcb2
codegen metadata
stainless-app[bot] Feb 15, 2026
596b269
codegen metadata
stainless-app[bot] Feb 15, 2026
0f15522
codegen metadata
stainless-app[bot] Feb 15, 2026
c98c402
codegen metadata
stainless-app[bot] Feb 15, 2026
4725eb7
codegen metadata
stainless-app[bot] Feb 15, 2026
5c0e3ca
codegen metadata
stainless-app[bot] Feb 16, 2026
b928429
codegen metadata
stainless-app[bot] Feb 16, 2026
a88aade
codegen metadata
stainless-app[bot] Feb 16, 2026
7accc18
codegen metadata
stainless-app[bot] Feb 16, 2026
9383c6a
codegen metadata
stainless-app[bot] Feb 16, 2026
0d40cc7
codegen metadata
stainless-app[bot] Feb 16, 2026
7bfe3d3
codegen metadata
stainless-app[bot] Feb 16, 2026
23448a7
codegen metadata
stainless-app[bot] Feb 16, 2026
914b711
codegen metadata
stainless-app[bot] Feb 16, 2026
10582dd
codegen metadata
stainless-app[bot] Feb 16, 2026
1022b5b
codegen metadata
stainless-app[bot] Feb 16, 2026
fb50af8
codegen metadata
stainless-app[bot] Feb 16, 2026
e000b29
codegen metadata
stainless-app[bot] Feb 16, 2026
fb94413
codegen metadata
stainless-app[bot] Feb 16, 2026
004c37b
codegen metadata
stainless-app[bot] Feb 16, 2026
aa2e621
codegen metadata
stainless-app[bot] Feb 16, 2026
c2db181
codegen metadata
stainless-app[bot] Feb 16, 2026
cbb4552
codegen metadata
stainless-app[bot] Feb 16, 2026
496ecbd
codegen metadata
stainless-app[bot] Feb 16, 2026
d83db5d
codegen metadata
stainless-app[bot] Feb 16, 2026
aa0c380
codegen metadata
stainless-app[bot] Feb 16, 2026
f07dae1
codegen metadata
stainless-app[bot] Feb 17, 2026
46e5163
codegen metadata
stainless-app[bot] Feb 17, 2026
d2a2022
codegen metadata
stainless-app[bot] Feb 17, 2026
341fd8a
codegen metadata
stainless-app[bot] Feb 17, 2026
12a9ba6
codegen metadata
stainless-app[bot] Feb 17, 2026
aa4d63a
codegen metadata
stainless-app[bot] Feb 17, 2026
7a6e6bf
codegen metadata
stainless-app[bot] Feb 17, 2026
c1fe682
codegen metadata
stainless-app[bot] Feb 17, 2026
2322f8d
codegen metadata
stainless-app[bot] Feb 17, 2026
5a48388
codegen metadata
stainless-app[bot] Feb 17, 2026
4154500
codegen metadata
stainless-app[bot] Feb 17, 2026
1121b82
codegen metadata
stainless-app[bot] Feb 17, 2026
904e405
codegen metadata
stainless-app[bot] Feb 17, 2026
dd0ae02
codegen metadata
stainless-app[bot] Feb 17, 2026
0aa1249
codegen metadata
stainless-app[bot] Feb 17, 2026
065060e
codegen metadata
stainless-app[bot] Feb 17, 2026
d9ab9ff
codegen metadata
stainless-app[bot] Feb 17, 2026
1010f4c
codegen metadata
stainless-app[bot] Feb 17, 2026
b6ce391
codegen metadata
stainless-app[bot] Feb 18, 2026
08f3891
codegen metadata
stainless-app[bot] Feb 18, 2026
dc2b28e
codegen metadata
stainless-app[bot] Feb 18, 2026
ab48235
codegen metadata
stainless-app[bot] Feb 18, 2026
0381be5
codegen metadata
stainless-app[bot] Feb 18, 2026
a1e1d93
codegen metadata
stainless-app[bot] Feb 18, 2026
f9008b1
codegen metadata
stainless-app[bot] Feb 18, 2026
3cad9e3
codegen metadata
stainless-app[bot] Feb 18, 2026
116b2fd
codegen metadata
stainless-app[bot] Feb 18, 2026
d2279d0
codegen metadata
stainless-app[bot] Feb 18, 2026
ba3bc7b
codegen metadata
stainless-app[bot] Feb 18, 2026
99b31a1
codegen metadata
stainless-app[bot] Feb 18, 2026
5281bd8
codegen metadata
stainless-app[bot] Feb 18, 2026
747939f
codegen metadata
stainless-app[bot] Feb 18, 2026
00e5a5c
codegen metadata
stainless-app[bot] Feb 18, 2026
7a14d54
codegen metadata
stainless-app[bot] Feb 18, 2026
fce5d12
codegen metadata
stainless-app[bot] Feb 18, 2026
a12aaa6
codegen metadata
stainless-app[bot] Feb 18, 2026
0a56070
codegen metadata
stainless-app[bot] Feb 18, 2026
785c5c8
codegen metadata
stainless-app[bot] Feb 19, 2026
043569f
codegen metadata
stainless-app[bot] Feb 19, 2026
3fa5c13
codegen metadata
stainless-app[bot] Feb 19, 2026
e24a80c
codegen metadata
stainless-app[bot] Feb 19, 2026
c85ecf7
codegen metadata
stainless-app[bot] Feb 19, 2026
26aa075
codegen metadata
stainless-app[bot] Feb 19, 2026
bbd43a7
codegen metadata
stainless-app[bot] Feb 19, 2026
2490715
codegen metadata
stainless-app[bot] Feb 19, 2026
d28106c
codegen metadata
stainless-app[bot] Feb 19, 2026
97ad2ed
codegen metadata
stainless-app[bot] Feb 19, 2026
7224b6a
codegen metadata
stainless-app[bot] Feb 19, 2026
354fdc5
codegen metadata
stainless-app[bot] Feb 19, 2026
79e27ee
codegen metadata
stainless-app[bot] Feb 19, 2026
cad5e67
codegen metadata
stainless-app[bot] Feb 19, 2026
46f1d53
codegen metadata
stainless-app[bot] Feb 19, 2026
ae87050
codegen metadata
stainless-app[bot] Feb 19, 2026
3320c52
codegen metadata
stainless-app[bot] Feb 19, 2026
9eefec8
codegen metadata
stainless-app[bot] Feb 19, 2026
627a6b7
codegen metadata
stainless-app[bot] Feb 19, 2026
f241ec2
codegen metadata
stainless-app[bot] Feb 19, 2026
4c4d57d
codegen metadata
stainless-app[bot] Feb 19, 2026
ed04f46
codegen metadata
stainless-app[bot] Feb 19, 2026
7a11bea
codegen metadata
stainless-app[bot] Feb 20, 2026
4ee4a65
codegen metadata
stainless-app[bot] Feb 20, 2026
d8082d6
codegen metadata
stainless-app[bot] Feb 20, 2026
7f3c4d2
codegen metadata
stainless-app[bot] Feb 20, 2026
a5bdb65
codegen metadata
stainless-app[bot] Feb 20, 2026
398de4d
codegen metadata
stainless-app[bot] Feb 20, 2026
a672e8b
codegen metadata
stainless-app[bot] Feb 20, 2026
7f171fe
codegen metadata
stainless-app[bot] Feb 20, 2026
9656892
codegen metadata
stainless-app[bot] Feb 20, 2026
f9c9c96
codegen metadata
stainless-app[bot] Feb 20, 2026
0af6985
chore(internal): remove mock server code
stainless-app[bot] Feb 20, 2026
904110a
chore: update mock server docs
stainless-app[bot] Feb 20, 2026
c0a2b17
codegen metadata
stainless-app[bot] Feb 20, 2026
acbbf4b
codegen metadata
stainless-app[bot] Feb 20, 2026
ccf7d04
codegen metadata
stainless-app[bot] Feb 20, 2026
05f3512
codegen metadata
stainless-app[bot] Feb 20, 2026
4eefdd2
codegen metadata
stainless-app[bot] Feb 20, 2026
3cd0f1e
codegen metadata
stainless-app[bot] Feb 20, 2026
df13f65
codegen metadata
stainless-app[bot] Feb 20, 2026
686215b
codegen metadata
stainless-app[bot] Feb 20, 2026
3c8e8ea
codegen metadata
stainless-app[bot] Feb 20, 2026
32857da
codegen metadata
stainless-app[bot] Feb 21, 2026
bc5d3e4
codegen metadata
stainless-app[bot] Feb 21, 2026
eb39137
codegen metadata
stainless-app[bot] Feb 21, 2026
9cb2ac7
codegen metadata
stainless-app[bot] Feb 21, 2026
a58ed05
codegen metadata
stainless-app[bot] Feb 21, 2026
1cca74c
codegen metadata
stainless-app[bot] Feb 21, 2026
45adba5
codegen metadata
stainless-app[bot] Feb 21, 2026
fb78e6c
codegen metadata
stainless-app[bot] Feb 21, 2026
28144eb
codegen metadata
stainless-app[bot] Feb 21, 2026
7cb2903
codegen metadata
stainless-app[bot] Feb 21, 2026
1a6e587
codegen metadata
stainless-app[bot] Feb 21, 2026
404869a
codegen metadata
stainless-app[bot] Feb 21, 2026
1769507
codegen metadata
stainless-app[bot] Feb 21, 2026
3684879
codegen metadata
stainless-app[bot] Feb 21, 2026
9e1667e
codegen metadata
stainless-app[bot] Feb 21, 2026
3eeb28b
codegen metadata
stainless-app[bot] Feb 21, 2026
e0a8ea0
codegen metadata
stainless-app[bot] Feb 21, 2026
31644d4
codegen metadata
stainless-app[bot] Feb 21, 2026
9568812
codegen metadata
stainless-app[bot] Feb 21, 2026
ae00001
codegen metadata
stainless-app[bot] Feb 21, 2026
d812f30
codegen metadata
stainless-app[bot] Feb 21, 2026
9643327
codegen metadata
stainless-app[bot] Feb 21, 2026
4d63f0d
codegen metadata
stainless-app[bot] Feb 21, 2026
618dd2b
codegen metadata
stainless-app[bot] Feb 22, 2026
0cf8e91
codegen metadata
stainless-app[bot] Feb 22, 2026
7676033
codegen metadata
stainless-app[bot] Feb 22, 2026
ae88c7b
codegen metadata
stainless-app[bot] Feb 22, 2026
ad378f1
codegen metadata
stainless-app[bot] Feb 22, 2026
d429722
codegen metadata
stainless-app[bot] Feb 22, 2026
01c0e5d
codegen metadata
stainless-app[bot] Feb 22, 2026
71e00a9
codegen metadata
stainless-app[bot] Feb 22, 2026
1d9ef31
codegen metadata
stainless-app[bot] Feb 22, 2026
6b7d23b
codegen metadata
stainless-app[bot] Feb 22, 2026
4b50170
codegen metadata
stainless-app[bot] Feb 22, 2026
2d5e469
codegen metadata
stainless-app[bot] Feb 22, 2026
5682929
codegen metadata
stainless-app[bot] Feb 22, 2026
f9759b2
codegen metadata
stainless-app[bot] Feb 22, 2026
61b28dd
codegen metadata
stainless-app[bot] Feb 22, 2026
8d06260
codegen metadata
stainless-app[bot] Feb 22, 2026
ecd745c
release: 0.2.1
stainless-app[bot] Feb 22, 2026
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/tembo-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand All @@ -41,7 +41,7 @@ jobs:
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/tembo-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/tembo-python'
id: github-oidc
uses: actions/github-script@v6
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

Expand All @@ -75,7 +75,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/tembo-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'tembo/sdk-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Check release environment
run: |
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.0"
".": "0.2.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/tembo%2Ftembo-5fe090391ca60fa921541fe6f752600aa007cc5792e11f72d9ddd826d3fa1c6d.yml
openapi_spec_hash: 6ed695478549a2d1ef66fa823ab7b827
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/tembo%2Ftembo-e0bc96a16bb2bf7cceea53ec5b05e0ace08c10172c938daff2754e11ec2ea319.yml
openapi_spec_hash: 6173ad05b162b6dd981dea9a8619be84
config_hash: 8fba1d45a848bce88e9564ab8a960838
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 0.2.1 (2026-02-22)

Full Changelog: [v0.2.0...v0.2.1](https://github.com/tembo/sdk-python/compare/v0.2.0...v0.2.1)

### Chores

* format all `api.md` files ([73246de](https://github.com/tembo/sdk-python/commit/73246de4e66977de4ca74ba7e289aba8d60f9777))
* **internal:** bump dependencies ([9f86047](https://github.com/tembo/sdk-python/commit/9f8604720baab4df6111aa7ced9fd168715eb514))
* **internal:** fix lint error on Python 3.14 ([06783a4](https://github.com/tembo/sdk-python/commit/06783a4561a0e4ce049b40f379b64bf469415afd))
* **internal:** remove mock server code ([0af6985](https://github.com/tembo/sdk-python/commit/0af698534e3b12a420426b51946e1155c89143d3))
* update mock server docs ([904110a](https://github.com/tembo/sdk-python/commit/904110acb29ef12daa4a183c038c6e7ece581188))

## 0.2.0 (2026-01-05)

Full Changelog: [v0.1.0...v0.2.0](https://github.com/tembo/sdk-python/compare/v0.1.0...v0.2.0)
Expand Down
7 changes: 0 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,6 @@ $ pip install ./path-to-wheel-file.whl

## Running tests

Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.

```sh
# you will need npm installed
$ npx prism mock path/to/your/openapi.yml
```

```sh
$ ./scripts/test
```
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tembo-sdk-python"
version = "0.2.0"
version = "0.2.1"
description = "The official Python library for the tembo API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
18 changes: 9 additions & 9 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
-e .
annotated-types==0.7.0
# via pydantic
anyio==4.12.0
anyio==4.12.1
# via
# httpx
# tembo-sdk-python
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11'
# via pytest-asyncio
certifi==2025.11.12
certifi==2026.1.4
# via
# httpcore
# httpx
Expand All @@ -36,7 +36,7 @@ idna==3.11
# via
# anyio
# httpx
importlib-metadata==8.7.0
importlib-metadata==8.7.1
iniconfig==2.1.0 ; python_full_version < '3.10'
# via pytest
iniconfig==2.3.0 ; python_full_version >= '3.10'
Expand All @@ -50,11 +50,11 @@ mdurl==0.1.2
mypy==1.17.0
mypy-extensions==1.1.0
# via mypy
nodeenv==1.9.1
nodeenv==1.10.0
# via pyright
packaging==25.0
# via pytest
pathspec==0.12.1
pathspec==1.0.3
# via mypy
pluggy==1.6.0
# via pytest
Expand All @@ -71,7 +71,7 @@ pytest==8.4.2 ; python_full_version < '3.10'
# via
# pytest-asyncio
# pytest-xdist
pytest==9.0.1 ; python_full_version >= '3.10'
pytest==9.0.2 ; python_full_version >= '3.10'
# via
# pytest-asyncio
# pytest-xdist
Expand All @@ -82,14 +82,14 @@ python-dateutil==2.9.0.post0 ; python_full_version < '3.10'
# via time-machine
respx==0.22.0
rich==14.2.0
ruff==0.14.7
ruff==0.14.13
six==1.17.0 ; python_full_version < '3.10'
# via python-dateutil
sniffio==1.3.1
# via tembo-sdk-python
time-machine==2.19.0 ; python_full_version < '3.10'
time-machine==3.1.0 ; python_full_version >= '3.10'
tomli==2.3.0 ; python_full_version < '3.11'
time-machine==3.2.0 ; python_full_version >= '3.10'
tomli==2.4.0 ; python_full_version < '3.11'
# via
# mypy
# pytest
Expand Down
2 changes: 1 addition & 1 deletion scripts/format
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ uv run ruff check --fix .
uv run ruff format

echo "==> Formatting docs"
uv run python scripts/utils/ruffen-docs.py README.md api.md
uv run python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)
41 changes: 0 additions & 41 deletions scripts/mock

This file was deleted.

46 changes: 0 additions & 46 deletions scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,7 @@ set -e

cd "$(dirname "$0")/.."

RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
NC='\033[0m' # No Color

function prism_is_running() {
curl --silent "http://localhost:4010" >/dev/null 2>&1
}

kill_server_on_port() {
pids=$(lsof -t -i tcp:"$1" || echo "")
if [ "$pids" != "" ]; then
kill "$pids"
echo "Stopped $pids."
fi
}

function is_overriding_api_base_url() {
[ -n "$TEST_API_BASE_URL" ]
}

if ! is_overriding_api_base_url && ! prism_is_running ; then
# When we exit this script, make sure to kill the background mock server process
trap 'kill_server_on_port 4010' EXIT

# Start the dev server
./scripts/mock --daemon
fi

if is_overriding_api_base_url ; then
echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}"
echo
elif ! prism_is_running ; then
echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server"
echo -e "running against your OpenAPI spec."
echo
echo -e "To run the server, pass in the path or url of your OpenAPI"
echo -e "spec to the prism command:"
echo
echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}"
echo

exit 1
else
echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}"
echo
fi

export DEFER_PYDANTIC_BUILD=false

Expand Down
Loading