From ac6c31e195f6ddc53d14080c59566f2db1eb32bf Mon Sep 17 00:00:00 2001 From: Geetha Karthick Date: Sun, 12 Jul 2026 16:05:41 +0530 Subject: [PATCH] chore: rename autorenderhq -> autorender references (GitHub org rename) Mechanical cleanup after the org rename autorenderhq -> autorender. Updates GitHub org/repo references (URLs, workflow repo guards, uses:, package metadata, docs). Intentionally left unchanged: SDK mount paths (autorenderhq-), Linear workspace URL, Sentry org slug. No logic changed (string references only). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/publish-pypi.yml | 2 +- .github/workflows/release-doctor.yml | 2 +- .github/workflows/release-please.yml | 2 +- CHANGELOG.md | 152 +++++++++--------- CONTRIBUTING.md | 6 +- README.md | 6 +- pyproject.toml | 6 +- src/autorender/_files.py | 2 +- src/autorender/resources/files.py | 8 +- src/autorender/resources/folders.py | 8 +- src/autorender/resources/multipart_uploads.py | 8 +- src/autorender/resources/uploads.py | 8 +- 12 files changed, 105 insertions(+), 105 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 115692d..7e64aae 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -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: diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 1ecf148..0e2c5b7 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -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 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e180531..5e9ace1 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -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: diff --git a/CHANGELOG.md b/CHANGELOG.md index 2867bbb..b024049 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,148 +1,148 @@ # Changelog -## [0.2.3](https://github.com/autorenderhq/autorender-python/compare/v0.2.2...v0.2.3) (2026-06-29) +## [0.2.3](https://github.com/autorender/autorender-python/compare/v0.2.2...v0.2.3) (2026-06-29) ### Chores -* remove Stainless attribution from README and SECURITY ([d0947e2](https://github.com/autorenderhq/autorender-python/commit/d0947e288000a296dab8f61ee30a47c35bf8cf91)) -* strip internal workflows; preserve production-managed files ([ac1c0d9](https://github.com/autorenderhq/autorender-python/commit/ac1c0d97235de3b8613f9f661a7ae61defa916d0)) +* remove Stainless attribution from README and SECURITY ([d0947e2](https://github.com/autorender/autorender-python/commit/d0947e288000a296dab8f61ee30a47c35bf8cf91)) +* strip internal workflows; preserve production-managed files ([ac1c0d9](https://github.com/autorender/autorender-python/commit/ac1c0d97235de3b8613f9f661a7ae61defa916d0)) -## [0.2.2](https://github.com/autorenderhq/autorender-python/compare/v0.2.1...v0.2.2) (2026-06-12) +## [0.2.2](https://github.com/autorender/autorender-python/compare/v0.2.1...v0.2.2) (2026-06-12) ### Bug Fixes -* preserve production-managed files in release branch ([df62271](https://github.com/autorenderhq/autorender-python/commit/df62271022fe248a89d687cf75b72ad7ad04f533)) -* strip internal workflows from production release branch ([eff96da](https://github.com/autorenderhq/autorender-python/commit/eff96da6776b37be28cba791ab8c79b37cea04b0)) -* update promote workflow and add back-sync from production ([480e3d3](https://github.com/autorenderhq/autorender-python/commit/480e3d33cb70eb0064ff352e15197d3f628936a8)) -* use blob comparison in overlay; add language-specific version files ([8201cbf](https://github.com/autorenderhq/autorender-python/commit/8201cbff752bb9df08d4f606fb593a7cebebb06a)) -* use persist-credentials: false in sync workflow ([6f8e8a0](https://github.com/autorenderhq/autorender-python/commit/6f8e8a0ffc5f06760479249a630338387c8c61e2)) +* preserve production-managed files in release branch ([df62271](https://github.com/autorender/autorender-python/commit/df62271022fe248a89d687cf75b72ad7ad04f533)) +* strip internal workflows from production release branch ([eff96da](https://github.com/autorender/autorender-python/commit/eff96da6776b37be28cba791ab8c79b37cea04b0)) +* update promote workflow and add back-sync from production ([480e3d3](https://github.com/autorender/autorender-python/commit/480e3d33cb70eb0064ff352e15197d3f628936a8)) +* use blob comparison in overlay; add language-specific version files ([8201cbf](https://github.com/autorender/autorender-python/commit/8201cbff752bb9df08d4f606fb593a7cebebb06a)) +* use persist-credentials: false in sync workflow ([6f8e8a0](https://github.com/autorender/autorender-python/commit/6f8e8a0ffc5f06760479249a630338387c8c61e2)) ### Chores -* preserve production-managed files ([a4eebf3](https://github.com/autorenderhq/autorender-python/commit/a4eebf3483db6c5fefb8ccfe6e187812894902ce)) -* remove staging-only workflows from production ([6fd7d39](https://github.com/autorenderhq/autorender-python/commit/6fd7d39d32178cfeac47a6534a82be7c1809e131)) -* remove staging-only workflows from production ([53464a4](https://github.com/autorenderhq/autorender-python/commit/53464a4f6f535ebce37aae6089d230c7bd782235)) -* strip internal workflows; preserve production-managed files ([51d2e56](https://github.com/autorenderhq/autorender-python/commit/51d2e5686fe80673ce44c6be53d90c6bbb43f02a)) +* preserve production-managed files ([a4eebf3](https://github.com/autorender/autorender-python/commit/a4eebf3483db6c5fefb8ccfe6e187812894902ce)) +* remove staging-only workflows from production ([6fd7d39](https://github.com/autorender/autorender-python/commit/6fd7d39d32178cfeac47a6534a82be7c1809e131)) +* remove staging-only workflows from production ([53464a4](https://github.com/autorender/autorender-python/commit/53464a4f6f535ebce37aae6089d230c7bd782235)) +* strip internal workflows; preserve production-managed files ([51d2e56](https://github.com/autorender/autorender-python/commit/51d2e5686fe80673ce44c6be53d90c6bbb43f02a)) ### Documentation -* add auto-generated notice to CONTRIBUTING.md ([88b420c](https://github.com/autorenderhq/autorender-python/commit/88b420c07c39698625b03dce06a45bdcf8076816)) +* add auto-generated notice to CONTRIBUTING.md ([88b420c](https://github.com/autorender/autorender-python/commit/88b420c07c39698625b03dce06a45bdcf8076816)) -## [0.2.1](https://github.com/autorenderhq/autorender-python/compare/v0.2.0...v0.2.1) (2026-05-25) +## [0.2.1](https://github.com/autorender/autorender-python/compare/v0.2.0...v0.2.1) (2026-05-25) ### Bug Fixes -* publish to correct PyPI package name (autorender) ([5bb8f32](https://github.com/autorenderhq/autorender-python/commit/5bb8f32faae2a3f48b5696b8517b4a6dfd686163)) +* publish to correct PyPI package name (autorender) ([5bb8f32](https://github.com/autorender/autorender-python/commit/5bb8f32faae2a3f48b5696b8517b4a6dfd686163)) -## [0.2.0](https://github.com/autorenderhq/autorender-python/compare/v0.1.0...v0.2.0) (2026-05-25) +## [0.2.0](https://github.com/autorender/autorender-python/compare/v0.1.0...v0.2.0) (2026-05-25) ### Features -* add test CI job ([2c25e3a](https://github.com/autorenderhq/autorender-python/commit/2c25e3ad8ffe7ff44d5e7781e37de7c2598550df)) -* initial stlc build ([0bdb709](https://github.com/autorenderhq/autorender-python/commit/0bdb709b1d8e670a795f867f71fab9c3ef6be539)) +* add test CI job ([2c25e3a](https://github.com/autorender/autorender-python/commit/2c25e3ad8ffe7ff44d5e7781e37de7c2598550df)) +* initial stlc build ([0bdb709](https://github.com/autorender/autorender-python/commit/0bdb709b1d8e670a795f867f71fab9c3ef6be539)) ### Bug Fixes -* install rye for Python SDK bootstrap ([5f089bf](https://github.com/autorenderhq/autorender-python/commit/5f089bf37c183b4d41b1eb1787c5b7390d93b0f2)) -* **python:** rename pagination field has_next_page -> has_next to fix pyright lint ([729d204](https://github.com/autorenderhq/autorender-python/commit/729d20471bdfe545acdea2e443cfb2b8436ba08a)) +* install rye for Python SDK bootstrap ([5f089bf](https://github.com/autorender/autorender-python/commit/5f089bf37c183b4d41b1eb1787c5b7390d93b0f2)) +* **python:** rename pagination field has_next_page -> has_next to fix pyright lint ([729d204](https://github.com/autorender/autorender-python/commit/729d20471bdfe545acdea2e443cfb2b8436ba08a)) ### Chores -* trigger release-please ([8db5acc](https://github.com/autorenderhq/autorender-python/commit/8db5acc865fce568f3ebb33c2e2536d9e84a41a6)) -* update stlc custom-code tracking files ([505f95e](https://github.com/autorenderhq/autorender-python/commit/505f95e9e6b66928d05ffa5b630102fdfe3b5e3e)) +* trigger release-please ([8db5acc](https://github.com/autorender/autorender-python/commit/8db5acc865fce568f3ebb33c2e2536d9e84a41a6)) +* update stlc custom-code tracking files ([505f95e](https://github.com/autorender/autorender-python/commit/505f95e9e6b66928d05ffa5b630102fdfe3b5e3e)) -## [0.1.0](https://github.com/autorenderhq/autorender-python/compare/v0.0.1...v0.1.0) (2026-05-25) +## [0.1.0](https://github.com/autorender/autorender-python/compare/v0.0.1...v0.1.0) (2026-05-25) ### Features -* add test CI job ([2c25e3a](https://github.com/autorenderhq/autorender-python/commit/2c25e3ad8ffe7ff44d5e7781e37de7c2598550df)) -* **api:** api update ([84d1942](https://github.com/autorenderhq/autorender-python/commit/84d19422bdd7a80d8c0d52fe6bb0e989f7b2abe7)) -* **api:** api update ([9dc8482](https://github.com/autorenderhq/autorender-python/commit/9dc848263fbf6509dd3e84a3a7963a897d14991b)) -* **api:** api update ([04c1163](https://github.com/autorenderhq/autorender-python/commit/04c116350cc7a2f5f288a8fd9febd020083cf536)) -* **api:** api update ([b4d6dbe](https://github.com/autorenderhq/autorender-python/commit/b4d6dbee14ac3e753968ce90388eaf01d2af4b94)) -* **api:** api update ([3932736](https://github.com/autorenderhq/autorender-python/commit/393273609afc67cc8b30d33bb27861edb1e20988)) -* **api:** api update ([58346bd](https://github.com/autorenderhq/autorender-python/commit/58346bdeba4b11a33fd1e63c69fceb432424bdf0)) -* **api:** api update ([7fdb60a](https://github.com/autorenderhq/autorender-python/commit/7fdb60a62af1ae9fd716c3a9939d2cc128bd4a85)) -* **api:** api update ([79c95b0](https://github.com/autorenderhq/autorender-python/commit/79c95b0a55d59e214f0b00936a5b517c0f66ca13)) -* **api:** api update ([b43e6a1](https://github.com/autorenderhq/autorender-python/commit/b43e6a1b4b157808d3ef2606552df4e68c1524e7)) -* **api:** api update ([658511c](https://github.com/autorenderhq/autorender-python/commit/658511ca294a346646139b0c4c5e0f4e151115e4)) -* initial stlc build ([0bdb709](https://github.com/autorenderhq/autorender-python/commit/0bdb709b1d8e670a795f867f71fab9c3ef6be539)) -* **internal/types:** support eagerly validating pydantic iterators ([477052f](https://github.com/autorenderhq/autorender-python/commit/477052fa9cd1ff89c96ee4b8febf010851c6501e)) -* support setting headers via env ([749df21](https://github.com/autorenderhq/autorender-python/commit/749df21f7ac657d44cb297707a5ec2506bcb0df9)) +* add test CI job ([2c25e3a](https://github.com/autorender/autorender-python/commit/2c25e3ad8ffe7ff44d5e7781e37de7c2598550df)) +* **api:** api update ([84d1942](https://github.com/autorender/autorender-python/commit/84d19422bdd7a80d8c0d52fe6bb0e989f7b2abe7)) +* **api:** api update ([9dc8482](https://github.com/autorender/autorender-python/commit/9dc848263fbf6509dd3e84a3a7963a897d14991b)) +* **api:** api update ([04c1163](https://github.com/autorender/autorender-python/commit/04c116350cc7a2f5f288a8fd9febd020083cf536)) +* **api:** api update ([b4d6dbe](https://github.com/autorender/autorender-python/commit/b4d6dbee14ac3e753968ce90388eaf01d2af4b94)) +* **api:** api update ([3932736](https://github.com/autorender/autorender-python/commit/393273609afc67cc8b30d33bb27861edb1e20988)) +* **api:** api update ([58346bd](https://github.com/autorender/autorender-python/commit/58346bdeba4b11a33fd1e63c69fceb432424bdf0)) +* **api:** api update ([7fdb60a](https://github.com/autorender/autorender-python/commit/7fdb60a62af1ae9fd716c3a9939d2cc128bd4a85)) +* **api:** api update ([79c95b0](https://github.com/autorender/autorender-python/commit/79c95b0a55d59e214f0b00936a5b517c0f66ca13)) +* **api:** api update ([b43e6a1](https://github.com/autorender/autorender-python/commit/b43e6a1b4b157808d3ef2606552df4e68c1524e7)) +* **api:** api update ([658511c](https://github.com/autorender/autorender-python/commit/658511ca294a346646139b0c4c5e0f4e151115e4)) +* initial stlc build ([0bdb709](https://github.com/autorender/autorender-python/commit/0bdb709b1d8e670a795f867f71fab9c3ef6be539)) +* **internal/types:** support eagerly validating pydantic iterators ([477052f](https://github.com/autorender/autorender-python/commit/477052fa9cd1ff89c96ee4b8febf010851c6501e)) +* support setting headers via env ([749df21](https://github.com/autorender/autorender-python/commit/749df21f7ac657d44cb297707a5ec2506bcb0df9)) ### Bug Fixes -* **client:** add missing f-string prefix in file type error message ([0f93e15](https://github.com/autorenderhq/autorender-python/commit/0f93e15723c120a2f409cf2884d085f7966d5d0c)) -* **examples:** use timestamp names and correct response shape in files.py ([b4d13a7](https://github.com/autorenderhq/autorender-python/commit/b4d13a7d72784c4448424db46495c985276773d3)) -* install rye for Python SDK bootstrap ([5f089bf](https://github.com/autorenderhq/autorender-python/commit/5f089bf37c183b4d41b1eb1787c5b7390d93b0f2)) -* **pagination:** resolve pyright incompatible override for has_next_page ([5cf6e56](https://github.com/autorenderhq/autorender-python/commit/5cf6e565ac0aeecdc5e59b887b1e008892eed1ce)) -* **python:** rename pagination field has_next_page -> has_next to fix pyright lint ([729d204](https://github.com/autorenderhq/autorender-python/commit/729d20471bdfe545acdea2e443cfb2b8436ba08a)) -* strip Content-Type header for body-less requests; add examples ([c3591d0](https://github.com/autorenderhq/autorender-python/commit/c3591d02910ded15e21a7ed7da402bf149f46857)) -* use correct field name format for multipart file arrays ([f968ef9](https://github.com/autorenderhq/autorender-python/commit/f968ef95330967c6b888ea3fc89c85f12ee926d1)) +* **client:** add missing f-string prefix in file type error message ([0f93e15](https://github.com/autorender/autorender-python/commit/0f93e15723c120a2f409cf2884d085f7966d5d0c)) +* **examples:** use timestamp names and correct response shape in files.py ([b4d13a7](https://github.com/autorender/autorender-python/commit/b4d13a7d72784c4448424db46495c985276773d3)) +* install rye for Python SDK bootstrap ([5f089bf](https://github.com/autorender/autorender-python/commit/5f089bf37c183b4d41b1eb1787c5b7390d93b0f2)) +* **pagination:** resolve pyright incompatible override for has_next_page ([5cf6e56](https://github.com/autorender/autorender-python/commit/5cf6e565ac0aeecdc5e59b887b1e008892eed1ce)) +* **python:** rename pagination field has_next_page -> has_next to fix pyright lint ([729d204](https://github.com/autorender/autorender-python/commit/729d20471bdfe545acdea2e443cfb2b8436ba08a)) +* strip Content-Type header for body-less requests; add examples ([c3591d0](https://github.com/autorender/autorender-python/commit/c3591d02910ded15e21a7ed7da402bf149f46857)) +* use correct field name format for multipart file arrays ([f968ef9](https://github.com/autorender/autorender-python/commit/f968ef95330967c6b888ea3fc89c85f12ee926d1)) ### Performance Improvements -* **client:** optimize file structure copying in multipart requests ([498d621](https://github.com/autorenderhq/autorender-python/commit/498d621cc46637650c03f1ed9d00749dbcab9c99)) +* **client:** optimize file structure copying in multipart requests ([498d621](https://github.com/autorender/autorender-python/commit/498d621cc46637650c03f1ed9d00749dbcab9c99)) ### Chores -* **internal:** more robust bootstrap script ([798e8b7](https://github.com/autorenderhq/autorender-python/commit/798e8b79c22e0173d4f30a80924dcad627cc838f)) -* **internal:** reformat pyproject.toml ([fcc4169](https://github.com/autorenderhq/autorender-python/commit/fcc4169f137c6f4e6305bd0b8133658ad5337aa6)) -* remove examples from SDK (moved to stainless-examples runner) ([12a383e](https://github.com/autorenderhq/autorender-python/commit/12a383e16ab6e856905dd8ce8f3f666ff914c43c)) -* **tests:** bump steady to v0.22.1 ([30a0e81](https://github.com/autorenderhq/autorender-python/commit/30a0e8184adf8271f879cb9e5175ed52404a0043)) -* update SDK settings ([aead4ee](https://github.com/autorenderhq/autorender-python/commit/aead4ee8dd9504134612b1845cd18576b7c58848)) -* update stlc custom-code tracking files ([505f95e](https://github.com/autorenderhq/autorender-python/commit/505f95e9e6b66928d05ffa5b630102fdfe3b5e3e)) +* **internal:** more robust bootstrap script ([798e8b7](https://github.com/autorender/autorender-python/commit/798e8b79c22e0173d4f30a80924dcad627cc838f)) +* **internal:** reformat pyproject.toml ([fcc4169](https://github.com/autorender/autorender-python/commit/fcc4169f137c6f4e6305bd0b8133658ad5337aa6)) +* remove examples from SDK (moved to stainless-examples runner) ([12a383e](https://github.com/autorender/autorender-python/commit/12a383e16ab6e856905dd8ce8f3f666ff914c43c)) +* **tests:** bump steady to v0.22.1 ([30a0e81](https://github.com/autorender/autorender-python/commit/30a0e8184adf8271f879cb9e5175ed52404a0043)) +* update SDK settings ([aead4ee](https://github.com/autorender/autorender-python/commit/aead4ee8dd9504134612b1845cd18576b7c58848)) +* update stlc custom-code tracking files ([505f95e](https://github.com/autorender/autorender-python/commit/505f95e9e6b66928d05ffa5b630102fdfe3b5e3e)) ## 0.1.0 (2026-05-15) -Full Changelog: [v0.0.1...v0.1.0](https://github.com/autorenderhq/autorender-python/compare/v0.0.1...v0.1.0) +Full Changelog: [v0.0.1...v0.1.0](https://github.com/autorender/autorender-python/compare/v0.0.1...v0.1.0) ### Features -* **api:** api update ([84d1942](https://github.com/autorenderhq/autorender-python/commit/84d19422bdd7a80d8c0d52fe6bb0e989f7b2abe7)) -* **api:** api update ([9dc8482](https://github.com/autorenderhq/autorender-python/commit/9dc848263fbf6509dd3e84a3a7963a897d14991b)) -* **api:** api update ([04c1163](https://github.com/autorenderhq/autorender-python/commit/04c116350cc7a2f5f288a8fd9febd020083cf536)) -* **api:** api update ([b4d6dbe](https://github.com/autorenderhq/autorender-python/commit/b4d6dbee14ac3e753968ce90388eaf01d2af4b94)) -* **api:** api update ([3932736](https://github.com/autorenderhq/autorender-python/commit/393273609afc67cc8b30d33bb27861edb1e20988)) -* **api:** api update ([58346bd](https://github.com/autorenderhq/autorender-python/commit/58346bdeba4b11a33fd1e63c69fceb432424bdf0)) -* **api:** api update ([7fdb60a](https://github.com/autorenderhq/autorender-python/commit/7fdb60a62af1ae9fd716c3a9939d2cc128bd4a85)) -* **api:** api update ([79c95b0](https://github.com/autorenderhq/autorender-python/commit/79c95b0a55d59e214f0b00936a5b517c0f66ca13)) -* **api:** api update ([b43e6a1](https://github.com/autorenderhq/autorender-python/commit/b43e6a1b4b157808d3ef2606552df4e68c1524e7)) -* **api:** api update ([658511c](https://github.com/autorenderhq/autorender-python/commit/658511ca294a346646139b0c4c5e0f4e151115e4)) -* **internal/types:** support eagerly validating pydantic iterators ([477052f](https://github.com/autorenderhq/autorender-python/commit/477052fa9cd1ff89c96ee4b8febf010851c6501e)) -* support setting headers via env ([749df21](https://github.com/autorenderhq/autorender-python/commit/749df21f7ac657d44cb297707a5ec2506bcb0df9)) +* **api:** api update ([84d1942](https://github.com/autorender/autorender-python/commit/84d19422bdd7a80d8c0d52fe6bb0e989f7b2abe7)) +* **api:** api update ([9dc8482](https://github.com/autorender/autorender-python/commit/9dc848263fbf6509dd3e84a3a7963a897d14991b)) +* **api:** api update ([04c1163](https://github.com/autorender/autorender-python/commit/04c116350cc7a2f5f288a8fd9febd020083cf536)) +* **api:** api update ([b4d6dbe](https://github.com/autorender/autorender-python/commit/b4d6dbee14ac3e753968ce90388eaf01d2af4b94)) +* **api:** api update ([3932736](https://github.com/autorender/autorender-python/commit/393273609afc67cc8b30d33bb27861edb1e20988)) +* **api:** api update ([58346bd](https://github.com/autorender/autorender-python/commit/58346bdeba4b11a33fd1e63c69fceb432424bdf0)) +* **api:** api update ([7fdb60a](https://github.com/autorender/autorender-python/commit/7fdb60a62af1ae9fd716c3a9939d2cc128bd4a85)) +* **api:** api update ([79c95b0](https://github.com/autorender/autorender-python/commit/79c95b0a55d59e214f0b00936a5b517c0f66ca13)) +* **api:** api update ([b43e6a1](https://github.com/autorender/autorender-python/commit/b43e6a1b4b157808d3ef2606552df4e68c1524e7)) +* **api:** api update ([658511c](https://github.com/autorender/autorender-python/commit/658511ca294a346646139b0c4c5e0f4e151115e4)) +* **internal/types:** support eagerly validating pydantic iterators ([477052f](https://github.com/autorender/autorender-python/commit/477052fa9cd1ff89c96ee4b8febf010851c6501e)) +* support setting headers via env ([749df21](https://github.com/autorender/autorender-python/commit/749df21f7ac657d44cb297707a5ec2506bcb0df9)) ### Bug Fixes -* **client:** add missing f-string prefix in file type error message ([0f93e15](https://github.com/autorenderhq/autorender-python/commit/0f93e15723c120a2f409cf2884d085f7966d5d0c)) -* **examples:** use timestamp names and correct response shape in files.py ([b4d13a7](https://github.com/autorenderhq/autorender-python/commit/b4d13a7d72784c4448424db46495c985276773d3)) -* **pagination:** resolve pyright incompatible override for has_next_page ([5cf6e56](https://github.com/autorenderhq/autorender-python/commit/5cf6e565ac0aeecdc5e59b887b1e008892eed1ce)) -* strip Content-Type header for body-less requests; add examples ([c3591d0](https://github.com/autorenderhq/autorender-python/commit/c3591d02910ded15e21a7ed7da402bf149f46857)) -* use correct field name format for multipart file arrays ([f968ef9](https://github.com/autorenderhq/autorender-python/commit/f968ef95330967c6b888ea3fc89c85f12ee926d1)) +* **client:** add missing f-string prefix in file type error message ([0f93e15](https://github.com/autorender/autorender-python/commit/0f93e15723c120a2f409cf2884d085f7966d5d0c)) +* **examples:** use timestamp names and correct response shape in files.py ([b4d13a7](https://github.com/autorender/autorender-python/commit/b4d13a7d72784c4448424db46495c985276773d3)) +* **pagination:** resolve pyright incompatible override for has_next_page ([5cf6e56](https://github.com/autorender/autorender-python/commit/5cf6e565ac0aeecdc5e59b887b1e008892eed1ce)) +* strip Content-Type header for body-less requests; add examples ([c3591d0](https://github.com/autorender/autorender-python/commit/c3591d02910ded15e21a7ed7da402bf149f46857)) +* use correct field name format for multipart file arrays ([f968ef9](https://github.com/autorender/autorender-python/commit/f968ef95330967c6b888ea3fc89c85f12ee926d1)) ### Performance Improvements -* **client:** optimize file structure copying in multipart requests ([498d621](https://github.com/autorenderhq/autorender-python/commit/498d621cc46637650c03f1ed9d00749dbcab9c99)) +* **client:** optimize file structure copying in multipart requests ([498d621](https://github.com/autorender/autorender-python/commit/498d621cc46637650c03f1ed9d00749dbcab9c99)) ### Chores -* **internal:** more robust bootstrap script ([798e8b7](https://github.com/autorenderhq/autorender-python/commit/798e8b79c22e0173d4f30a80924dcad627cc838f)) -* **internal:** reformat pyproject.toml ([fcc4169](https://github.com/autorenderhq/autorender-python/commit/fcc4169f137c6f4e6305bd0b8133658ad5337aa6)) -* remove examples from SDK (moved to stainless-examples runner) ([12a383e](https://github.com/autorenderhq/autorender-python/commit/12a383e16ab6e856905dd8ce8f3f666ff914c43c)) -* **tests:** bump steady to v0.22.1 ([30a0e81](https://github.com/autorenderhq/autorender-python/commit/30a0e8184adf8271f879cb9e5175ed52404a0043)) -* update SDK settings ([aead4ee](https://github.com/autorenderhq/autorender-python/commit/aead4ee8dd9504134612b1845cd18576b7c58848)) +* **internal:** more robust bootstrap script ([798e8b7](https://github.com/autorender/autorender-python/commit/798e8b79c22e0173d4f30a80924dcad627cc838f)) +* **internal:** reformat pyproject.toml ([fcc4169](https://github.com/autorender/autorender-python/commit/fcc4169f137c6f4e6305bd0b8133658ad5337aa6)) +* remove examples from SDK (moved to stainless-examples runner) ([12a383e](https://github.com/autorender/autorender-python/commit/12a383e16ab6e856905dd8ce8f3f666ff914c43c)) +* **tests:** bump steady to v0.22.1 ([30a0e81](https://github.com/autorender/autorender-python/commit/30a0e8184adf8271f879cb9e5175ed52404a0043)) +* update SDK settings ([aead4ee](https://github.com/autorender/autorender-python/commit/aead4ee8dd9504134612b1845cd18576b7c58848)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index da73a48..b737254 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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). --- @@ -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: @@ -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 diff --git a/README.md b/README.md index 948aa60..4516805 100644 --- a/README.md +++ b/README.md @@ -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` @@ -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 diff --git a/pyproject.toml b/pyproject.toml index bef630d..390f5df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] @@ -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"] diff --git a/src/autorender/_files.py b/src/autorender/_files.py index 0669ce2..0e3d310 100644 --- a/src/autorender/_files.py +++ b/src/autorender/_files.py @@ -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 diff --git a/src/autorender/resources/files.py b/src/autorender/resources/files.py index d949f20..b0d1ac8 100644 --- a/src/autorender/resources/files.py +++ b/src/autorender/resources/files.py @@ -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) @@ -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) @@ -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) @@ -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) diff --git a/src/autorender/resources/folders.py b/src/autorender/resources/folders.py index 8ad8e78..d3b9bc8 100644 --- a/src/autorender/resources/folders.py +++ b/src/autorender/resources/folders.py @@ -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) @@ -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) @@ -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) @@ -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) diff --git a/src/autorender/resources/multipart_uploads.py b/src/autorender/resources/multipart_uploads.py index ddbfcde..450940a 100644 --- a/src/autorender/resources/multipart_uploads.py +++ b/src/autorender/resources/multipart_uploads.py @@ -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) @@ -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) @@ -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) @@ -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) diff --git a/src/autorender/resources/uploads.py b/src/autorender/resources/uploads.py index f5a91d1..2237e3e 100644 --- a/src/autorender/resources/uploads.py +++ b/src/autorender/resources/uploads.py @@ -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) @@ -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) @@ -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) @@ -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)