Skip to content

Commit 014ce32

Browse files
authored
fix(repo): update repo naming
1 parent 027744d commit 014ce32

File tree

5 files changed

+8
-8
lines changed

5 files changed

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,9 @@ prediction = response.parse() # get the object that `predictions.create()` woul
417417
print(prediction.id)
418418
```
419419

420-
These methods return an [`APIResponse`](https://github.com/replicate/replicate-python-stainless/tree/main/src/replicate/_response.py) object.
420+
These methods return an [`APIResponse`](https://github.com/replicate/replicate-python-beta/tree/main/src/replicate/_response.py) object.
421421

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

424424
#### `.with_streaming_response`
425425

pyproject.toml

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

3838
[project.urls]
39-
Homepage = "https://github.com/replicate/replicate-python-stainless"
40-
Repository = "https://github.com/replicate/replicate-python-stainless"
39+
Homepage = "https://github.com/replicate/replicate-python-beta"
40+
Repository = "https://github.com/replicate/replicate-python-beta"
4141

4242
[project.optional-dependencies]
4343
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.8"]
@@ -125,7 +125,7 @@ path = "README.md"
125125
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
126126
# replace relative links with absolute links
127127
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
128-
replacement = '[\1](https://github.com/replicate/replicate-python-stainless/tree/main/\g<2>)'
128+
replacement = '[\1](https://github.com/replicate/replicate-python-beta/tree/main/\g<2>)'
129129

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

src/replicate/_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/replicate/replicate-python-stainless/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/replicate/replicate-python-beta/tree/main#file-uploads"
3838
) from None
3939

4040

0 commit comments

Comments
 (0)