Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
9c0c551
feat(api): update via SDK Studio (#61)
stainless-app[bot] Feb 4, 2025
a594c75
feat(client): send `X-Stainless-Read-Timeout` header (#63)
stainless-app[bot] Feb 6, 2025
1322c80
chore(internal): fix type traversing dictionary params (#64)
stainless-app[bot] Feb 7, 2025
7e69125
chore(internal): minor type handling changes (#65)
stainless-app[bot] Feb 7, 2025
ca310cd
fix: asyncify on non-asyncio runtimes (#66)
stainless-app[bot] Feb 14, 2025
3ad7f25
feat(client): allow passing `NotGiven` for body (#67)
stainless-app[bot] Feb 21, 2025
97b7254
chore(internal): fix devcontainers setup (#68)
stainless-app[bot] Feb 22, 2025
bc25b84
chore(internal): properly set __pydantic_private__ (#69)
stainless-app[bot] Feb 26, 2025
08062c4
docs: update URLs from stainlessapi.com to stainless.com (#70)
stainless-app[bot] Feb 28, 2025
b41543a
chore(docs): update client docstring (#71)
stainless-app[bot] Feb 28, 2025
69a44e3
chore(internal): remove unused http client options forwarding (#72)
stainless-app[bot] Mar 4, 2025
bba1424
test: add DEFER_PYDANTIC_BUILD=false flag to tests (#73)
stainless-app[bot] Mar 11, 2025
3d90dff
chore(internal): remove extra empty newlines (#74)
stainless-app[bot] Mar 14, 2025
db19786
chore(internal): codegen related update (#75)
stainless-app[bot] Mar 15, 2025
21a20b3
chore(internal): bump rye to 0.44.0 (#76)
stainless-app[bot] Mar 15, 2025
8b6dcf0
fix(types): handle more discriminated union shapes (#77)
stainless-app[bot] Mar 15, 2025
d3d295a
fix(ci): ensure pip is always available (#78)
stainless-app[bot] Mar 17, 2025
493f504
fix(ci): remove publishing patch (#79)
stainless-app[bot] Mar 17, 2025
c1576cc
chore: fix typos (#80)
stainless-app[bot] Mar 27, 2025
fb71db5
codegen metadata
stainless-app[bot] Mar 27, 2025
4cfa80b
chore(internal): remove trailing character (#81)
stainless-app[bot] Apr 4, 2025
5498eaf
chore(internal): slight transform perf improvement (#82)
stainless-app[bot] Apr 9, 2025
7fd1145
chore(internal): expand CI branch coverage
stainless-app[bot] Apr 10, 2025
2492996
chore(internal): reduce CI branch coverage
stainless-app[bot] Apr 10, 2025
38509ba
fix(perf): skip traversing types for NotGiven values
stainless-app[bot] Apr 12, 2025
7cc4937
fix(perf): optimize some hot paths
stainless-app[bot] Apr 12, 2025
2d267e1
chore(internal): update pyright settings
stainless-app[bot] Apr 15, 2025
1e29d3b
chore(client): minor internal fixes
stainless-app[bot] Apr 15, 2025
81c2baf
chore(internal): bump pyright version
stainless-app[bot] Apr 17, 2025
0ac179a
chore(internal): base client updates
stainless-app[bot] Apr 17, 2025
421a2b5
chore(internal): update models test
stainless-app[bot] Apr 19, 2025
d5cbcd0
chore(ci): add timeout thresholds for CI jobs
stainless-app[bot] Apr 23, 2025
8a3f6f0
chore(internal): import reformatting
stainless-app[bot] Apr 23, 2025
1b5e333
chore(internal): fix list file params
stainless-app[bot] Apr 23, 2025
055e329
chore(internal): refactor retries to not use recursion
stainless-app[bot] Apr 23, 2025
3dc3480
fix(pydantic v1): more robust ModelField.annotation check
stainless-app[bot] Apr 23, 2025
a145cee
chore(internal): codegen related update
stainless-app[bot] Apr 24, 2025
19ee773
chore(ci): only use depot for staging repos
stainless-app[bot] Apr 24, 2025
febefbc
chore: broadly detect json family of content-type headers
stainless-app[bot] Apr 24, 2025
5dc0949
chore(internal): avoid errors for isinstance checks on proxies
stainless-app[bot] May 9, 2025
ad2d130
fix(package): support direct resource imports
stainless-app[bot] May 10, 2025
598ec7e
chore(ci): upload sdks to package manager
stainless-app[bot] May 15, 2025
6291f4a
chore(ci): fix installation instructions
stainless-app[bot] May 16, 2025
540e711
chore(docs): grammar improvements
stainless-app[bot] May 22, 2025
ec32daa
chore(docs): remove reference to rye shell
stainless-app[bot] Jun 3, 2025
6eb41c9
feat(client): add follow_redirects request option
stainless-app[bot] Jun 3, 2025
497b381
chore(tests): run tests in parallel
stainless-app[bot] Jun 13, 2025
3924997
fix(client): correctly parse binary response | stream
stainless-app[bot] Jun 13, 2025
5e172cd
chore(tests): add tests for httpx client instantiation & proxies
stainless-app[bot] Jun 17, 2025
83531b4
chore(internal): update conftest.py
stainless-app[bot] Jun 17, 2025
1ea6fbc
chore(ci): enable for pull requests
stainless-app[bot] Jun 17, 2025
f3f214f
chore(readme): update badges
stainless-app[bot] Jun 18, 2025
539215f
fix(tests): fix: tests which call HTTP endpoints directly with the ex…
stainless-app[bot] Jun 18, 2025
3341b85
docs(client): fix httpx.Timeout documentation reference
stainless-app[bot] Jun 19, 2025
6f6ddd9
feat(client): add support for aiohttp
stainless-app[bot] Jun 21, 2025
39d037c
chore(tests): skip some failing tests on the latest python versions
stainless-app[bot] Jun 24, 2025
65cdccf
fix(ci): release-doctor — report correct token name
stainless-app[bot] Jun 27, 2025
5d00f3e
chore(ci): only run for pushes and fork pull requests
stainless-app[bot] Jun 28, 2025
66eb0ef
fix(ci): correct conditional
stainless-app[bot] Jun 30, 2025
d7e4405
chore(ci): change upload type
stainless-app[bot] Jul 2, 2025
d6d5a1d
chore(internal): codegen related update
stainless-app[bot] Jul 8, 2025
6cafe07
chore(internal): bump pinned h11 dep
stainless-app[bot] Jul 9, 2025
06ad64f
chore(package): mark python 3.13 as supported
stainless-app[bot] Jul 9, 2025
cd511d2
fix(parsing): correctly handle nested discriminated unions
stainless-app[bot] Jul 10, 2025
b1e9e51
chore(readme): fix version rendering on pypi
stainless-app[bot] Jul 11, 2025
6bcbc4e
fix(client): don't send Content-Type header on GET requests
stainless-app[bot] Jul 12, 2025
696f18b
feat: clean up environment call outs
stainless-app[bot] Jul 15, 2025
bdd8ead
fix(parsing): ignore empty metadata
stainless-app[bot] Jul 22, 2025
470d8a8
fix(parsing): parse extra field types
stainless-app[bot] Jul 23, 2025
6754b39
chore(project): add settings file for vscode
stainless-app[bot] Jul 25, 2025
fde965a
feat(client): support file upload requests
stainless-app[bot] Jul 31, 2025
1437b86
chore(internal): fix ruff target version
stainless-app[bot] Aug 6, 2025
d766a01
chore: update @stainless-api/prism-cli to v5.15.0
stainless-app[bot] Aug 9, 2025
103820e
chore(internal): update comment in script
stainless-app[bot] Aug 9, 2025
2f8fbc4
chore(internal): codegen related update
stainless-app[bot] Aug 12, 2025
d0f9d9e
chore: update github action
stainless-app[bot] Aug 22, 2025
656643d
chore(internal): change ci workflow machines
stainless-app[bot] Aug 26, 2025
db10820
fix: avoid newer type syntax
stainless-app[bot] Aug 27, 2025
f306088
chore(internal): update pyright exclude list
stainless-app[bot] Aug 27, 2025
5f815ef
chore(internal): add Sequence related utils
stainless-app[bot] Aug 30, 2025
0578887
feat(types): replace List[str] with SequenceNotStr in params
stainless-app[bot] Sep 3, 2025
bccbddf
feat: improve future compat with pydantic v3
stainless-app[bot] Sep 4, 2025
f87b268
chore(internal): move mypy configurations to `pyproject.toml` file
stainless-app[bot] Sep 5, 2025
ef07d85
chore(tests): simplify `get_platform` test
stainless-app[bot] Sep 6, 2025
5dd09a4
chore(internal): update pydantic dependency
stainless-app[bot] Sep 17, 2025
14cb9a9
chore(types): change optional parameter type from NotGiven to Omit
stainless-app[bot] Sep 19, 2025
67c48f0
chore: do not install brew dependencies in ./scripts/bootstrap by def…
stainless-app[bot] Sep 20, 2025
23b94ed
chore(internal): detect missing future annotations with ruff
stainless-app[bot] Oct 11, 2025
7aeb4c8
chore: bump `httpx-aiohttp` version to 0.1.9
stainless-app[bot] Oct 18, 2025
e783145
fix(client): close streams without requiring full consumption
stainless-app[bot] Oct 30, 2025
d3a5435
chore(internal/tests): avoid race condition with implicit client cleanup
stainless-app[bot] Oct 31, 2025
8b1cdb7
chore(internal): grammar fix (it's -> its)
stainless-app[bot] Nov 4, 2025
95ca18d
chore(package): drop Python 3.8 support
stainless-app[bot] Nov 11, 2025
f7d6103
fix: compat with Python 3.14
stainless-app[bot] Nov 11, 2025
898ca7b
fix(compat): update signatures of `model_dump` and `model_dump_json` …
stainless-app[bot] Nov 12, 2025
c172e9c
chore: add Python 3.14 classifier and testing
stainless-app[bot] Nov 22, 2025
f89af68
fix: ensure streams are always closed
stainless-app[bot] Nov 28, 2025
fd940b6
chore(deps): mypy 1.18.1 has a regression, pin to 1.17
stainless-app[bot] Nov 28, 2025
77726a0
chore: update lockfile
stainless-app[bot] Dec 3, 2025
ff7f0ef
chore(docs): use environment variables for authentication in code sni…
stainless-app[bot] Dec 3, 2025
84b4806
fix(types): allow pyright to infer TypedDict types within SequenceNotStr
stainless-app[bot] Dec 9, 2025
5547d1b
chore(internal): add missing files argument to base client
stainless-app[bot] Dec 16, 2025
3b3f4e6
chore: speedup initial import
stainless-app[bot] Dec 17, 2025
6bfd0c0
fix: use async_to_httpx_files in patch method
stainless-app[bot] Dec 18, 2025
0b1e68e
chore(internal): add `--fix` argument to lint script
stainless-app[bot] Dec 19, 2025
0b4efb7
chore(internal): codegen related update
stainless-app[bot] Jan 6, 2026
07aac58
release: 4.1.0
stainless-app[bot] Jan 6, 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
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

USER vscode

RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.35.0" RYE_INSTALL_OPTION="--yes" bash
RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.44.0" RYE_INSTALL_OPTION="--yes" bash
ENV PATH=/home/vscode/.rye/shims:$PATH

RUN echo "[[ -d .venv ]] && source .venv/bin/activate" >> /home/vscode/.bashrc
RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/node:1": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
68 changes: 57 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
name: CI
on:
push:
branches:
- main
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
pull_request:
branches:
- main
- next
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ubuntu-latest

runs-on: ${{ github.repository == 'stainless-sdks/brainbase-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4

Expand All @@ -21,7 +26,7 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Install dependencies
Expand All @@ -30,10 +35,51 @@ jobs:
- name: Run lints
run: ./scripts/lint

build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
timeout-minutes: 10
name: build
permissions:
contents: read
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/brainbase-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4

- name: Install Rye
run: |
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Install dependencies
run: rye sync --all-features

- name: Run build
run: rye build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/brainbase-python'
id: github-oidc
uses: actions/github-script@v6
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/brainbase-python'
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
SHA: ${{ github.sha }}
run: ./scripts/utils/upload-artifact.sh

test:
timeout-minutes: 10
name: test
runs-on: ubuntu-latest

runs-on: ${{ github.repository == 'stainless-sdks/brainbase-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4

Expand All @@ -42,7 +88,7 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Bootstrap
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 @@ -21,7 +21,7 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Publish to PyPI
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.prism.log
.vscode
_dev

__pycache__
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 @@
{
".": "4.0.0"
".": "4.1.0"
}
2 changes: 2 additions & 0 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
configured_endpoints: 15
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brainbase-egrigokhan%2Fbrainbase-ab4ce60666d2503f2b7028d55b9f75cc42a76a668cda26576e91b851ea650b0b.yml
openapi_spec_hash: ec07d4f39ed4cb03f93255b680ca2f35
config_hash: 6f322d88e08375a924b420a5ee9f269c
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.analysis.importFormat": "relative",
}
124 changes: 124 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ $ rye sync --all-features
You can then run scripts using `rye run python script.py` or by activating the virtual environment:

```sh
$ rye shell
# or manually activate - https://docs.python.org/3/library/venv.html#how-venvs-work
# Activate the virtual environment - https://docs.python.org/3/library/venv.html#how-venvs-work
$ source .venv/bin/activate

# now you can omit the `rye run` prefix
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2025 Brainbase
Copyright 2026 Brainbase

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
44 changes: 38 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Brainbase Python API library

[![PyPI version](https://img.shields.io/pypi/v/brainbase-labs.svg)](https://pypi.org/project/brainbase-labs/)
<!-- prettier-ignore -->
[![PyPI version](https://img.shields.io/pypi/v/brainbase-labs.svg?label=pypi%20(stable))](https://pypi.org/project/brainbase-labs/)

The Brainbase Python library provides convenient access to the Brainbase REST API from any Python 3.8+
The Brainbase Python library provides convenient access to the Brainbase REST API from any Python 3.9+
application. The library includes type definitions for all request params and response fields,
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).

It is generated with [Stainless](https://www.stainlessapi.com/).
It is generated with [Stainless](https://www.stainless.com/).

## Documentation

The REST API documentation can be found on [docs.usebrainbase.xyz](https://docs.usebrainbase.xyz). The full API of this library can be found in [api.md](api.md).
The REST API documentation can be found on [docs.usebrainbase.com](https://docs.usebrainbase.com). The full API of this library can be found in [api.md](api.md).

## Installation

Expand Down Expand Up @@ -62,6 +63,37 @@ asyncio.run(main())

Functionality between the synchronous and asynchronous clients is otherwise identical.

### With aiohttp

By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.

You can enable this by installing `aiohttp`:

```sh
# install from PyPI
pip install brainbase-labs[aiohttp]
```

Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:

```python
import os
import asyncio
from brainbase import DefaultAioHttpClient
from brainbase import AsyncBrainbase


async def main() -> None:
async with AsyncBrainbase(
api_key=os.environ.get("API_KEY"), # This is the default and can be omitted
http_client=DefaultAioHttpClient(),
) as client:
workers = await client.workers.list()


asyncio.run(main())
```

## Using types

Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:
Expand Down Expand Up @@ -136,7 +168,7 @@ client.with_options(max_retries=5).workers.list()
### Timeouts

By default requests time out after 1 minute. You can configure this with a `timeout` option,
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:

```python
from brainbase import Brainbase
Expand Down Expand Up @@ -322,7 +354,7 @@ print(brainbase.__version__)

## Requirements

Python 3.8 or higher.
Python 3.9 or higher.

## Contributing

Expand Down
8 changes: 4 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Reporting Security Issues

This SDK is generated by [Stainless Software Inc](http://stainlessapi.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.
This SDK is generated by [Stainless Software Inc](http://stainless.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.

To report a security issue, please contact the Stainless team at security@stainlessapi.com.
To report a security issue, please contact the Stainless team at security@stainless.com.

## Responsible Disclosure

Expand All @@ -16,11 +16,11 @@ before making any information public.
## Reporting Non-SDK Related Security Issues

If you encounter security issues that are not directly related to SDKs but pertain to the services
or products provided by Brainbase please follow the respective company's security reporting guidelines.
or products provided by Brainbase, please follow the respective company's security reporting guidelines.

### Brainbase Terms and Policies

Please contact dev@brainbase.com for any questions or concerns regarding security of our services.
Please contact dev-feedback@brainbase.com for any questions or concerns regarding the security of our services.

---

Expand Down
13 changes: 4 additions & 9 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,14 @@ Methods:
Types:

```python
from brainbase.types.workers.deployments import (
VoiceCreateResponse,
VoiceRetrieveResponse,
VoiceUpdateResponse,
VoiceListResponse,
)
from brainbase.types.workers.deployments import VoiceDeployment, VoiceListResponse
```

Methods:

- <code title="post /api/workers/{workerId}/deployments/voice">client.workers.deployments.voice.<a href="./src/brainbase/resources/workers/deployments/voice.py">create</a>(worker_id, \*\*<a href="src/brainbase/types/workers/deployments/voice_create_params.py">params</a>) -> <a href="./src/brainbase/types/workers/deployments/voice_create_response.py">VoiceCreateResponse</a></code>
- <code title="get /api/workers/{workerId}/deployments/voice/{deploymentId}">client.workers.deployments.voice.<a href="./src/brainbase/resources/workers/deployments/voice.py">retrieve</a>(deployment_id, \*, worker_id) -> <a href="./src/brainbase/types/workers/deployments/voice_retrieve_response.py">VoiceRetrieveResponse</a></code>
- <code title="put /api/workers/{workerId}/deployments/voice/{deploymentId}">client.workers.deployments.voice.<a href="./src/brainbase/resources/workers/deployments/voice.py">update</a>(deployment_id, \*, worker_id, \*\*<a href="src/brainbase/types/workers/deployments/voice_update_params.py">params</a>) -> <a href="./src/brainbase/types/workers/deployments/voice_update_response.py">VoiceUpdateResponse</a></code>
- <code title="post /api/workers/{workerId}/deployments/voice">client.workers.deployments.voice.<a href="./src/brainbase/resources/workers/deployments/voice.py">create</a>(worker_id, \*\*<a href="src/brainbase/types/workers/deployments/voice_create_params.py">params</a>) -> <a href="./src/brainbase/types/workers/deployments/voice_deployment.py">VoiceDeployment</a></code>
- <code title="get /api/workers/{workerId}/deployments/voice/{deploymentId}">client.workers.deployments.voice.<a href="./src/brainbase/resources/workers/deployments/voice.py">retrieve</a>(deployment_id, \*, worker_id) -> <a href="./src/brainbase/types/workers/deployments/voice_deployment.py">VoiceDeployment</a></code>
- <code title="put /api/workers/{workerId}/deployments/voice/{deploymentId}">client.workers.deployments.voice.<a href="./src/brainbase/resources/workers/deployments/voice.py">update</a>(deployment_id, \*, worker_id, \*\*<a href="src/brainbase/types/workers/deployments/voice_update_params.py">params</a>) -> <a href="./src/brainbase/types/workers/deployments/voice_deployment.py">VoiceDeployment</a></code>
- <code title="get /api/workers/{workerId}/deployments/voice">client.workers.deployments.voice.<a href="./src/brainbase/resources/workers/deployments/voice.py">list</a>(worker_id) -> <a href="./src/brainbase/types/workers/deployments/voice_list_response.py">VoiceListResponse</a></code>
- <code title="delete /api/workers/{workerId}/deployments/voice/{deploymentId}">client.workers.deployments.voice.<a href="./src/brainbase/resources/workers/deployments/voice.py">delete</a>(deployment_id, \*, worker_id) -> None</code>

Expand Down
2 changes: 1 addition & 1 deletion bin/check-release-environment
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
errors=()

if [ -z "${PYPI_TOKEN}" ]; then
errors+=("The BRAINBASE_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
errors+=("The PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
fi

lenErrors=${#errors[@]}
Expand Down
3 changes: 0 additions & 3 deletions bin/publish-pypi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
set -eux
mkdir -p dist
rye build --clean
# Patching importlib-metadata version until upstream library version is updated
# https://github.com/pypa/twine/issues/977#issuecomment-2189800841
"$HOME/.rye/self/bin/python3" -m pip install 'importlib-metadata==7.2.1'
rye publish --yes --token=$PYPI_TOKEN
50 changes: 0 additions & 50 deletions mypy.ini

This file was deleted.

Loading