From 94cd43c069529d4afeaa8d3a5fa4d08539795c9e Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Fri, 25 Oct 2024 00:19:44 +0000 Subject: [PATCH] chore: update SDK settings --- .github/workflows/publish-pypi.yml | 31 +++++++++ .github/workflows/release-doctor.yml | 21 ++++++ .release-please-manifest.json | 3 + CONTRIBUTING.md | 4 +- README.md | 10 +-- bin/check-release-environment | 21 ++++++ pyproject.toml | 6 +- release-please-config.json | 66 +++++++++++++++++++ src/browserbase/_version.py | 2 +- src/browserbase/resources/contexts.py | 8 +-- src/browserbase/resources/extensions.py | 8 +-- src/browserbase/resources/projects.py | 8 +-- .../resources/sessions/downloads.py | 8 +-- src/browserbase/resources/sessions/logs.py | 8 +-- .../resources/sessions/recording.py | 8 +-- .../resources/sessions/sessions.py | 8 +-- src/browserbase/resources/sessions/uploads.py | 8 +-- 17 files changed, 185 insertions(+), 43 deletions(-) create mode 100644 .github/workflows/publish-pypi.yml create mode 100644 .github/workflows/release-doctor.yml create mode 100644 .release-please-manifest.json create mode 100644 bin/check-release-environment create mode 100644 release-please-config.json diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml new file mode 100644 index 0000000..db8cf94 --- /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/browserbase/sdk-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.BROWSERBASE_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..3e17e45 --- /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 == 'browserbase/sdk-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.BROWSERBASE_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..c476280 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.0.1-alpha.0" +} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8f94874..45a7298 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/browserbase-python.git +$ pip install git+ssh://git@github.com/browserbase/sdk-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/browserbase-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/browserbase/sdk-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 dc64ac2..9035de9 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ The REST API documentation can be found on [docs.browserbase.com](https://docs.b ## Installation ```sh -# install from this staging repo -pip install git+ssh://git@github.com/stainless-sdks/browserbase-python.git +# install from the production repo +pip install git+ssh://git@github.com/browserbase/sdk-python.git ``` > [!NOTE] @@ -218,9 +218,9 @@ context = response.parse() # get the object that `contexts.create()` would have print(context.id) ``` -These methods return an [`APIResponse`](https://github.com/stainless-sdks/browserbase-python/tree/main/src/browserbase/_response.py) object. +These methods return an [`APIResponse`](https://github.com/browserbase/sdk-python/tree/main/src/browserbase/_response.py) object. -The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/browserbase-python/tree/main/src/browserbase/_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/browserbase/sdk-python/tree/main/src/browserbase/_response.py) with the same structure, the only difference being `await`able methods for reading the response content. #### `.with_streaming_response` @@ -316,7 +316,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/browserbase-python/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/browserbase/sdk-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..6ad04d3 --- /dev/null +++ b/bin/check-release-environment @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +errors=() + +if [ -z "${PYPI_TOKEN}" ]; then + errors+=("The BROWSERBASE_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 2639140..57482c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,8 +36,8 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/stainless-sdks/browserbase-python" -Repository = "https://github.com/stainless-sdks/browserbase-python" +Homepage = "https://github.com/browserbase/sdk-python" +Repository = "https://github.com/browserbase/sdk-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/browserbase-python/tree/main/\g<2>)' +replacement = '[\1](https://github.com/browserbase/sdk-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..062330d --- /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/browserbase/_version.py" + ] +} \ No newline at end of file diff --git a/src/browserbase/_version.py b/src/browserbase/_version.py index f8f3717..b01ee95 100644 --- a/src/browserbase/_version.py +++ b/src/browserbase/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "browserbase" -__version__ = "0.0.1-alpha.0" +__version__ = "0.0.1-alpha.0" # x-release-please-version diff --git a/src/browserbase/resources/contexts.py b/src/browserbase/resources/contexts.py index 9d7ea73..806cb01 100644 --- a/src/browserbase/resources/contexts.py +++ b/src/browserbase/resources/contexts.py @@ -33,7 +33,7 @@ def with_raw_response(self) -> ContextsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return ContextsResourceWithRawResponse(self) @@ -42,7 +42,7 @@ def with_streaming_response(self) -> ContextsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return ContextsResourceWithStreamingResponse(self) @@ -156,7 +156,7 @@ def with_raw_response(self) -> AsyncContextsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return AsyncContextsResourceWithRawResponse(self) @@ -165,7 +165,7 @@ def with_streaming_response(self) -> AsyncContextsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return AsyncContextsResourceWithStreamingResponse(self) diff --git a/src/browserbase/resources/extensions.py b/src/browserbase/resources/extensions.py index 199f374..dc6c0ac 100644 --- a/src/browserbase/resources/extensions.py +++ b/src/browserbase/resources/extensions.py @@ -35,7 +35,7 @@ def with_raw_response(self) -> ExtensionsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return ExtensionsResourceWithRawResponse(self) @@ -44,7 +44,7 @@ def with_streaming_response(self) -> ExtensionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return ExtensionsResourceWithStreamingResponse(self) @@ -162,7 +162,7 @@ def with_raw_response(self) -> AsyncExtensionsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return AsyncExtensionsResourceWithRawResponse(self) @@ -171,7 +171,7 @@ def with_streaming_response(self) -> AsyncExtensionsResourceWithStreamingRespons """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return AsyncExtensionsResourceWithStreamingResponse(self) diff --git a/src/browserbase/resources/projects.py b/src/browserbase/resources/projects.py index 0d564b0..f8b1936 100644 --- a/src/browserbase/resources/projects.py +++ b/src/browserbase/resources/projects.py @@ -28,7 +28,7 @@ def with_raw_response(self) -> ProjectsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return ProjectsResourceWithRawResponse(self) @@ -37,7 +37,7 @@ def with_streaming_response(self) -> ProjectsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return ProjectsResourceWithStreamingResponse(self) @@ -134,7 +134,7 @@ def with_raw_response(self) -> AsyncProjectsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return AsyncProjectsResourceWithRawResponse(self) @@ -143,7 +143,7 @@ def with_streaming_response(self) -> AsyncProjectsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return AsyncProjectsResourceWithStreamingResponse(self) diff --git a/src/browserbase/resources/sessions/downloads.py b/src/browserbase/resources/sessions/downloads.py index 1792aec..5b60ffe 100644 --- a/src/browserbase/resources/sessions/downloads.py +++ b/src/browserbase/resources/sessions/downloads.py @@ -29,7 +29,7 @@ def with_raw_response(self) -> DownloadsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return DownloadsResourceWithRawResponse(self) @@ -38,7 +38,7 @@ def with_streaming_response(self) -> DownloadsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return DownloadsResourceWithStreamingResponse(self) @@ -84,7 +84,7 @@ def with_raw_response(self) -> AsyncDownloadsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return AsyncDownloadsResourceWithRawResponse(self) @@ -93,7 +93,7 @@ def with_streaming_response(self) -> AsyncDownloadsResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return AsyncDownloadsResourceWithStreamingResponse(self) diff --git a/src/browserbase/resources/sessions/logs.py b/src/browserbase/resources/sessions/logs.py index 3ab6190..07fb581 100644 --- a/src/browserbase/resources/sessions/logs.py +++ b/src/browserbase/resources/sessions/logs.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> LogsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return LogsResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> LogsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return LogsResourceWithStreamingResponse(self) @@ -80,7 +80,7 @@ def with_raw_response(self) -> AsyncLogsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return AsyncLogsResourceWithRawResponse(self) @@ -89,7 +89,7 @@ def with_streaming_response(self) -> AsyncLogsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return AsyncLogsResourceWithStreamingResponse(self) diff --git a/src/browserbase/resources/sessions/recording.py b/src/browserbase/resources/sessions/recording.py index 2904f52..b216fd9 100644 --- a/src/browserbase/resources/sessions/recording.py +++ b/src/browserbase/resources/sessions/recording.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> RecordingResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return RecordingResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> RecordingResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return RecordingResourceWithStreamingResponse(self) @@ -80,7 +80,7 @@ def with_raw_response(self) -> AsyncRecordingResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return AsyncRecordingResourceWithRawResponse(self) @@ -89,7 +89,7 @@ def with_streaming_response(self) -> AsyncRecordingResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return AsyncRecordingResourceWithStreamingResponse(self) diff --git a/src/browserbase/resources/sessions/sessions.py b/src/browserbase/resources/sessions/sessions.py index 6f6e10d..f50cf0d 100644 --- a/src/browserbase/resources/sessions/sessions.py +++ b/src/browserbase/resources/sessions/sessions.py @@ -84,7 +84,7 @@ def with_raw_response(self) -> SessionsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return SessionsResourceWithRawResponse(self) @@ -93,7 +93,7 @@ def with_streaming_response(self) -> SessionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return SessionsResourceWithStreamingResponse(self) @@ -334,7 +334,7 @@ def with_raw_response(self) -> AsyncSessionsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return AsyncSessionsResourceWithRawResponse(self) @@ -343,7 +343,7 @@ def with_streaming_response(self) -> AsyncSessionsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return AsyncSessionsResourceWithStreamingResponse(self) diff --git a/src/browserbase/resources/sessions/uploads.py b/src/browserbase/resources/sessions/uploads.py index f55820b..e985e4d 100644 --- a/src/browserbase/resources/sessions/uploads.py +++ b/src/browserbase/resources/sessions/uploads.py @@ -35,7 +35,7 @@ def with_raw_response(self) -> UploadsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return UploadsResourceWithRawResponse(self) @@ -44,7 +44,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/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return UploadsResourceWithStreamingResponse(self) @@ -98,7 +98,7 @@ def with_raw_response(self) -> AsyncUploadsResourceWithRawResponse: 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/browserbase-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/browserbase/sdk-python#accessing-raw-response-data-eg-headers """ return AsyncUploadsResourceWithRawResponse(self) @@ -107,7 +107,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/stainless-sdks/browserbase-python#with_streaming_response + For more information, see https://www.github.com/browserbase/sdk-python#with_streaming_response """ return AsyncUploadsResourceWithStreamingResponse(self)