Skip to content

Commit 6de8ec2

Browse files
chore: update SDK settings
1 parent a555930 commit 6de8ec2

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow is triggered when a GitHub release is created.
22
# It can also be run manually to re-publish to PyPI in case it failed for some reason.
3-
# You can run this workflow by navigating to https://www.github.com/ppl-ai/perplexity-py/actions/workflows/publish-pypi.yml
3+
# You can run this workflow by navigating to https://www.github.com/ppl-ai/testing-stainless/actions/workflows/publish-pypi.yml
44
name: Publish PyPI
55
on:
66
workflow_dispatch:

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
release_doctor:
1010
name: release doctor
1111
runs-on: ubuntu-latest
12-
if: github.repository == 'ppl-ai/perplexity-py' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
12+
if: github.repository == 'ppl-ai/testing-stainless' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
1515
- uses: actions/checkout@v4

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-0215ad03799c0d48a897533cf7797fc279ca4ddd6ff3ef89194e8637c83d16f0.yml
33
openapi_spec_hash: 185af16df97b1856cddb649ceb87fb0d
4-
config_hash: 996f3d5694e36967ecd0dddb7b2ad6b2
4+
config_hash: 1e977530930da048f3a2860a609a6f72

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
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]/ppl-ai/perplexity-py.git
65+
$ pip install git+ssh://[email protected]/ppl-ai/testing-stainless.git
6666
```
6767

6868
Alternatively, you can build from source and install the wheel file:
@@ -120,7 +120,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
120120

121121
### Publish with a GitHub workflow
122122

123-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/ppl-ai/perplexity-py/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
123+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/ppl-ai/testing-stainless/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
124124

125125
### Publish manually
126126

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@ search = response.parse() # get the object that `search.perform()` would have r
249249
print(search.id)
250250
```
251251

252-
These methods return an [`APIResponse`](https://github.com/ppl-ai/perplexity-py/tree/main/src/perplexity/_response.py) object.
252+
These methods return an [`APIResponse`](https://github.com/ppl-ai/testing-stainless/tree/main/src/perplexity/_response.py) object.
253253

254-
The async client returns an [`AsyncAPIResponse`](https://github.com/ppl-ai/perplexity-py/tree/main/src/perplexity/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
254+
The async client returns an [`AsyncAPIResponse`](https://github.com/ppl-ai/testing-stainless/tree/main/src/perplexity/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
255255

256256
#### `.with_streaming_response`
257257

@@ -357,7 +357,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
357357

358358
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
359359

360-
We are keen for your feedback; please open an [issue](https://www.github.com/ppl-ai/perplexity-py/issues) with questions, bugs, or suggestions.
360+
We are keen for your feedback; please open an [issue](https://www.github.com/ppl-ai/testing-stainless/issues) with questions, bugs, or suggestions.
361361

362362
### Determining the installed version
363363

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ classifiers = [
3535
]
3636

3737
[project.urls]
38-
Homepage = "https://github.com/ppl-ai/perplexity-py"
39-
Repository = "https://github.com/ppl-ai/perplexity-py"
38+
Homepage = "https://github.com/ppl-ai/testing-stainless"
39+
Repository = "https://github.com/ppl-ai/testing-stainless"
4040

4141
[project.optional-dependencies]
4242
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.8"]
@@ -124,7 +124,7 @@ path = "README.md"
124124
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
125125
# replace relative links with absolute links
126126
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
127-
replacement = '[\1](https://github.com/ppl-ai/perplexity-py/tree/main/\g<2>)'
127+
replacement = '[\1](https://github.com/ppl-ai/testing-stainless/tree/main/\g<2>)'
128128

129129
[tool.pytest.ini_options]
130130
testpaths = ["tests"]

src/perplexity/resources/search.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def with_raw_response(self) -> SearchResourceWithRawResponse:
3131
This property can be used as a prefix for any HTTP method call to return
3232
the raw response object instead of the parsed content.
3333
34-
For more information, see https://www.github.com/ppl-ai/perplexity-py#accessing-raw-response-data-eg-headers
34+
For more information, see https://www.github.com/ppl-ai/testing-stainless#accessing-raw-response-data-eg-headers
3535
"""
3636
return SearchResourceWithRawResponse(self)
3737

@@ -40,7 +40,7 @@ def with_streaming_response(self) -> SearchResourceWithStreamingResponse:
4040
"""
4141
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
4242
43-
For more information, see https://www.github.com/ppl-ai/perplexity-py#with_streaming_response
43+
For more information, see https://www.github.com/ppl-ai/testing-stainless#with_streaming_response
4444
"""
4545
return SearchResourceWithStreamingResponse(self)
4646

@@ -111,7 +111,7 @@ def with_raw_response(self) -> AsyncSearchResourceWithRawResponse:
111111
This property can be used as a prefix for any HTTP method call to return
112112
the raw response object instead of the parsed content.
113113
114-
For more information, see https://www.github.com/ppl-ai/perplexity-py#accessing-raw-response-data-eg-headers
114+
For more information, see https://www.github.com/ppl-ai/testing-stainless#accessing-raw-response-data-eg-headers
115115
"""
116116
return AsyncSearchResourceWithRawResponse(self)
117117

@@ -120,7 +120,7 @@ def with_streaming_response(self) -> AsyncSearchResourceWithStreamingResponse:
120120
"""
121121
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
122122
123-
For more information, see https://www.github.com/ppl-ai/perplexity-py#with_streaming_response
123+
For more information, see https://www.github.com/ppl-ai/testing-stainless#with_streaming_response
124124
"""
125125
return AsyncSearchResourceWithStreamingResponse(self)
126126

0 commit comments

Comments
 (0)