Skip to content

Commit 4cc5074

Browse files
feat(api): update production repos
1 parent 58d68e9 commit 4cc5074

26 files changed

+88
-88
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/onkernel/kernel-python-sdk/actions/workflows/publish-pypi.yml
3+
# You can run this workflow by navigating to https://www.github.com/kernel/kernel-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 == 'onkernel/kernel-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 == 'kernel/kernel-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@v4

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 89
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-8d66dbedea5b240936b338809f272568ca84a452fc13dbda835479f2ec068b41.yml
33
openapi_spec_hash: 7c499bfce2e996f1fff5e7791cea390e
4-
config_hash: fcc2db3ed48ab4e8d1b588d31d394a23
4+
config_hash: 2ee8c7057fa9b05cd0dabd23247c40ec

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]/onkernel/kernel-python-sdk.git
65+
$ pip install git+ssh://[email protected]/kernel/kernel-python-sdk.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/onkernel/kernel-python-sdk/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/kernel/kernel-python-sdk/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
@@ -363,9 +363,9 @@ browser = response.parse() # get the object that `browsers.create()` would have
363363
print(browser.session_id)
364364
```
365365

366-
These methods return an [`APIResponse`](https://github.com/onkernel/kernel-python-sdk/tree/main/src/kernel/_response.py) object.
366+
These methods return an [`APIResponse`](https://github.com/kernel/kernel-python-sdk/tree/main/src/kernel/_response.py) object.
367367

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

370370
#### `.with_streaming_response`
371371

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

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

474-
We are keen for your feedback; please open an [issue](https://www.github.com/onkernel/kernel-python-sdk/issues) with questions, bugs, or suggestions.
474+
We are keen for your feedback; please open an [issue](https://www.github.com/kernel/kernel-python-sdk/issues) with questions, bugs, or suggestions.
475475

476476
### Determining the installed version
477477

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/onkernel/kernel-python-sdk"
41-
Repository = "https://github.com/onkernel/kernel-python-sdk"
40+
Homepage = "https://github.com/kernel/kernel-python-sdk"
41+
Repository = "https://github.com/kernel/kernel-python-sdk"
4242

4343
[project.optional-dependencies]
4444
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
@@ -126,7 +126,7 @@ path = "README.md"
126126
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
127127
# replace relative links with absolute links
128128
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
129-
replacement = '[\1](https://github.com/onkernel/kernel-python-sdk/tree/main/\g<2>)'
129+
replacement = '[\1](https://github.com/kernel/kernel-python-sdk/tree/main/\g<2>)'
130130

131131
[tool.pytest.ini_options]
132132
testpaths = ["tests"]

src/kernel/_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/onkernel/kernel-python-sdk/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/kernel/kernel-python-sdk/tree/main#file-uploads"
3838
) from None
3939

4040

src/kernel/resources/agents/agents.py

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

@@ -36,7 +36,7 @@ def with_streaming_response(self) -> AgentsResourceWithStreamingResponse:
3636
"""
3737
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
3838
39-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#with_streaming_response
39+
For more information, see https://www.github.com/kernel/kernel-python-sdk#with_streaming_response
4040
"""
4141
return AgentsResourceWithStreamingResponse(self)
4242

@@ -52,7 +52,7 @@ def with_raw_response(self) -> AsyncAgentsResourceWithRawResponse:
5252
This property can be used as a prefix for any HTTP method call to return
5353
the raw response object instead of the parsed content.
5454
55-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#accessing-raw-response-data-eg-headers
55+
For more information, see https://www.github.com/kernel/kernel-python-sdk#accessing-raw-response-data-eg-headers
5656
"""
5757
return AsyncAgentsResourceWithRawResponse(self)
5858

@@ -61,7 +61,7 @@ def with_streaming_response(self) -> AsyncAgentsResourceWithStreamingResponse:
6161
"""
6262
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
6363
64-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#with_streaming_response
64+
For more information, see https://www.github.com/kernel/kernel-python-sdk#with_streaming_response
6565
"""
6666
return AsyncAgentsResourceWithStreamingResponse(self)
6767

src/kernel/resources/agents/auth/auth.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def with_raw_response(self) -> AuthResourceWithRawResponse:
4141
This property can be used as a prefix for any HTTP method call to return
4242
the raw response object instead of the parsed content.
4343
44-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#accessing-raw-response-data-eg-headers
44+
For more information, see https://www.github.com/kernel/kernel-python-sdk#accessing-raw-response-data-eg-headers
4545
"""
4646
return AuthResourceWithRawResponse(self)
4747

@@ -50,7 +50,7 @@ def with_streaming_response(self) -> AuthResourceWithStreamingResponse:
5050
"""
5151
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
5252
53-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#with_streaming_response
53+
For more information, see https://www.github.com/kernel/kernel-python-sdk#with_streaming_response
5454
"""
5555
return AuthResourceWithStreamingResponse(self)
5656

@@ -262,7 +262,7 @@ def with_raw_response(self) -> AsyncAuthResourceWithRawResponse:
262262
This property can be used as a prefix for any HTTP method call to return
263263
the raw response object instead of the parsed content.
264264
265-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#accessing-raw-response-data-eg-headers
265+
For more information, see https://www.github.com/kernel/kernel-python-sdk#accessing-raw-response-data-eg-headers
266266
"""
267267
return AsyncAuthResourceWithRawResponse(self)
268268

@@ -271,7 +271,7 @@ def with_streaming_response(self) -> AsyncAuthResourceWithStreamingResponse:
271271
"""
272272
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
273273
274-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#with_streaming_response
274+
For more information, see https://www.github.com/kernel/kernel-python-sdk#with_streaming_response
275275
"""
276276
return AsyncAuthResourceWithStreamingResponse(self)
277277

src/kernel/resources/agents/auth/invocations.py

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

@@ -43,7 +43,7 @@ def with_streaming_response(self) -> InvocationsResourceWithStreamingResponse:
4343
"""
4444
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
4545
46-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#with_streaming_response
46+
For more information, see https://www.github.com/kernel/kernel-python-sdk#with_streaming_response
4747
"""
4848
return InvocationsResourceWithStreamingResponse(self)
4949

@@ -272,7 +272,7 @@ def with_raw_response(self) -> AsyncInvocationsResourceWithRawResponse:
272272
This property can be used as a prefix for any HTTP method call to return
273273
the raw response object instead of the parsed content.
274274
275-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#accessing-raw-response-data-eg-headers
275+
For more information, see https://www.github.com/kernel/kernel-python-sdk#accessing-raw-response-data-eg-headers
276276
"""
277277
return AsyncInvocationsResourceWithRawResponse(self)
278278

@@ -281,7 +281,7 @@ def with_streaming_response(self) -> AsyncInvocationsResourceWithStreamingRespon
281281
"""
282282
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
283283
284-
For more information, see https://www.github.com/onkernel/kernel-python-sdk#with_streaming_response
284+
For more information, see https://www.github.com/kernel/kernel-python-sdk#with_streaming_response
285285
"""
286286
return AsyncInvocationsResourceWithStreamingResponse(self)
287287

0 commit comments

Comments
 (0)