diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index a09f465..4accf1c 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/zeke/replicate-client-python-prod-for-fun/actions/workflows/publish-pypi.yml +# You can run this workflow by navigating to https://www.github.com/replicate/replicate-python-stainless/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 db705b9..b7ee733 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 == 'zeke/replicate-client-python-prod-for-fun' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + 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') steps: - uses: actions/checkout@v4 diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c476280..ba6c348 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.1-alpha.0" + ".": "0.1.0-alpha.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index b8cc641..ecd4d60 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 27 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-b45f922f6a041550870a96f5acec02aa6d8830046fc98b95a275c6486f7586fc.yml openapi_spec_hash: ef7fddfb49b4d9c440b0635d2c86f341 -config_hash: 93f687135e6d45a0f0f83fbfdcb1d8c9 +config_hash: 919042036f115da833f492aa6f7e3ada diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a37ea99 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,42 @@ +# Changelog + +## 0.1.0-alpha.1 (2025-04-15) + +Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/replicate/replicate-python-stainless/compare/v0.0.1-alpha.0...v0.1.0-alpha.1) + +### Features + +* **api:** api update ([#19](https://github.com/replicate/replicate-python-stainless/issues/19)) ([fdd9b17](https://github.com/replicate/replicate-python-stainless/commit/fdd9b17918f3b563b6810ee463c500ba17284f53)) +* **api:** manual updates ([#20](https://github.com/replicate/replicate-python-stainless/issues/20)) ([33e82c8](https://github.com/replicate/replicate-python-stainless/commit/33e82c8fec082a0af05b82ed5110424b69fb4400)) +* **api:** manual updates ([#21](https://github.com/replicate/replicate-python-stainless/issues/21)) ([d50ae4c](https://github.com/replicate/replicate-python-stainless/commit/d50ae4cf5088a214f4751672ad4f1493dbf54768)) +* **api:** manual updates ([#22](https://github.com/replicate/replicate-python-stainless/issues/22)) ([573bbb3](https://github.com/replicate/replicate-python-stainless/commit/573bbb3fa46346d1703d076daa85541b947c27a2)) +* **api:** manual updates ([#23](https://github.com/replicate/replicate-python-stainless/issues/23)) ([7962ea7](https://github.com/replicate/replicate-python-stainless/commit/7962ea7f5c5e3c8f253f66b8f13eadc9927fae7d)) +* **api:** manual updates ([#24](https://github.com/replicate/replicate-python-stainless/issues/24)) ([d31ada3](https://github.com/replicate/replicate-python-stainless/commit/d31ada3ab8d19413c1ca55535f1788ae9b5d443d)) +* **api:** update pagination configs ([#25](https://github.com/replicate/replicate-python-stainless/issues/25)) ([8a2cc9f](https://github.com/replicate/replicate-python-stainless/commit/8a2cc9f87cf6edb18ad906bbb0b82372b4b82099)) +* **api:** update via SDK Studio ([3bf3415](https://github.com/replicate/replicate-python-stainless/commit/3bf3415ce21bb9fc55f80809239e58d64f34fb61)) +* **api:** update via SDK Studio ([aafbabf](https://github.com/replicate/replicate-python-stainless/commit/aafbabfdbac1c43a547f277769c82585c616a3b4)) +* **api:** update via SDK Studio ([fdf1072](https://github.com/replicate/replicate-python-stainless/commit/fdf107297bfff5086c330c32db73eb7bc4df249c)) +* **api:** update via SDK Studio ([cab4d0e](https://github.com/replicate/replicate-python-stainless/commit/cab4d0e83a9fa40304fa0618d7db30445b625b16)) +* **api:** update via SDK Studio ([#16](https://github.com/replicate/replicate-python-stainless/issues/16)) ([ffa306e](https://github.com/replicate/replicate-python-stainless/commit/ffa306e9121fc71133648c46b84272aec3114724)) +* **api:** update via SDK Studio ([#17](https://github.com/replicate/replicate-python-stainless/issues/17)) ([958ed88](https://github.com/replicate/replicate-python-stainless/commit/958ed888458134a1235ddecd6e0e7741df6e8b54)) +* **api:** update via SDK Studio ([#4](https://github.com/replicate/replicate-python-stainless/issues/4)) ([dd5a024](https://github.com/replicate/replicate-python-stainless/commit/dd5a024b8b112ccac91075890e89ba5fa61aa725)) +* **api:** update via SDK Studio ([#5](https://github.com/replicate/replicate-python-stainless/issues/5)) ([5ead241](https://github.com/replicate/replicate-python-stainless/commit/5ead241e786dd7b6266076b039ad2f298848db2e)) + + +### Bug Fixes + +* **ci:** ensure pip is always available ([#14](https://github.com/replicate/replicate-python-stainless/issues/14)) ([d4f8f18](https://github.com/replicate/replicate-python-stainless/commit/d4f8f18d0d369dedc9e09551e87483f8f1787fd7)) +* **ci:** remove publishing patch ([#15](https://github.com/replicate/replicate-python-stainless/issues/15)) ([002b758](https://github.com/replicate/replicate-python-stainless/commit/002b7581debae5b5bc97ec24cc0cea129100dfde)) +* **types:** handle more discriminated union shapes ([#13](https://github.com/replicate/replicate-python-stainless/issues/13)) ([4ca1ca8](https://github.com/replicate/replicate-python-stainless/commit/4ca1ca8606fef7bc40144c1ae6246784ed754687)) + + +### Chores + +* fix typos ([#18](https://github.com/replicate/replicate-python-stainless/issues/18)) ([54d4e6d](https://github.com/replicate/replicate-python-stainless/commit/54d4e6da6a757ad6e5c899b79018ca39eed2a124)) +* go live ([#1](https://github.com/replicate/replicate-python-stainless/issues/1)) ([bd9a84a](https://github.com/replicate/replicate-python-stainless/commit/bd9a84ae91a2c72fa49182f9ff8ea0b78e7cc343)) +* **internal:** bump rye to 0.44.0 ([#12](https://github.com/replicate/replicate-python-stainless/issues/12)) ([c9d2593](https://github.com/replicate/replicate-python-stainless/commit/c9d2593f4e9d324c12e2ca323563a317d0ea1751)) +* **internal:** codegen related update ([#11](https://github.com/replicate/replicate-python-stainless/issues/11)) ([41c787d](https://github.com/replicate/replicate-python-stainless/commit/41c787d2c196d59c48ec3056d93dd48bf530de72)) +* **internal:** remove extra empty newlines ([#10](https://github.com/replicate/replicate-python-stainless/issues/10)) ([1c63514](https://github.com/replicate/replicate-python-stainless/commit/1c635145a8a70f3cb0ea432387f72eafa64ca5f6)) +* **internal:** updates ([b7424d7](https://github.com/replicate/replicate-python-stainless/commit/b7424d7cc1c9fa440b58fa9e51331f3c77fbd83d)) +* remove custom code ([31aa7ed](https://github.com/replicate/replicate-python-stainless/commit/31aa7edc04d5c9f408c06e4051c0ba343b9761ac)) +* update SDK settings ([#3](https://github.com/replicate/replicate-python-stainless/issues/3)) ([27b5f18](https://github.com/replicate/replicate-python-stainless/commit/27b5f1897b823349b29dbc82b1f6742d5d704c9e)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8c47245..6a8b625 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -63,7 +63,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/zeke/replicate-client-python-prod-for-fun.git +$ pip install git+ssh://git@github.com/replicate/replicate-python-stainless.git ``` Alternatively, you can build from source and install the wheel file: @@ -121,7 +121,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/zeke/replicate-client-python-prod-for-fun/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/replicate/replicate-python-stainless/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 5fa20d5..e5edec0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Replicate Client Python API library -[![PyPI version](https://img.shields.io/pypi/v/replicate-zeke-test-stainless.svg)](https://pypi.org/project/replicate-zeke-test-stainless/) +[![PyPI version](https://img.shields.io/pypi/v/replicate-stainless.svg)](https://pypi.org/project/replicate-stainless/) The Replicate Client Python library provides convenient access to the Replicate Client REST API from any Python 3.8+ application. The library includes type definitions for all request params and response fields, @@ -16,7 +16,7 @@ The REST API documentation can be found on [replicate.com](https://replicate.com ```sh # install from PyPI -pip install --pre replicate-zeke-test-stainless +pip install --pre replicate-stainless ``` ## Usage @@ -270,9 +270,9 @@ account = response.parse() # get the object that `accounts.list()` would have r print(account.type) ``` -These methods return an [`APIResponse`](https://github.com/zeke/replicate-client-python-prod-for-fun/tree/main/src/replicate/_response.py) object. +These methods return an [`APIResponse`](https://github.com/replicate/replicate-python-stainless/tree/main/src/replicate/_response.py) object. -The async client returns an [`AsyncAPIResponse`](https://github.com/zeke/replicate-client-python-prod-for-fun/tree/main/src/replicate/_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/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. #### `.with_streaming_response` @@ -376,7 +376,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/zeke/replicate-client-python-prod-for-fun/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/replicate/replicate-python-stainless/issues) with questions, bugs, or suggestions. ### Determining the installed version diff --git a/pyproject.toml b/pyproject.toml index e493e13..0bf058e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] -name = "replicate-zeke-test-stainless" -version = "0.0.1-alpha.0" +name = "replicate-stainless" +version = "0.1.0-alpha.1" description = "The official Python library for the replicate-client API" dynamic = ["readme"] license = "Apache-2.0" @@ -34,8 +34,8 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/zeke/replicate-client-python-prod-for-fun" -Repository = "https://github.com/zeke/replicate-client-python-prod-for-fun" +Homepage = "https://github.com/replicate/replicate-python-stainless" +Repository = "https://github.com/replicate/replicate-python-stainless" [tool.rye] @@ -121,7 +121,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/zeke/replicate-client-python-prod-for-fun/tree/main/\g<2>)' +replacement = '[\1](https://github.com/replicate/replicate-python-stainless/tree/main/\g<2>)' [tool.pytest.ini_options] testpaths = ["tests"] diff --git a/requirements-dev.lock b/requirements-dev.lock index 4568537..e9ea098 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -14,7 +14,7 @@ annotated-types==0.6.0 # via pydantic anyio==4.4.0 # via httpx - # via replicate-zeke-test-stainless + # via replicate-stainless argcomplete==3.1.2 # via nox certifi==2023.7.22 @@ -26,7 +26,7 @@ dirty-equals==0.6.0 distlib==0.3.7 # via virtualenv distro==1.8.0 - # via replicate-zeke-test-stainless + # via replicate-stainless exceptiongroup==1.2.2 # via anyio # via pytest @@ -37,7 +37,7 @@ h11==0.14.0 httpcore==1.0.2 # via httpx httpx==0.28.1 - # via replicate-zeke-test-stainless + # via replicate-stainless # via respx idna==3.4 # via anyio @@ -64,7 +64,7 @@ platformdirs==3.11.0 pluggy==1.5.0 # via pytest pydantic==2.10.3 - # via replicate-zeke-test-stainless + # via replicate-stainless pydantic-core==2.27.1 # via pydantic pygments==2.18.0 @@ -86,7 +86,7 @@ six==1.16.0 # via python-dateutil sniffio==1.3.0 # via anyio - # via replicate-zeke-test-stainless + # via replicate-stainless time-machine==2.9.0 tomli==2.0.2 # via mypy @@ -97,7 +97,7 @@ typing-extensions==4.12.2 # via pydantic # via pydantic-core # via pyright - # via replicate-zeke-test-stainless + # via replicate-stainless virtualenv==20.24.5 # via nox zipp==3.17.0 diff --git a/requirements.lock b/requirements.lock index b77cb30..a64eef9 100644 --- a/requirements.lock +++ b/requirements.lock @@ -14,12 +14,12 @@ annotated-types==0.6.0 # via pydantic anyio==4.4.0 # via httpx - # via replicate-zeke-test-stainless + # via replicate-stainless certifi==2023.7.22 # via httpcore # via httpx distro==1.8.0 - # via replicate-zeke-test-stainless + # via replicate-stainless exceptiongroup==1.2.2 # via anyio h11==0.14.0 @@ -27,19 +27,19 @@ h11==0.14.0 httpcore==1.0.2 # via httpx httpx==0.28.1 - # via replicate-zeke-test-stainless + # via replicate-stainless idna==3.4 # via anyio # via httpx pydantic==2.10.3 - # via replicate-zeke-test-stainless + # via replicate-stainless pydantic-core==2.27.1 # via pydantic sniffio==1.3.0 # via anyio - # via replicate-zeke-test-stainless + # via replicate-stainless typing-extensions==4.12.2 # via anyio # via pydantic # via pydantic-core - # via replicate-zeke-test-stainless + # via replicate-stainless diff --git a/src/replicate/_version.py b/src/replicate/_version.py index 2045c71..131bd44 100644 --- a/src/replicate/_version.py +++ b/src/replicate/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "replicate" -__version__ = "0.0.1-alpha.0" # x-release-please-version +__version__ = "0.1.0-alpha.1" # x-release-please-version diff --git a/src/replicate/resources/accounts.py b/src/replicate/resources/accounts.py index e18802c..4846c22 100644 --- a/src/replicate/resources/accounts.py +++ b/src/replicate/resources/accounts.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> AccountsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AccountsResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> AccountsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AccountsResourceWithStreamingResponse(self) @@ -88,7 +88,7 @@ def with_raw_response(self) -> AsyncAccountsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncAccountsResourceWithRawResponse(self) @@ -97,7 +97,7 @@ def with_streaming_response(self) -> AsyncAccountsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncAccountsResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/collections.py b/src/replicate/resources/collections.py index 81b5334..8768630 100644 --- a/src/replicate/resources/collections.py +++ b/src/replicate/resources/collections.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> CollectionsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return CollectionsResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> CollectionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return CollectionsResourceWithStreamingResponse(self) @@ -90,7 +90,7 @@ def with_raw_response(self) -> AsyncCollectionsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncCollectionsResourceWithRawResponse(self) @@ -99,7 +99,7 @@ def with_streaming_response(self) -> AsyncCollectionsResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncCollectionsResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/deployments/deployments.py b/src/replicate/resources/deployments/deployments.py index ebdff26..0211b67 100644 --- a/src/replicate/resources/deployments/deployments.py +++ b/src/replicate/resources/deployments/deployments.py @@ -47,7 +47,7 @@ def with_raw_response(self) -> DeploymentsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return DeploymentsResourceWithRawResponse(self) @@ -56,7 +56,7 @@ def with_streaming_response(self) -> DeploymentsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return DeploymentsResourceWithStreamingResponse(self) @@ -510,7 +510,7 @@ def with_raw_response(self) -> AsyncDeploymentsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncDeploymentsResourceWithRawResponse(self) @@ -519,7 +519,7 @@ def with_streaming_response(self) -> AsyncDeploymentsResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncDeploymentsResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/deployments/predictions.py b/src/replicate/resources/deployments/predictions.py index 7605025..7177332 100644 --- a/src/replicate/resources/deployments/predictions.py +++ b/src/replicate/resources/deployments/predictions.py @@ -35,7 +35,7 @@ def with_raw_response(self) -> PredictionsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return PredictionsResourceWithRawResponse(self) @@ -44,7 +44,7 @@ def with_streaming_response(self) -> PredictionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return PredictionsResourceWithStreamingResponse(self) @@ -192,7 +192,7 @@ def with_raw_response(self) -> AsyncPredictionsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncPredictionsResourceWithRawResponse(self) @@ -201,7 +201,7 @@ def with_streaming_response(self) -> AsyncPredictionsResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncPredictionsResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/hardware.py b/src/replicate/resources/hardware.py index 3e0c17f..4bbd58c 100644 --- a/src/replicate/resources/hardware.py +++ b/src/replicate/resources/hardware.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> HardwareResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return HardwareResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> HardwareResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return HardwareResourceWithStreamingResponse(self) @@ -137,7 +137,7 @@ def with_raw_response(self) -> AsyncHardwareResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncHardwareResourceWithRawResponse(self) @@ -146,7 +146,7 @@ def with_streaming_response(self) -> AsyncHardwareResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncHardwareResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/models/models.py b/src/replicate/resources/models/models.py index 25ad437..73cfad5 100644 --- a/src/replicate/resources/models/models.py +++ b/src/replicate/resources/models/models.py @@ -47,7 +47,7 @@ def with_raw_response(self) -> ModelsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return ModelsResourceWithRawResponse(self) @@ -56,7 +56,7 @@ def with_streaming_response(self) -> ModelsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return ModelsResourceWithStreamingResponse(self) @@ -524,7 +524,7 @@ def with_raw_response(self) -> AsyncModelsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncModelsResourceWithRawResponse(self) @@ -533,7 +533,7 @@ def with_streaming_response(self) -> AsyncModelsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncModelsResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/models/versions.py b/src/replicate/resources/models/versions.py index 660081c..eb411ef 100644 --- a/src/replicate/resources/models/versions.py +++ b/src/replicate/resources/models/versions.py @@ -33,7 +33,7 @@ def with_raw_response(self) -> VersionsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return VersionsResourceWithRawResponse(self) @@ -42,7 +42,7 @@ def with_streaming_response(self) -> VersionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return VersionsResourceWithStreamingResponse(self) @@ -424,7 +424,7 @@ def with_raw_response(self) -> AsyncVersionsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncVersionsResourceWithRawResponse(self) @@ -433,7 +433,7 @@ def with_streaming_response(self) -> AsyncVersionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncVersionsResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/predictions.py b/src/replicate/resources/predictions.py index 79cf648..d6a1245 100644 --- a/src/replicate/resources/predictions.py +++ b/src/replicate/resources/predictions.py @@ -37,7 +37,7 @@ def with_raw_response(self) -> PredictionsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return PredictionsResourceWithRawResponse(self) @@ -46,7 +46,7 @@ def with_streaming_response(self) -> PredictionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return PredictionsResourceWithStreamingResponse(self) @@ -448,7 +448,7 @@ def with_raw_response(self) -> AsyncPredictionsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncPredictionsResourceWithRawResponse(self) @@ -457,7 +457,7 @@ def with_streaming_response(self) -> AsyncPredictionsResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncPredictionsResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/trainings.py b/src/replicate/resources/trainings.py index 195a67f..df64c19 100644 --- a/src/replicate/resources/trainings.py +++ b/src/replicate/resources/trainings.py @@ -25,7 +25,7 @@ def with_raw_response(self) -> TrainingsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return TrainingsResourceWithRawResponse(self) @@ -34,7 +34,7 @@ def with_streaming_response(self) -> TrainingsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return TrainingsResourceWithStreamingResponse(self) @@ -258,7 +258,7 @@ def with_raw_response(self) -> AsyncTrainingsResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncTrainingsResourceWithRawResponse(self) @@ -267,7 +267,7 @@ def with_streaming_response(self) -> AsyncTrainingsResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncTrainingsResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/webhooks/default.py b/src/replicate/resources/webhooks/default.py index 84ba6e0..bde9966 100644 --- a/src/replicate/resources/webhooks/default.py +++ b/src/replicate/resources/webhooks/default.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> DefaultResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return DefaultResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> DefaultResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return DefaultResourceWithStreamingResponse(self) @@ -86,7 +86,7 @@ def with_raw_response(self) -> AsyncDefaultResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncDefaultResourceWithRawResponse(self) @@ -95,7 +95,7 @@ def with_streaming_response(self) -> AsyncDefaultResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncDefaultResourceWithStreamingResponse(self) diff --git a/src/replicate/resources/webhooks/webhooks.py b/src/replicate/resources/webhooks/webhooks.py index 3dacef9..f00d5b3 100644 --- a/src/replicate/resources/webhooks/webhooks.py +++ b/src/replicate/resources/webhooks/webhooks.py @@ -27,7 +27,7 @@ def with_raw_response(self) -> WebhooksResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return WebhooksResourceWithRawResponse(self) @@ -36,7 +36,7 @@ def with_streaming_response(self) -> WebhooksResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return WebhooksResourceWithStreamingResponse(self) @@ -52,7 +52,7 @@ def with_raw_response(self) -> AsyncWebhooksResourceWithRawResponse: 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/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers """ return AsyncWebhooksResourceWithRawResponse(self) @@ -61,7 +61,7 @@ def with_streaming_response(self) -> AsyncWebhooksResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response + For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response """ return AsyncWebhooksResourceWithStreamingResponse(self)