Skip to content

Commit 93d6f55

Browse files
chore: update SDK settings
1 parent 53efef7 commit 93d6f55

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release Doctor
22
on:
33
pull_request:
44
branches:
5-
- main
5+
- staging
66
workflow_dispatch:
77

88
jobs:

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 126
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fserverless-inference-sdk-prod-bdf24159c6ebb5402d6c05a5165cb1501dc37cf6c664baa9eb318efb0f89dddd.yml
33
openapi_spec_hash: 686329a97002025d118dc2367755c18d
4-
config_hash: 458cab7339af0d949371a36b603d7dcd
4+
config_hash: b2d18a80de0575ef49312bbfe224597b

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If you’d like to use the repository from source, you can either install from g
6262
To install via git:
6363

6464
```sh
65-
$ pip install git+ssh://[email protected]/digitalocean/genai-python.git
65+
$ pip install git+ssh://[email protected]/digitalocean/genai-python#staging.git
6666
```
6767

6868
Alternatively, you can build from source and install the wheel file:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ assistant = response.parse() # get the object that `assistants.list()` would ha
241241
print(assistant.first_id)
242242
```
243243

244-
These methods return an [`APIResponse`](https://github.com/digitalocean/genai-python/tree/main/src/serverless_inference_sdk_prod/_response.py) object.
244+
These methods return an [`APIResponse`](https://github.com/digitalocean/genai-python/tree/staging/src/serverless_inference_sdk_prod/_response.py) object.
245245

246-
The async client returns an [`AsyncAPIResponse`](https://github.com/digitalocean/genai-python/tree/main/src/serverless_inference_sdk_prod/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
246+
The async client returns an [`AsyncAPIResponse`](https://github.com/digitalocean/genai-python/tree/staging/src/serverless_inference_sdk_prod/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
247247

248248
#### `.with_streaming_response`
249249

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ path = "README.md"
121121
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
122122
# replace relative links with absolute links
123123
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
124-
replacement = '[\1](https://github.com/digitalocean/genai-python/tree/main/\g<2>)'
124+
replacement = '[\1](https://github.com/digitalocean/genai-python/tree/staging/\g<2>)'
125125

126126
[tool.pytest.ini_options]
127127
testpaths = ["tests"]

src/serverless_inference_sdk_prod/_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def assert_is_file_content(obj: object, *, key: str | None = None) -> None:
3434
if not is_file_content(obj):
3535
prefix = f"Expected entry at `{key}`" if key is not None else f"Expected file input `{obj!r}`"
3636
raise RuntimeError(
37-
f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://github.com/digitalocean/genai-python/tree/main#file-uploads"
37+
f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://github.com/digitalocean/genai-python/tree/staging#file-uploads"
3838
) from None
3939

4040

0 commit comments

Comments
 (0)