diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml new file mode 100644 index 0000000..ac1d709 --- /dev/null +++ b/.github/workflows/publish-pypi.yml @@ -0,0 +1,31 @@ +# 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/sentdm/sent-python/actions/workflows/publish-pypi.yml +name: Publish PyPI +on: + workflow_dispatch: + + release: + types: [published] + +jobs: + publish: + name: publish + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Rye + run: | + curl -sSf https://rye.astral.sh/get | bash + echo "$HOME/.rye/shims" >> $GITHUB_PATH + env: + RYE_VERSION: '0.35.0' + RYE_INSTALL_OPTION: '--yes' + + - name: Publish to PyPI + run: | + bash ./bin/publish-pypi + env: + PYPI_TOKEN: ${{ secrets.SENT_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml new file mode 100644 index 0000000..932dd6f --- /dev/null +++ b/.github/workflows/release-doctor.yml @@ -0,0 +1,21 @@ +name: Release Doctor +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + release_doctor: + name: release doctor + runs-on: ubuntu-latest + if: github.repository == 'sentdm/sent-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + + steps: + - uses: actions/checkout@v4 + + - name: Check release environment + run: | + bash ./bin/check-release-environment + env: + PYPI_TOKEN: ${{ secrets.SENT_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..ba6c348 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.1.0-alpha.1" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..56740f6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog + +## 0.1.0-alpha.1 (2024-10-31) + +Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/sentdm/sent-python/compare/v0.0.1-alpha.0...v0.1.0-alpha.1) + +### Features + +* **api:** update via SDK Studio ([be23c16](https://github.com/sentdm/sent-python/commit/be23c1646c9179677972fb90fcc52be3e7cdc9fd)) +* **api:** update via SDK Studio ([ba91c9d](https://github.com/sentdm/sent-python/commit/ba91c9dddd551c0b657994e45cefbb1c3cdb15e0)) +* **api:** update via SDK Studio ([32f323e](https://github.com/sentdm/sent-python/commit/32f323e84587e7ab941285e43bcd96c9ec6ecedf)) + + +### Chores + +* go live ([#1](https://github.com/sentdm/sent-python/issues/1)) ([7f28fd2](https://github.com/sentdm/sent-python/commit/7f28fd2a52216650ba1177929ef1cd1ea61387d6)) +* rebuild project due to oas spec rename ([156ebba](https://github.com/sentdm/sent-python/commit/156ebba159b841a1412b8587568cf6d6aad7b55b)) +* update SDK settings ([9c48ee7](https://github.com/sentdm/sent-python/commit/9c48ee7c35d33453853de430965312a849fc1690)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d80caf..644216b 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/stainless-sdks/sent-python.git +$ pip install git+ssh://git@github.com/sentdm/sent-python.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/stainless-sdks/sent-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/sentdm/sent-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 8a95a4d..5ce7ccd 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,10 @@ The REST API documentation can be found on [sent.dm](https://sent.dm). The full ## Installation ```sh -# install from this staging repo -pip install git+ssh://git@github.com/stainless-sdks/sent-python.git +# install from PyPI +pip install --pre sentdm ``` -> [!NOTE] -> Once this package is [published to PyPI](https://app.stainlessapi.com/docs/guides/publish), this will become: `pip install --pre sentdm` - ## Usage The full API of this library can be found in [api.md](api.md). @@ -196,9 +193,9 @@ message = response.parse() # get the object that `messages.create()` would have print(message) ``` -These methods return an [`APIResponse`](https://github.com/stainless-sdks/sent-python/tree/main/src/sent/_response.py) object. +These methods return an [`APIResponse`](https://github.com/sentdm/sent-python/tree/main/src/sent/_response.py) object. -The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/sent-python/tree/main/src/sent/_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/sentdm/sent-python/tree/main/src/sent/_response.py) with the same structure, the only difference being `await`able methods for reading the response content. #### `.with_streaming_response` @@ -292,7 +289,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/stainless-sdks/sent-python/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/sentdm/sent-python/issues) with questions, bugs, or suggestions. ### Determining the installed version diff --git a/bin/check-release-environment b/bin/check-release-environment new file mode 100644 index 0000000..9f61a74 --- /dev/null +++ b/bin/check-release-environment @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +errors=() + +if [ -z "${PYPI_TOKEN}" ]; then + errors+=("The SENT_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.") +fi + +lenErrors=${#errors[@]} + +if [[ lenErrors -gt 0 ]]; then + echo -e "Found the following errors in the release environment:\n" + + for error in "${errors[@]}"; do + echo -e "- $error\n" + done + + exit 1 +fi + +echo "The environment is ready to push releases!" diff --git a/pyproject.toml b/pyproject.toml index 8827c7c..cb8f1f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sentdm" -version = "0.0.1-alpha.0" +version = "0.1.0-alpha.1" description = "The official Python library for the Sent API" dynamic = ["readme"] license = "Apache-2.0" @@ -36,8 +36,8 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/stainless-sdks/sent-python" -Repository = "https://github.com/stainless-sdks/sent-python" +Homepage = "https://github.com/sentdm/sent-python" +Repository = "https://github.com/sentdm/sent-python" @@ -123,7 +123,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/stainless-sdks/sent-python/tree/main/\g<2>)' +replacement = '[\1](https://github.com/sentdm/sent-python/tree/main/\g<2>)' [tool.pytest.ini_options] testpaths = ["tests"] diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..ae61227 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,66 @@ +{ + "packages": { + ".": {} + }, + "$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json", + "include-v-in-tag": true, + "include-component-in-tag": false, + "versioning": "prerelease", + "prerelease": true, + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": false, + "pull-request-header": "Automated Release PR", + "pull-request-title-pattern": "release: ${version}", + "changelog-sections": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "perf", + "section": "Performance Improvements" + }, + { + "type": "revert", + "section": "Reverts" + }, + { + "type": "chore", + "section": "Chores" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "style", + "section": "Styles" + }, + { + "type": "refactor", + "section": "Refactors" + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System" + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + } + ], + "release-type": "python", + "extra-files": [ + "src/sent/_version.py" + ] +} \ No newline at end of file diff --git a/src/sent/_version.py b/src/sent/_version.py index a8b8d30..3091cad 100644 --- a/src/sent/_version.py +++ b/src/sent/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "sent" -__version__ = "0.0.1-alpha.0" +__version__ = "0.1.0-alpha.1" # x-release-please-version diff --git a/src/sent/resources/contacts/contacts.py b/src/sent/resources/contacts/contacts.py index e8ae67f..b8b4ff0 100644 --- a/src/sent/resources/contacts/contacts.py +++ b/src/sent/resources/contacts/contacts.py @@ -54,7 +54,7 @@ def with_raw_response(self) -> ContactsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return ContactsResourceWithRawResponse(self) @@ -63,7 +63,7 @@ def with_streaming_response(self) -> ContactsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return ContactsResourceWithStreamingResponse(self) @@ -125,7 +125,7 @@ def with_raw_response(self) -> AsyncContactsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return AsyncContactsResourceWithRawResponse(self) @@ -134,7 +134,7 @@ def with_streaming_response(self) -> AsyncContactsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return AsyncContactsResourceWithStreamingResponse(self) diff --git a/src/sent/resources/contacts/id.py b/src/sent/resources/contacts/id.py index 9ab5b45..334f7f9 100644 --- a/src/sent/resources/contacts/id.py +++ b/src/sent/resources/contacts/id.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> IDResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return IDResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> IDResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return IDResourceWithStreamingResponse(self) @@ -81,7 +81,7 @@ def with_raw_response(self) -> AsyncIDResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return AsyncIDResourceWithRawResponse(self) @@ -90,7 +90,7 @@ def with_streaming_response(self) -> AsyncIDResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return AsyncIDResourceWithStreamingResponse(self) diff --git a/src/sent/resources/contacts/phone.py b/src/sent/resources/contacts/phone.py index 9059dfe..7cba5a1 100644 --- a/src/sent/resources/contacts/phone.py +++ b/src/sent/resources/contacts/phone.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> PhoneResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return PhoneResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> PhoneResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return PhoneResourceWithStreamingResponse(self) @@ -81,7 +81,7 @@ def with_raw_response(self) -> AsyncPhoneResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return AsyncPhoneResourceWithRawResponse(self) @@ -90,7 +90,7 @@ def with_streaming_response(self) -> AsyncPhoneResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return AsyncPhoneResourceWithStreamingResponse(self) diff --git a/src/sent/resources/customers.py b/src/sent/resources/customers.py index a65c068..a9607d8 100644 --- a/src/sent/resources/customers.py +++ b/src/sent/resources/customers.py @@ -32,7 +32,7 @@ def with_raw_response(self) -> CustomersResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return CustomersResourceWithRawResponse(self) @@ -41,7 +41,7 @@ def with_streaming_response(self) -> CustomersResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return CustomersResourceWithStreamingResponse(self) @@ -148,7 +148,7 @@ def with_raw_response(self) -> AsyncCustomersResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return AsyncCustomersResourceWithRawResponse(self) @@ -157,7 +157,7 @@ def with_streaming_response(self) -> AsyncCustomersResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return AsyncCustomersResourceWithStreamingResponse(self) diff --git a/src/sent/resources/messages.py b/src/sent/resources/messages.py index 0f3149e..f4fc166 100644 --- a/src/sent/resources/messages.py +++ b/src/sent/resources/messages.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> MessagesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return MessagesResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> MessagesResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return MessagesResourceWithStreamingResponse(self) @@ -129,7 +129,7 @@ def with_raw_response(self) -> AsyncMessagesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return AsyncMessagesResourceWithRawResponse(self) @@ -138,7 +138,7 @@ def with_streaming_response(self) -> AsyncMessagesResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return AsyncMessagesResourceWithStreamingResponse(self) diff --git a/src/sent/resources/sms.py b/src/sent/resources/sms.py index 09c00bd..4d6bebe 100644 --- a/src/sent/resources/sms.py +++ b/src/sent/resources/sms.py @@ -33,7 +33,7 @@ def with_raw_response(self) -> SMSResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return SMSResourceWithRawResponse(self) @@ -42,7 +42,7 @@ def with_streaming_response(self) -> SMSResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return SMSResourceWithStreamingResponse(self) @@ -96,7 +96,7 @@ def with_raw_response(self) -> AsyncSMSResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return AsyncSMSResourceWithRawResponse(self) @@ -105,7 +105,7 @@ def with_streaming_response(self) -> AsyncSMSResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return AsyncSMSResourceWithStreamingResponse(self) diff --git a/src/sent/resources/templates.py b/src/sent/resources/templates.py index 90aba27..98f3ffa 100644 --- a/src/sent/resources/templates.py +++ b/src/sent/resources/templates.py @@ -32,7 +32,7 @@ def with_raw_response(self) -> TemplatesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return TemplatesResourceWithRawResponse(self) @@ -41,7 +41,7 @@ def with_streaming_response(self) -> TemplatesResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return TemplatesResourceWithStreamingResponse(self) @@ -235,7 +235,7 @@ def with_raw_response(self) -> AsyncTemplatesResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return AsyncTemplatesResourceWithRawResponse(self) @@ -244,7 +244,7 @@ def with_streaming_response(self) -> AsyncTemplatesResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return AsyncTemplatesResourceWithStreamingResponse(self) diff --git a/src/sent/resources/whatsapp.py b/src/sent/resources/whatsapp.py index 163dc12..8e57228 100644 --- a/src/sent/resources/whatsapp.py +++ b/src/sent/resources/whatsapp.py @@ -33,7 +33,7 @@ def with_raw_response(self) -> WhatsappResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return WhatsappResourceWithRawResponse(self) @@ -42,7 +42,7 @@ def with_streaming_response(self) -> WhatsappResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return WhatsappResourceWithStreamingResponse(self) @@ -96,7 +96,7 @@ def with_raw_response(self) -> AsyncWhatsappResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/sent-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/sentdm/sent-python#accessing-raw-response-data-eg-headers """ return AsyncWhatsappResourceWithRawResponse(self) @@ -105,7 +105,7 @@ def with_streaming_response(self) -> AsyncWhatsappResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/sent-python#with_streaming_response + For more information, see https://www.github.com/sentdm/sent-python#with_streaming_response """ return AsyncWhatsappResourceWithStreamingResponse(self)