Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow is triggered when a GitHub release is created.
# It can also be run manually to re-publish to PyPI in case it failed for some reason.
# You can run this workflow by navigating to https://www.github.com/autorenderhq/autorender-python/actions/workflows/publish-pypi.yml
# You can run this workflow by navigating to https://www.github.com/autorender/autorender-python/actions/workflows/publish-pypi.yml
name: Publish PyPI
on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'autorenderhq/autorender-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
if: github.repository == 'autorender/autorender-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
release-please:
if: github.repository == 'autorenderhq/autorender-python'
if: github.repository == 'autorender/autorender-python'
runs-on: ubuntu-latest

steps:
Expand Down
152 changes: 76 additions & 76 deletions CHANGELOG.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> **Note:** This SDK is automatically generated from the Autorender API specification.
> Code pull requests are not accepted — changes to generated code will be overwritten on the next generation cycle.
>
> **Bug reports and feature requests are welcome** — please [open an issue](https://github.com/autorenderhq/autorender-python/issues).
> **Bug reports and feature requests are welcome** — please [open an issue](https://github.com/autorender/autorender-python/issues).

---

Expand Down Expand Up @@ -71,7 +71,7 @@ If you’d like to use the repository from source, you can either install from g
To install via git:

```sh
$ pip install git+ssh://git@github.com/autorenderhq/autorender-python.git
$ pip install git+ssh://git@github.com/autorender/autorender-python.git
```

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

### Publish with a GitHub workflow

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

### Publish manually

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ upload = response.parse() # get the object that `uploads.create()` would have r
print(upload.id)
```

These methods return an [`APIResponse`](https://github.com/autorenderhq/autorender-python/tree/main/src/autorender/_response.py) object.
These methods return an [`APIResponse`](https://github.com/autorender/autorender-python/tree/main/src/autorender/_response.py) object.

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

#### `.with_streaming_response`

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

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

We are keen for your feedback; please open an [issue](https://www.github.com/autorenderhq/autorender-python/issues) with questions, bugs, or suggestions.
We are keen for your feedback; please open an [issue](https://www.github.com/autorender/autorender-python/issues) with questions, bugs, or suggestions.

### Determining the installed version

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ classifiers = [
]

[project.urls]
Homepage = "https://github.com/autorenderhq/autorender-python"
Repository = "https://github.com/autorenderhq/autorender-python"
Homepage = "https://github.com/autorender/autorender-python"
Repository = "https://github.com/autorender/autorender-python"

[project.optional-dependencies]
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
Expand Down Expand Up @@ -126,7 +126,7 @@ path = "README.md"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
# replace relative links with absolute links
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
replacement = '[\1](https://github.com/autorenderhq/autorender-python/tree/main/\g<2>)'
replacement = '[\1](https://github.com/autorender/autorender-python/tree/main/\g<2>)'

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down
2 changes: 1 addition & 1 deletion src/autorender/_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def assert_is_file_content(obj: object, *, key: str | None = None) -> None:
if not is_file_content(obj):
prefix = f"Expected entry at `{key}`" if key is not None else f"Expected file input `{obj!r}`"
raise RuntimeError(
f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://github.com/autorenderhq/autorender-python/tree/main#file-uploads"
f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://github.com/autorender/autorender-python/tree/main#file-uploads"
) from None


Expand Down
8 changes: 4 additions & 4 deletions src/autorender/resources/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def with_raw_response(self) -> FilesResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/autorenderhq/autorender-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/autorender/autorender-python#accessing-raw-response-data-eg-headers
"""
return FilesResourceWithRawResponse(self)

Expand All @@ -43,7 +43,7 @@ def with_streaming_response(self) -> FilesResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/autorenderhq/autorender-python#with_streaming_response
For more information, see https://www.github.com/autorender/autorender-python#with_streaming_response
"""
return FilesResourceWithStreamingResponse(self)

Expand Down Expand Up @@ -214,7 +214,7 @@ def with_raw_response(self) -> AsyncFilesResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/autorenderhq/autorender-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/autorender/autorender-python#accessing-raw-response-data-eg-headers
"""
return AsyncFilesResourceWithRawResponse(self)

Expand All @@ -223,7 +223,7 @@ def with_streaming_response(self) -> AsyncFilesResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/autorenderhq/autorender-python#with_streaming_response
For more information, see https://www.github.com/autorender/autorender-python#with_streaming_response
"""
return AsyncFilesResourceWithStreamingResponse(self)

Expand Down
8 changes: 4 additions & 4 deletions src/autorender/resources/folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def with_raw_response(self) -> FoldersResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/autorenderhq/autorender-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/autorender/autorender-python#accessing-raw-response-data-eg-headers
"""
return FoldersResourceWithRawResponse(self)

Expand All @@ -43,7 +43,7 @@ def with_streaming_response(self) -> FoldersResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/autorenderhq/autorender-python#with_streaming_response
For more information, see https://www.github.com/autorender/autorender-python#with_streaming_response
"""
return FoldersResourceWithStreamingResponse(self)

Expand Down Expand Up @@ -219,7 +219,7 @@ def with_raw_response(self) -> AsyncFoldersResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/autorenderhq/autorender-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/autorender/autorender-python#accessing-raw-response-data-eg-headers
"""
return AsyncFoldersResourceWithRawResponse(self)

Expand All @@ -228,7 +228,7 @@ def with_streaming_response(self) -> AsyncFoldersResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/autorenderhq/autorender-python#with_streaming_response
For more information, see https://www.github.com/autorender/autorender-python#with_streaming_response
"""
return AsyncFoldersResourceWithStreamingResponse(self)

Expand Down
8 changes: 4 additions & 4 deletions src/autorender/resources/multipart_uploads.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def with_raw_response(self) -> MultipartUploadsResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/autorenderhq/autorender-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/autorender/autorender-python#accessing-raw-response-data-eg-headers
"""
return MultipartUploadsResourceWithRawResponse(self)

Expand All @@ -42,7 +42,7 @@ def with_streaming_response(self) -> MultipartUploadsResourceWithStreamingRespon
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/autorenderhq/autorender-python#with_streaming_response
For more information, see https://www.github.com/autorender/autorender-python#with_streaming_response
"""
return MultipartUploadsResourceWithStreamingResponse(self)

Expand Down Expand Up @@ -148,7 +148,7 @@ def with_raw_response(self) -> AsyncMultipartUploadsResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/autorenderhq/autorender-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/autorender/autorender-python#accessing-raw-response-data-eg-headers
"""
return AsyncMultipartUploadsResourceWithRawResponse(self)

Expand All @@ -157,7 +157,7 @@ def with_streaming_response(self) -> AsyncMultipartUploadsResourceWithStreamingR
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/autorenderhq/autorender-python#with_streaming_response
For more information, see https://www.github.com/autorender/autorender-python#with_streaming_response
"""
return AsyncMultipartUploadsResourceWithStreamingResponse(self)

Expand Down
8 changes: 4 additions & 4 deletions src/autorender/resources/uploads.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def with_raw_response(self) -> UploadsResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/autorenderhq/autorender-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/autorender/autorender-python#accessing-raw-response-data-eg-headers
"""
return UploadsResourceWithRawResponse(self)

Expand All @@ -43,7 +43,7 @@ def with_streaming_response(self) -> UploadsResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/autorenderhq/autorender-python#with_streaming_response
For more information, see https://www.github.com/autorender/autorender-python#with_streaming_response
"""
return UploadsResourceWithStreamingResponse(self)

Expand Down Expand Up @@ -198,7 +198,7 @@ def with_raw_response(self) -> AsyncUploadsResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/autorenderhq/autorender-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/autorender/autorender-python#accessing-raw-response-data-eg-headers
"""
return AsyncUploadsResourceWithRawResponse(self)

Expand All @@ -207,7 +207,7 @@ def with_streaming_response(self) -> AsyncUploadsResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/autorenderhq/autorender-python#with_streaming_response
For more information, see https://www.github.com/autorender/autorender-python#with_streaming_response
"""
return AsyncUploadsResourceWithStreamingResponse(self)

Expand Down