Skip to content

Commit 42204a2

Browse files
chore: update SDK settings
1 parent 6492ee3 commit 42204a2

File tree

12 files changed

+35
-35
lines changed

12 files changed

+35
-35
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/brand-dot-dev/context-python-sdk/actions/workflows/publish-pypi.yml
3+
# You can run this workflow by navigating to https://www.github.com/context-dot-dev/python-sdk/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 == 'brand-dot-dev/context-python-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
12+
if: github.repository == 'context-dot-dev/python-sdk' && (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@v6

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-3a8af8deb24e840300df2b1a74edfb075287af9f38e6d343960ba75fce00ab68.yml
33
openapi_spec_hash: acc99bb843c5c7d630bc2a80b1b97444
4-
config_hash: ab5135cc119f83ae2821f9445ed99d16
4+
config_hash: 38b36fcc2788f113ffffc944fa3a14d4

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://git@github.com/brand-dot-dev/context-python-sdk.git
65+
$ pip install git+ssh://git@github.com/context-dot-dev/python-sdk.git
6666
```
6767

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

114114
### Publish with a GitHub workflow
115115

116-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/brand-dot-dev/context-python-sdk/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
116+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/context-dot-dev/python-sdk/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
117117

118118
### Publish manually
119119

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ brand = response.parse() # get the object that `brand.retrieve()` would have re
283283
print(brand.brand)
284284
```
285285

286-
These methods return an [`APIResponse`](https://github.com/brand-dot-dev/context-python-sdk/tree/main/src/context/dev/_response.py) object.
286+
These methods return an [`APIResponse`](https://github.com/context-dot-dev/python-sdk/tree/main/src/context/dev/_response.py) object.
287287

288-
The async client returns an [`AsyncAPIResponse`](https://github.com/brand-dot-dev/context-python-sdk/tree/main/src/context/dev/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
288+
The async client returns an [`AsyncAPIResponse`](https://github.com/context-dot-dev/python-sdk/tree/main/src/context/dev/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
289289

290290
#### `.with_streaming_response`
291291

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

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

394-
We are keen for your feedback; please open an [issue](https://www.github.com/brand-dot-dev/context-python-sdk/issues) with questions, bugs, or suggestions.
394+
We are keen for your feedback; please open an [issue](https://www.github.com/context-dot-dev/python-sdk/issues) with questions, bugs, or suggestions.
395395

396396
### Determining the installed version
397397

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ classifiers = [
3737
]
3838

3939
[project.urls]
40-
Homepage = "https://github.com/brand-dot-dev/context-python-sdk"
41-
Repository = "https://github.com/brand-dot-dev/context-python-sdk"
40+
Homepage = "https://github.com/context-dot-dev/python-sdk"
41+
Repository = "https://github.com/context-dot-dev/python-sdk"
4242

4343
[project.optional-dependencies]
4444
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
@@ -112,7 +112,7 @@ path = "README.md"
112112
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
113113
# replace relative links with absolute links
114114
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
115-
replacement = '[\1](https://github.com/brand-dot-dev/context-python-sdk/tree/main/\g<2>)'
115+
replacement = '[\1](https://github.com/context-dot-dev/python-sdk/tree/main/\g<2>)'
116116

117117
[tool.pytest.ini_options]
118118
testpaths = ["tests"]

src/context/dev/resources/ai.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def with_raw_response(self) -> AIResourceWithRawResponse:
3333
This property can be used as a prefix for any HTTP method call to return
3434
the raw response object instead of the parsed content.
3535
36-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#accessing-raw-response-data-eg-headers
36+
For more information, see https://www.github.com/context-dot-dev/python-sdk#accessing-raw-response-data-eg-headers
3737
"""
3838
return AIResourceWithRawResponse(self)
3939

@@ -42,7 +42,7 @@ def with_streaming_response(self) -> AIResourceWithStreamingResponse:
4242
"""
4343
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
4444
45-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#with_streaming_response
45+
For more information, see https://www.github.com/context-dot-dev/python-sdk#with_streaming_response
4646
"""
4747
return AIResourceWithStreamingResponse(self)
4848

@@ -265,7 +265,7 @@ def with_raw_response(self) -> AsyncAIResourceWithRawResponse:
265265
This property can be used as a prefix for any HTTP method call to return
266266
the raw response object instead of the parsed content.
267267
268-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#accessing-raw-response-data-eg-headers
268+
For more information, see https://www.github.com/context-dot-dev/python-sdk#accessing-raw-response-data-eg-headers
269269
"""
270270
return AsyncAIResourceWithRawResponse(self)
271271

@@ -274,7 +274,7 @@ def with_streaming_response(self) -> AsyncAIResourceWithStreamingResponse:
274274
"""
275275
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
276276
277-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#with_streaming_response
277+
For more information, see https://www.github.com/context-dot-dev/python-sdk#with_streaming_response
278278
"""
279279
return AsyncAIResourceWithStreamingResponse(self)
280280

src/context/dev/resources/brand.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def with_raw_response(self) -> BrandResourceWithRawResponse:
4444
This property can be used as a prefix for any HTTP method call to return
4545
the raw response object instead of the parsed content.
4646
47-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#accessing-raw-response-data-eg-headers
47+
For more information, see https://www.github.com/context-dot-dev/python-sdk#accessing-raw-response-data-eg-headers
4848
"""
4949
return BrandResourceWithRawResponse(self)
5050

@@ -53,7 +53,7 @@ def with_streaming_response(self) -> BrandResourceWithStreamingResponse:
5353
"""
5454
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
5555
56-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#with_streaming_response
56+
For more information, see https://www.github.com/context-dot-dev/python-sdk#with_streaming_response
5757
"""
5858
return BrandResourceWithStreamingResponse(self)
5959

@@ -1413,7 +1413,7 @@ def with_raw_response(self) -> AsyncBrandResourceWithRawResponse:
14131413
This property can be used as a prefix for any HTTP method call to return
14141414
the raw response object instead of the parsed content.
14151415
1416-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#accessing-raw-response-data-eg-headers
1416+
For more information, see https://www.github.com/context-dot-dev/python-sdk#accessing-raw-response-data-eg-headers
14171417
"""
14181418
return AsyncBrandResourceWithRawResponse(self)
14191419

@@ -1422,7 +1422,7 @@ def with_streaming_response(self) -> AsyncBrandResourceWithStreamingResponse:
14221422
"""
14231423
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
14241424
1425-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#with_streaming_response
1425+
For more information, see https://www.github.com/context-dot-dev/python-sdk#with_streaming_response
14261426
"""
14271427
return AsyncBrandResourceWithStreamingResponse(self)
14281428

src/context/dev/resources/industry.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def with_raw_response(self) -> IndustryResourceWithRawResponse:
2828
This property can be used as a prefix for any HTTP method call to return
2929
the raw response object instead of the parsed content.
3030
31-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#accessing-raw-response-data-eg-headers
31+
For more information, see https://www.github.com/context-dot-dev/python-sdk#accessing-raw-response-data-eg-headers
3232
"""
3333
return IndustryResourceWithRawResponse(self)
3434

@@ -37,7 +37,7 @@ def with_streaming_response(self) -> IndustryResourceWithStreamingResponse:
3737
"""
3838
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
3939
40-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#with_streaming_response
40+
For more information, see https://www.github.com/context-dot-dev/python-sdk#with_streaming_response
4141
"""
4242
return IndustryResourceWithStreamingResponse(self)
4343

@@ -108,7 +108,7 @@ def with_raw_response(self) -> AsyncIndustryResourceWithRawResponse:
108108
This property can be used as a prefix for any HTTP method call to return
109109
the raw response object instead of the parsed content.
110110
111-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#accessing-raw-response-data-eg-headers
111+
For more information, see https://www.github.com/context-dot-dev/python-sdk#accessing-raw-response-data-eg-headers
112112
"""
113113
return AsyncIndustryResourceWithRawResponse(self)
114114

@@ -117,7 +117,7 @@ def with_streaming_response(self) -> AsyncIndustryResourceWithStreamingResponse:
117117
"""
118118
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
119119
120-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#with_streaming_response
120+
For more information, see https://www.github.com/context-dot-dev/python-sdk#with_streaming_response
121121
"""
122122
return AsyncIndustryResourceWithStreamingResponse(self)
123123

src/context/dev/resources/style.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def with_raw_response(self) -> StyleResourceWithRawResponse:
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/brand-dot-dev/context-python-sdk#accessing-raw-response-data-eg-headers
34+
For more information, see https://www.github.com/context-dot-dev/python-sdk#accessing-raw-response-data-eg-headers
3535
"""
3636
return StyleResourceWithRawResponse(self)
3737

@@ -40,7 +40,7 @@ def with_streaming_response(self) -> StyleResourceWithStreamingResponse:
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/brand-dot-dev/context-python-sdk#with_streaming_response
43+
For more information, see https://www.github.com/context-dot-dev/python-sdk#with_streaming_response
4444
"""
4545
return StyleResourceWithStreamingResponse(self)
4646

@@ -166,7 +166,7 @@ def with_raw_response(self) -> AsyncStyleResourceWithRawResponse:
166166
This property can be used as a prefix for any HTTP method call to return
167167
the raw response object instead of the parsed content.
168168
169-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#accessing-raw-response-data-eg-headers
169+
For more information, see https://www.github.com/context-dot-dev/python-sdk#accessing-raw-response-data-eg-headers
170170
"""
171171
return AsyncStyleResourceWithRawResponse(self)
172172

@@ -175,7 +175,7 @@ def with_streaming_response(self) -> AsyncStyleResourceWithStreamingResponse:
175175
"""
176176
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
177177
178-
For more information, see https://www.github.com/brand-dot-dev/context-python-sdk#with_streaming_response
178+
For more information, see https://www.github.com/context-dot-dev/python-sdk#with_streaming_response
179179
"""
180180
return AsyncStyleResourceWithStreamingResponse(self)
181181

0 commit comments

Comments
 (0)