From 0bfae9dce59817f6aa92f79a35f033d5888501af Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 07:17:37 +0000 Subject: [PATCH 1/5] feat(api): api update --- .stats.yml | 4 ++-- src/supermemory/types/search_memories_params.py | 7 ++++--- src/supermemory/types/search_memories_response.py | 4 +++- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4cd63af..7baf94c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 26 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-eb2aa0ee3a6380fe8dead168c3fec696acdf79d0fa5821b796f0335566c78f22.yml -openapi_spec_hash: 4b09ba67c690fd139df5b939fc899d49 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-9700dc652e122ce090436c43ef4aaa24441b8e8a831999f00b5f744b951f5a19.yml +openapi_spec_hash: 3910177e9b1d48d95d410a98039a659b config_hash: f3eb5ca71172780678106f6d46f15dda diff --git a/src/supermemory/types/search_memories_params.py b/src/supermemory/types/search_memories_params.py index 8440b1f..067390d 100644 --- a/src/supermemory/types/search_memories_params.py +++ b/src/supermemory/types/search_memories_params.py @@ -3857,9 +3857,10 @@ class FiltersAnd(TypedDict, total=False): class Include(TypedDict, total=False): chunks: bool - """ - If true, fetch and return chunks from documents associated with the found - memories. Performs vector search on chunks within those documents. + """DEPRECATED: Use searchMode='hybrid' instead. + + If true, automatically switches to hybrid mode. This field is kept for backward + compatibility only. """ documents: bool diff --git a/src/supermemory/types/search_memories_response.py b/src/supermemory/types/search_memories_response.py index f992e51..0815f4f 100644 --- a/src/supermemory/types/search_memories_response.py +++ b/src/supermemory/types/search_memories_response.py @@ -142,7 +142,9 @@ class SearchMemoriesResponse(BaseModel): Contains memory results when searchMode='memories', both memory and chunk results when searchMode='hybrid', or only chunk results when searchMode='documents'. Memory results have 'memory' field, chunk results have - 'chunk' field. + 'chunk' field. BACKWARD COMPATIBILITY: When using deprecated + include.chunks=true, only memory results are returned with chunks embedded in + them (old format). """ timing: float From fa07f3add4f686751319fd4999b95833bf896227 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 08:17:36 +0000 Subject: [PATCH 2/5] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7baf94c..b5ecb16 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 26 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-9700dc652e122ce090436c43ef4aaa24441b8e8a831999f00b5f744b951f5a19.yml -openapi_spec_hash: 3910177e9b1d48d95d410a98039a659b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-8773015c1da0dcb9dfeec7ff946b71ed9b75b854d0f0de6dc1545d218d181715.yml +openapi_spec_hash: 1af583bba4ee00275021c440cf38ee13 config_hash: f3eb5ca71172780678106f6d46f15dda From 113533627803db42f5b519cc2ba978da81f4c99d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 20 Feb 2026 05:13:39 +0000 Subject: [PATCH 3/5] chore(internal): remove mock server code --- scripts/mock | 41 ----------------------------------------- scripts/test | 46 ---------------------------------------------- 2 files changed, 87 deletions(-) delete mode 100755 scripts/mock diff --git a/scripts/mock b/scripts/mock deleted file mode 100755 index 0b28f6e..0000000 --- a/scripts/mock +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash - -set -e - -cd "$(dirname "$0")/.." - -if [[ -n "$1" && "$1" != '--'* ]]; then - URL="$1" - shift -else - URL="$(grep 'openapi_spec_url' .stats.yml | cut -d' ' -f2)" -fi - -# Check if the URL is empty -if [ -z "$URL" ]; then - echo "Error: No OpenAPI spec path/url provided or found in .stats.yml" - exit 1 -fi - -echo "==> Starting mock server with URL ${URL}" - -# Run prism mock on the given spec -if [ "$1" == "--daemon" ]; then - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & - - # Wait for server to come online - echo -n "Waiting for server" - while ! grep -q "✖ fatal\|Prism is listening" ".prism.log" ; do - echo -n "." - sleep 0.1 - done - - if grep -q "✖ fatal" ".prism.log"; then - cat .prism.log - exit 1 - fi - - echo -else - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" -fi diff --git a/scripts/test b/scripts/test index dbeda2d..39729d0 100755 --- a/scripts/test +++ b/scripts/test @@ -4,53 +4,7 @@ set -e cd "$(dirname "$0")/.." -RED='\033[0;31m' -GREEN='\033[0;32m' -YELLOW='\033[0;33m' -NC='\033[0m' # No Color -function prism_is_running() { - curl --silent "http://localhost:4010" >/dev/null 2>&1 -} - -kill_server_on_port() { - pids=$(lsof -t -i tcp:"$1" || echo "") - if [ "$pids" != "" ]; then - kill "$pids" - echo "Stopped $pids." - fi -} - -function is_overriding_api_base_url() { - [ -n "$TEST_API_BASE_URL" ] -} - -if ! is_overriding_api_base_url && ! prism_is_running ; then - # When we exit this script, make sure to kill the background mock server process - trap 'kill_server_on_port 4010' EXIT - - # Start the dev server - ./scripts/mock --daemon -fi - -if is_overriding_api_base_url ; then - echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}" - echo -elif ! prism_is_running ; then - echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server" - echo -e "running against your OpenAPI spec." - echo - echo -e "To run the server, pass in the path or url of your OpenAPI" - echo -e "spec to the prism command:" - echo - echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}" - echo - - exit 1 -else - echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}" - echo -fi export DEFER_PYDANTIC_BUILD=false From b382215ce4f4062f43fa4b0ef686e90bf461c651 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 20 Feb 2026 05:14:49 +0000 Subject: [PATCH 4/5] chore: update mock server docs --- CONTRIBUTING.md | 7 -- tests/api_resources/test_client.py | 32 ++--- tests/api_resources/test_connections.py | 156 ++++++++++++------------ tests/api_resources/test_documents.py | 144 +++++++++++----------- tests/api_resources/test_memories.py | 32 ++--- tests/api_resources/test_search.py | 48 ++++---- tests/api_resources/test_settings.py | 28 ++--- 7 files changed, 220 insertions(+), 227 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0f988c3..7002cbe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,13 +85,6 @@ $ pip install ./path-to-wheel-file.whl ## Running tests -Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests. - -```sh -# you will need npm installed -$ npx prism mock path/to/your/openapi.yml -``` - ```sh $ ./scripts/test ``` diff --git a/tests/api_resources/test_client.py b/tests/api_resources/test_client.py index 262a2ff..0b2ee79 100644 --- a/tests/api_resources/test_client.py +++ b/tests/api_resources/test_client.py @@ -17,7 +17,7 @@ class TestClient: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_add(self, client: Supermemory) -> None: client_ = client.add( @@ -25,7 +25,7 @@ def test_method_add(self, client: Supermemory) -> None: ) assert_matches_type(AddResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_add_with_all_params(self, client: Supermemory) -> None: client_ = client.add( @@ -38,7 +38,7 @@ def test_method_add_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(AddResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_add(self, client: Supermemory) -> None: response = client.with_raw_response.add( @@ -50,7 +50,7 @@ def test_raw_response_add(self, client: Supermemory) -> None: client_ = response.parse() assert_matches_type(AddResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_add(self, client: Supermemory) -> None: with client.with_streaming_response.add( @@ -64,7 +64,7 @@ def test_streaming_response_add(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_profile(self, client: Supermemory) -> None: client_ = client.profile( @@ -72,7 +72,7 @@ def test_method_profile(self, client: Supermemory) -> None: ) assert_matches_type(ProfileResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_profile_with_all_params(self, client: Supermemory) -> None: client_ = client.profile( @@ -82,7 +82,7 @@ def test_method_profile_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(ProfileResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_profile(self, client: Supermemory) -> None: response = client.with_raw_response.profile( @@ -94,7 +94,7 @@ def test_raw_response_profile(self, client: Supermemory) -> None: client_ = response.parse() assert_matches_type(ProfileResponse, client_, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_profile(self, client: Supermemory) -> None: with client.with_streaming_response.profile( @@ -114,7 +114,7 @@ class TestAsyncClient: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_add(self, async_client: AsyncSupermemory) -> None: client = await async_client.add( @@ -122,7 +122,7 @@ async def test_method_add(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(AddResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_add_with_all_params(self, async_client: AsyncSupermemory) -> None: client = await async_client.add( @@ -135,7 +135,7 @@ async def test_method_add_with_all_params(self, async_client: AsyncSupermemory) ) assert_matches_type(AddResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_add(self, async_client: AsyncSupermemory) -> None: response = await async_client.with_raw_response.add( @@ -147,7 +147,7 @@ async def test_raw_response_add(self, async_client: AsyncSupermemory) -> None: client = await response.parse() assert_matches_type(AddResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_add(self, async_client: AsyncSupermemory) -> None: async with async_client.with_streaming_response.add( @@ -161,7 +161,7 @@ async def test_streaming_response_add(self, async_client: AsyncSupermemory) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_profile(self, async_client: AsyncSupermemory) -> None: client = await async_client.profile( @@ -169,7 +169,7 @@ async def test_method_profile(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(ProfileResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_profile_with_all_params(self, async_client: AsyncSupermemory) -> None: client = await async_client.profile( @@ -179,7 +179,7 @@ async def test_method_profile_with_all_params(self, async_client: AsyncSupermemo ) assert_matches_type(ProfileResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_profile(self, async_client: AsyncSupermemory) -> None: response = await async_client.with_raw_response.profile( @@ -191,7 +191,7 @@ async def test_raw_response_profile(self, async_client: AsyncSupermemory) -> Non client = await response.parse() assert_matches_type(ProfileResponse, client, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_profile(self, async_client: AsyncSupermemory) -> None: async with async_client.with_streaming_response.profile( diff --git a/tests/api_resources/test_connections.py b/tests/api_resources/test_connections.py index eae9ec7..0c8d8d3 100644 --- a/tests/api_resources/test_connections.py +++ b/tests/api_resources/test_connections.py @@ -27,7 +27,7 @@ class TestConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create(self, client: Supermemory) -> None: connection = client.connections.create( @@ -35,7 +35,7 @@ def test_method_create(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionCreateResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_create_with_all_params(self, client: Supermemory) -> None: connection = client.connections.create( @@ -47,7 +47,7 @@ def test_method_create_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionCreateResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_create(self, client: Supermemory) -> None: response = client.connections.with_raw_response.create( @@ -59,7 +59,7 @@ def test_raw_response_create(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionCreateResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_create(self, client: Supermemory) -> None: with client.connections.with_streaming_response.create( @@ -73,13 +73,13 @@ def test_streaming_response_create(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list(self, client: Supermemory) -> None: connection = client.connections.list() assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Supermemory) -> None: connection = client.connections.list( @@ -87,7 +87,7 @@ def test_method_list_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_list(self, client: Supermemory) -> None: response = client.connections.with_raw_response.list() @@ -97,7 +97,7 @@ def test_raw_response_list(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_list(self, client: Supermemory) -> None: with client.connections.with_streaming_response.list() as response: @@ -109,7 +109,7 @@ def test_streaming_response_list(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_configure(self, client: Supermemory) -> None: connection = client.connections.configure( @@ -118,7 +118,7 @@ def test_method_configure(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionConfigureResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_configure(self, client: Supermemory) -> None: response = client.connections.with_raw_response.configure( @@ -131,7 +131,7 @@ def test_raw_response_configure(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionConfigureResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_configure(self, client: Supermemory) -> None: with client.connections.with_streaming_response.configure( @@ -146,7 +146,7 @@ def test_streaming_response_configure(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_path_params_configure(self, client: Supermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -155,7 +155,7 @@ def test_path_params_configure(self, client: Supermemory) -> None: resources=[{"foo": "bar"}], ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_delete_by_id(self, client: Supermemory) -> None: connection = client.connections.delete_by_id( @@ -163,7 +163,7 @@ def test_method_delete_by_id(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_delete_by_id(self, client: Supermemory) -> None: response = client.connections.with_raw_response.delete_by_id( @@ -175,7 +175,7 @@ def test_raw_response_delete_by_id(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_delete_by_id(self, client: Supermemory) -> None: with client.connections.with_streaming_response.delete_by_id( @@ -189,7 +189,7 @@ def test_streaming_response_delete_by_id(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_path_params_delete_by_id(self, client: Supermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -197,7 +197,7 @@ def test_path_params_delete_by_id(self, client: Supermemory) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_delete_by_provider(self, client: Supermemory) -> None: connection = client.connections.delete_by_provider( @@ -206,7 +206,7 @@ def test_method_delete_by_provider(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionDeleteByProviderResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_delete_by_provider(self, client: Supermemory) -> None: response = client.connections.with_raw_response.delete_by_provider( @@ -219,7 +219,7 @@ def test_raw_response_delete_by_provider(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionDeleteByProviderResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_delete_by_provider(self, client: Supermemory) -> None: with client.connections.with_streaming_response.delete_by_provider( @@ -234,7 +234,7 @@ def test_streaming_response_delete_by_provider(self, client: Supermemory) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get_by_id(self, client: Supermemory) -> None: connection = client.connections.get_by_id( @@ -242,7 +242,7 @@ def test_method_get_by_id(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionGetByIDResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_get_by_id(self, client: Supermemory) -> None: response = client.connections.with_raw_response.get_by_id( @@ -254,7 +254,7 @@ def test_raw_response_get_by_id(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionGetByIDResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_get_by_id(self, client: Supermemory) -> None: with client.connections.with_streaming_response.get_by_id( @@ -268,7 +268,7 @@ def test_streaming_response_get_by_id(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_path_params_get_by_id(self, client: Supermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -276,7 +276,7 @@ def test_path_params_get_by_id(self, client: Supermemory) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get_by_tag(self, client: Supermemory) -> None: connection = client.connections.get_by_tag( @@ -285,7 +285,7 @@ def test_method_get_by_tag(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionGetByTagResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_get_by_tag(self, client: Supermemory) -> None: response = client.connections.with_raw_response.get_by_tag( @@ -298,7 +298,7 @@ def test_raw_response_get_by_tag(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionGetByTagResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_get_by_tag(self, client: Supermemory) -> None: with client.connections.with_streaming_response.get_by_tag( @@ -313,7 +313,7 @@ def test_streaming_response_get_by_tag(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_import(self, client: Supermemory) -> None: connection = client.connections.import_( @@ -321,7 +321,7 @@ def test_method_import(self, client: Supermemory) -> None: ) assert_matches_type(str, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_import_with_all_params(self, client: Supermemory) -> None: connection = client.connections.import_( @@ -330,7 +330,7 @@ def test_method_import_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(str, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_import(self, client: Supermemory) -> None: response = client.connections.with_raw_response.import_( @@ -342,7 +342,7 @@ def test_raw_response_import(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(str, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_import(self, client: Supermemory) -> None: with client.connections.with_streaming_response.import_( @@ -356,7 +356,7 @@ def test_streaming_response_import(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list_documents(self, client: Supermemory) -> None: connection = client.connections.list_documents( @@ -364,7 +364,7 @@ def test_method_list_documents(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list_documents_with_all_params(self, client: Supermemory) -> None: connection = client.connections.list_documents( @@ -373,7 +373,7 @@ def test_method_list_documents_with_all_params(self, client: Supermemory) -> Non ) assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_list_documents(self, client: Supermemory) -> None: response = client.connections.with_raw_response.list_documents( @@ -385,7 +385,7 @@ def test_raw_response_list_documents(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_list_documents(self, client: Supermemory) -> None: with client.connections.with_streaming_response.list_documents( @@ -399,7 +399,7 @@ def test_streaming_response_list_documents(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_resources(self, client: Supermemory) -> None: connection = client.connections.resources( @@ -407,7 +407,7 @@ def test_method_resources(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionResourcesResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_resources_with_all_params(self, client: Supermemory) -> None: connection = client.connections.resources( @@ -417,7 +417,7 @@ def test_method_resources_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(ConnectionResourcesResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_resources(self, client: Supermemory) -> None: response = client.connections.with_raw_response.resources( @@ -429,7 +429,7 @@ def test_raw_response_resources(self, client: Supermemory) -> None: connection = response.parse() assert_matches_type(ConnectionResourcesResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_resources(self, client: Supermemory) -> None: with client.connections.with_streaming_response.resources( @@ -443,7 +443,7 @@ def test_streaming_response_resources(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_path_params_resources(self, client: Supermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -457,7 +457,7 @@ class TestAsyncConnections: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.create( @@ -465,7 +465,7 @@ async def test_method_create(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(ConnectionCreateResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_create_with_all_params(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.create( @@ -477,7 +477,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncSupermemor ) assert_matches_type(ConnectionCreateResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_create(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.create( @@ -489,7 +489,7 @@ async def test_raw_response_create(self, async_client: AsyncSupermemory) -> None connection = await response.parse() assert_matches_type(ConnectionCreateResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_create(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.create( @@ -503,13 +503,13 @@ async def test_streaming_response_create(self, async_client: AsyncSupermemory) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.list() assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.list( @@ -517,7 +517,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncSupermemory) ) assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.list() @@ -527,7 +527,7 @@ async def test_raw_response_list(self, async_client: AsyncSupermemory) -> None: connection = await response.parse() assert_matches_type(ConnectionListResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.list() as response: @@ -539,7 +539,7 @@ async def test_streaming_response_list(self, async_client: AsyncSupermemory) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_configure(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.configure( @@ -548,7 +548,7 @@ async def test_method_configure(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(ConnectionConfigureResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_configure(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.configure( @@ -561,7 +561,7 @@ async def test_raw_response_configure(self, async_client: AsyncSupermemory) -> N connection = await response.parse() assert_matches_type(ConnectionConfigureResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_configure(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.configure( @@ -576,7 +576,7 @@ async def test_streaming_response_configure(self, async_client: AsyncSupermemory assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_path_params_configure(self, async_client: AsyncSupermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -585,7 +585,7 @@ async def test_path_params_configure(self, async_client: AsyncSupermemory) -> No resources=[{"foo": "bar"}], ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_delete_by_id(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.delete_by_id( @@ -593,7 +593,7 @@ async def test_method_delete_by_id(self, async_client: AsyncSupermemory) -> None ) assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_delete_by_id(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.delete_by_id( @@ -605,7 +605,7 @@ async def test_raw_response_delete_by_id(self, async_client: AsyncSupermemory) - connection = await response.parse() assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_delete_by_id(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.delete_by_id( @@ -619,7 +619,7 @@ async def test_streaming_response_delete_by_id(self, async_client: AsyncSupermem assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_path_params_delete_by_id(self, async_client: AsyncSupermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -627,7 +627,7 @@ async def test_path_params_delete_by_id(self, async_client: AsyncSupermemory) -> "", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_delete_by_provider(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.delete_by_provider( @@ -636,7 +636,7 @@ async def test_method_delete_by_provider(self, async_client: AsyncSupermemory) - ) assert_matches_type(ConnectionDeleteByProviderResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_delete_by_provider(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.delete_by_provider( @@ -649,7 +649,7 @@ async def test_raw_response_delete_by_provider(self, async_client: AsyncSupermem connection = await response.parse() assert_matches_type(ConnectionDeleteByProviderResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_delete_by_provider(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.delete_by_provider( @@ -664,7 +664,7 @@ async def test_streaming_response_delete_by_provider(self, async_client: AsyncSu assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get_by_id(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.get_by_id( @@ -672,7 +672,7 @@ async def test_method_get_by_id(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(ConnectionGetByIDResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_get_by_id(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.get_by_id( @@ -684,7 +684,7 @@ async def test_raw_response_get_by_id(self, async_client: AsyncSupermemory) -> N connection = await response.parse() assert_matches_type(ConnectionGetByIDResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_get_by_id(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.get_by_id( @@ -698,7 +698,7 @@ async def test_streaming_response_get_by_id(self, async_client: AsyncSupermemory assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_path_params_get_by_id(self, async_client: AsyncSupermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): @@ -706,7 +706,7 @@ async def test_path_params_get_by_id(self, async_client: AsyncSupermemory) -> No "", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get_by_tag(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.get_by_tag( @@ -715,7 +715,7 @@ async def test_method_get_by_tag(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(ConnectionGetByTagResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_get_by_tag(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.get_by_tag( @@ -728,7 +728,7 @@ async def test_raw_response_get_by_tag(self, async_client: AsyncSupermemory) -> connection = await response.parse() assert_matches_type(ConnectionGetByTagResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_get_by_tag(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.get_by_tag( @@ -743,7 +743,7 @@ async def test_streaming_response_get_by_tag(self, async_client: AsyncSupermemor assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_import(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.import_( @@ -751,7 +751,7 @@ async def test_method_import(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(str, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_import_with_all_params(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.import_( @@ -760,7 +760,7 @@ async def test_method_import_with_all_params(self, async_client: AsyncSupermemor ) assert_matches_type(str, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_import(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.import_( @@ -772,7 +772,7 @@ async def test_raw_response_import(self, async_client: AsyncSupermemory) -> None connection = await response.parse() assert_matches_type(str, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_import(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.import_( @@ -786,7 +786,7 @@ async def test_streaming_response_import(self, async_client: AsyncSupermemory) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list_documents(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.list_documents( @@ -794,7 +794,7 @@ async def test_method_list_documents(self, async_client: AsyncSupermemory) -> No ) assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list_documents_with_all_params(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.list_documents( @@ -803,7 +803,7 @@ async def test_method_list_documents_with_all_params(self, async_client: AsyncSu ) assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_list_documents(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.list_documents( @@ -815,7 +815,7 @@ async def test_raw_response_list_documents(self, async_client: AsyncSupermemory) connection = await response.parse() assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_list_documents(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.list_documents( @@ -829,7 +829,7 @@ async def test_streaming_response_list_documents(self, async_client: AsyncSuperm assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_resources(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.resources( @@ -837,7 +837,7 @@ async def test_method_resources(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(ConnectionResourcesResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_resources_with_all_params(self, async_client: AsyncSupermemory) -> None: connection = await async_client.connections.resources( @@ -847,7 +847,7 @@ async def test_method_resources_with_all_params(self, async_client: AsyncSuperme ) assert_matches_type(ConnectionResourcesResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_resources(self, async_client: AsyncSupermemory) -> None: response = await async_client.connections.with_raw_response.resources( @@ -859,7 +859,7 @@ async def test_raw_response_resources(self, async_client: AsyncSupermemory) -> N connection = await response.parse() assert_matches_type(ConnectionResourcesResponse, connection, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_resources(self, async_client: AsyncSupermemory) -> None: async with async_client.connections.with_streaming_response.resources( @@ -873,7 +873,7 @@ async def test_streaming_response_resources(self, async_client: AsyncSupermemory assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_path_params_resources(self, async_client: AsyncSupermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"): diff --git a/tests/api_resources/test_documents.py b/tests/api_resources/test_documents.py index 7c91f49..5264c9d 100644 --- a/tests/api_resources/test_documents.py +++ b/tests/api_resources/test_documents.py @@ -26,7 +26,7 @@ class TestDocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_update(self, client: Supermemory) -> None: document = client.documents.update( @@ -34,7 +34,7 @@ def test_method_update(self, client: Supermemory) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Supermemory) -> None: document = client.documents.update( @@ -54,7 +54,7 @@ def test_method_update_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_update(self, client: Supermemory) -> None: response = client.documents.with_raw_response.update( @@ -66,7 +66,7 @@ def test_raw_response_update(self, client: Supermemory) -> None: document = response.parse() assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_update(self, client: Supermemory) -> None: with client.documents.with_streaming_response.update( @@ -80,7 +80,7 @@ def test_streaming_response_update(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_path_params_update(self, client: Supermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -88,13 +88,13 @@ def test_path_params_update(self, client: Supermemory) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list(self, client: Supermemory) -> None: document = client.documents.list() assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list_with_all_params(self, client: Supermemory) -> None: document = client.documents.list( @@ -127,7 +127,7 @@ def test_method_list_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_list(self, client: Supermemory) -> None: response = client.documents.with_raw_response.list() @@ -137,7 +137,7 @@ def test_raw_response_list(self, client: Supermemory) -> None: document = response.parse() assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_list(self, client: Supermemory) -> None: with client.documents.with_streaming_response.list() as response: @@ -149,7 +149,7 @@ def test_streaming_response_list(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_delete(self, client: Supermemory) -> None: document = client.documents.delete( @@ -157,7 +157,7 @@ def test_method_delete(self, client: Supermemory) -> None: ) assert document is None - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_delete(self, client: Supermemory) -> None: response = client.documents.with_raw_response.delete( @@ -169,7 +169,7 @@ def test_raw_response_delete(self, client: Supermemory) -> None: document = response.parse() assert document is None - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_delete(self, client: Supermemory) -> None: with client.documents.with_streaming_response.delete( @@ -183,7 +183,7 @@ def test_streaming_response_delete(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_path_params_delete(self, client: Supermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -191,7 +191,7 @@ def test_path_params_delete(self, client: Supermemory) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_add(self, client: Supermemory) -> None: document = client.documents.add( @@ -199,7 +199,7 @@ def test_method_add(self, client: Supermemory) -> None: ) assert_matches_type(DocumentAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_add_with_all_params(self, client: Supermemory) -> None: document = client.documents.add( @@ -212,7 +212,7 @@ def test_method_add_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(DocumentAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_add(self, client: Supermemory) -> None: response = client.documents.with_raw_response.add( @@ -224,7 +224,7 @@ def test_raw_response_add(self, client: Supermemory) -> None: document = response.parse() assert_matches_type(DocumentAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_add(self, client: Supermemory) -> None: with client.documents.with_streaming_response.add( @@ -238,7 +238,7 @@ def test_streaming_response_add(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_batch_add(self, client: Supermemory) -> None: document = client.documents.batch_add( @@ -246,7 +246,7 @@ def test_method_batch_add(self, client: Supermemory) -> None: ) assert_matches_type(DocumentBatchAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_batch_add_with_all_params(self, client: Supermemory) -> None: document = client.documents.batch_add( @@ -280,7 +280,7 @@ def test_method_batch_add_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(DocumentBatchAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_batch_add(self, client: Supermemory) -> None: response = client.documents.with_raw_response.batch_add( @@ -292,7 +292,7 @@ def test_raw_response_batch_add(self, client: Supermemory) -> None: document = response.parse() assert_matches_type(DocumentBatchAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_batch_add(self, client: Supermemory) -> None: with client.documents.with_streaming_response.batch_add( @@ -306,13 +306,13 @@ def test_streaming_response_batch_add(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_delete_bulk(self, client: Supermemory) -> None: document = client.documents.delete_bulk() assert_matches_type(DocumentDeleteBulkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_delete_bulk_with_all_params(self, client: Supermemory) -> None: document = client.documents.delete_bulk( @@ -321,7 +321,7 @@ def test_method_delete_bulk_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(DocumentDeleteBulkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_delete_bulk(self, client: Supermemory) -> None: response = client.documents.with_raw_response.delete_bulk() @@ -331,7 +331,7 @@ def test_raw_response_delete_bulk(self, client: Supermemory) -> None: document = response.parse() assert_matches_type(DocumentDeleteBulkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_delete_bulk(self, client: Supermemory) -> None: with client.documents.with_streaming_response.delete_bulk() as response: @@ -343,7 +343,7 @@ def test_streaming_response_delete_bulk(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get(self, client: Supermemory) -> None: document = client.documents.get( @@ -351,7 +351,7 @@ def test_method_get(self, client: Supermemory) -> None: ) assert_matches_type(DocumentGetResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_get(self, client: Supermemory) -> None: response = client.documents.with_raw_response.get( @@ -363,7 +363,7 @@ def test_raw_response_get(self, client: Supermemory) -> None: document = response.parse() assert_matches_type(DocumentGetResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_get(self, client: Supermemory) -> None: with client.documents.with_streaming_response.get( @@ -377,7 +377,7 @@ def test_streaming_response_get(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_path_params_get(self, client: Supermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -385,13 +385,13 @@ def test_path_params_get(self, client: Supermemory) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_list_processing(self, client: Supermemory) -> None: document = client.documents.list_processing() assert_matches_type(DocumentListProcessingResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_list_processing(self, client: Supermemory) -> None: response = client.documents.with_raw_response.list_processing() @@ -401,7 +401,7 @@ def test_raw_response_list_processing(self, client: Supermemory) -> None: document = response.parse() assert_matches_type(DocumentListProcessingResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_list_processing(self, client: Supermemory) -> None: with client.documents.with_streaming_response.list_processing() as response: @@ -413,7 +413,7 @@ def test_streaming_response_list_processing(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_upload_file(self, client: Supermemory) -> None: document = client.documents.upload_file( @@ -421,7 +421,7 @@ def test_method_upload_file(self, client: Supermemory) -> None: ) assert_matches_type(DocumentUploadFileResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_upload_file_with_all_params(self, client: Supermemory) -> None: document = client.documents.upload_file( @@ -434,7 +434,7 @@ def test_method_upload_file_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(DocumentUploadFileResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_upload_file(self, client: Supermemory) -> None: response = client.documents.with_raw_response.upload_file( @@ -446,7 +446,7 @@ def test_raw_response_upload_file(self, client: Supermemory) -> None: document = response.parse() assert_matches_type(DocumentUploadFileResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_upload_file(self, client: Supermemory) -> None: with client.documents.with_streaming_response.upload_file( @@ -466,7 +466,7 @@ class TestAsyncDocuments: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.update( @@ -474,7 +474,7 @@ async def test_method_update(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.update( @@ -494,7 +494,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncSupermemor ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.update( @@ -506,7 +506,7 @@ async def test_raw_response_update(self, async_client: AsyncSupermemory) -> None document = await response.parse() assert_matches_type(DocumentUpdateResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.update( @@ -520,7 +520,7 @@ async def test_streaming_response_update(self, async_client: AsyncSupermemory) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_path_params_update(self, async_client: AsyncSupermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -528,13 +528,13 @@ async def test_path_params_update(self, async_client: AsyncSupermemory) -> None: id="", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.list() assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list_with_all_params(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.list( @@ -567,7 +567,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncSupermemory) ) assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_list(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.list() @@ -577,7 +577,7 @@ async def test_raw_response_list(self, async_client: AsyncSupermemory) -> None: document = await response.parse() assert_matches_type(DocumentListResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_list(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.list() as response: @@ -589,7 +589,7 @@ async def test_streaming_response_list(self, async_client: AsyncSupermemory) -> assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.delete( @@ -597,7 +597,7 @@ async def test_method_delete(self, async_client: AsyncSupermemory) -> None: ) assert document is None - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.delete( @@ -609,7 +609,7 @@ async def test_raw_response_delete(self, async_client: AsyncSupermemory) -> None document = await response.parse() assert document is None - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.delete( @@ -623,7 +623,7 @@ async def test_streaming_response_delete(self, async_client: AsyncSupermemory) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_path_params_delete(self, async_client: AsyncSupermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -631,7 +631,7 @@ async def test_path_params_delete(self, async_client: AsyncSupermemory) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_add(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.add( @@ -639,7 +639,7 @@ async def test_method_add(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(DocumentAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_add_with_all_params(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.add( @@ -652,7 +652,7 @@ async def test_method_add_with_all_params(self, async_client: AsyncSupermemory) ) assert_matches_type(DocumentAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_add(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.add( @@ -664,7 +664,7 @@ async def test_raw_response_add(self, async_client: AsyncSupermemory) -> None: document = await response.parse() assert_matches_type(DocumentAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_add(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.add( @@ -678,7 +678,7 @@ async def test_streaming_response_add(self, async_client: AsyncSupermemory) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_batch_add(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.batch_add( @@ -686,7 +686,7 @@ async def test_method_batch_add(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(DocumentBatchAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_batch_add_with_all_params(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.batch_add( @@ -720,7 +720,7 @@ async def test_method_batch_add_with_all_params(self, async_client: AsyncSuperme ) assert_matches_type(DocumentBatchAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_batch_add(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.batch_add( @@ -732,7 +732,7 @@ async def test_raw_response_batch_add(self, async_client: AsyncSupermemory) -> N document = await response.parse() assert_matches_type(DocumentBatchAddResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_batch_add(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.batch_add( @@ -746,13 +746,13 @@ async def test_streaming_response_batch_add(self, async_client: AsyncSupermemory assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_delete_bulk(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.delete_bulk() assert_matches_type(DocumentDeleteBulkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_delete_bulk_with_all_params(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.delete_bulk( @@ -761,7 +761,7 @@ async def test_method_delete_bulk_with_all_params(self, async_client: AsyncSuper ) assert_matches_type(DocumentDeleteBulkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_delete_bulk(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.delete_bulk() @@ -771,7 +771,7 @@ async def test_raw_response_delete_bulk(self, async_client: AsyncSupermemory) -> document = await response.parse() assert_matches_type(DocumentDeleteBulkResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_delete_bulk(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.delete_bulk() as response: @@ -783,7 +783,7 @@ async def test_streaming_response_delete_bulk(self, async_client: AsyncSupermemo assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.get( @@ -791,7 +791,7 @@ async def test_method_get(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(DocumentGetResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_get(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.get( @@ -803,7 +803,7 @@ async def test_raw_response_get(self, async_client: AsyncSupermemory) -> None: document = await response.parse() assert_matches_type(DocumentGetResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_get(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.get( @@ -817,7 +817,7 @@ async def test_streaming_response_get(self, async_client: AsyncSupermemory) -> N assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_path_params_get(self, async_client: AsyncSupermemory) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -825,13 +825,13 @@ async def test_path_params_get(self, async_client: AsyncSupermemory) -> None: "", ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_list_processing(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.list_processing() assert_matches_type(DocumentListProcessingResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_list_processing(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.list_processing() @@ -841,7 +841,7 @@ async def test_raw_response_list_processing(self, async_client: AsyncSupermemory document = await response.parse() assert_matches_type(DocumentListProcessingResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_list_processing(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.list_processing() as response: @@ -853,7 +853,7 @@ async def test_streaming_response_list_processing(self, async_client: AsyncSuper assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_upload_file(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.upload_file( @@ -861,7 +861,7 @@ async def test_method_upload_file(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(DocumentUploadFileResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_upload_file_with_all_params(self, async_client: AsyncSupermemory) -> None: document = await async_client.documents.upload_file( @@ -874,7 +874,7 @@ async def test_method_upload_file_with_all_params(self, async_client: AsyncSuper ) assert_matches_type(DocumentUploadFileResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_upload_file(self, async_client: AsyncSupermemory) -> None: response = await async_client.documents.with_raw_response.upload_file( @@ -886,7 +886,7 @@ async def test_raw_response_upload_file(self, async_client: AsyncSupermemory) -> document = await response.parse() assert_matches_type(DocumentUploadFileResponse, document, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_upload_file(self, async_client: AsyncSupermemory) -> None: async with async_client.documents.with_streaming_response.upload_file( diff --git a/tests/api_resources/test_memories.py b/tests/api_resources/test_memories.py index 2490644..d7625e4 100644 --- a/tests/api_resources/test_memories.py +++ b/tests/api_resources/test_memories.py @@ -20,7 +20,7 @@ class TestMemories: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_forget(self, client: Supermemory) -> None: memory = client.memories.forget( @@ -28,7 +28,7 @@ def test_method_forget(self, client: Supermemory) -> None: ) assert_matches_type(MemoryForgetResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_forget_with_all_params(self, client: Supermemory) -> None: memory = client.memories.forget( @@ -39,7 +39,7 @@ def test_method_forget_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(MemoryForgetResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_forget(self, client: Supermemory) -> None: response = client.memories.with_raw_response.forget( @@ -51,7 +51,7 @@ def test_raw_response_forget(self, client: Supermemory) -> None: memory = response.parse() assert_matches_type(MemoryForgetResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_forget(self, client: Supermemory) -> None: with client.memories.with_streaming_response.forget( @@ -65,7 +65,7 @@ def test_streaming_response_forget(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_update_memory(self, client: Supermemory) -> None: memory = client.memories.update_memory( @@ -74,7 +74,7 @@ def test_method_update_memory(self, client: Supermemory) -> None: ) assert_matches_type(MemoryUpdateMemoryResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_update_memory_with_all_params(self, client: Supermemory) -> None: memory = client.memories.update_memory( @@ -86,7 +86,7 @@ def test_method_update_memory_with_all_params(self, client: Supermemory) -> None ) assert_matches_type(MemoryUpdateMemoryResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_update_memory(self, client: Supermemory) -> None: response = client.memories.with_raw_response.update_memory( @@ -99,7 +99,7 @@ def test_raw_response_update_memory(self, client: Supermemory) -> None: memory = response.parse() assert_matches_type(MemoryUpdateMemoryResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_update_memory(self, client: Supermemory) -> None: with client.memories.with_streaming_response.update_memory( @@ -120,7 +120,7 @@ class TestAsyncMemories: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_forget(self, async_client: AsyncSupermemory) -> None: memory = await async_client.memories.forget( @@ -128,7 +128,7 @@ async def test_method_forget(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(MemoryForgetResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_forget_with_all_params(self, async_client: AsyncSupermemory) -> None: memory = await async_client.memories.forget( @@ -139,7 +139,7 @@ async def test_method_forget_with_all_params(self, async_client: AsyncSupermemor ) assert_matches_type(MemoryForgetResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_forget(self, async_client: AsyncSupermemory) -> None: response = await async_client.memories.with_raw_response.forget( @@ -151,7 +151,7 @@ async def test_raw_response_forget(self, async_client: AsyncSupermemory) -> None memory = await response.parse() assert_matches_type(MemoryForgetResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_forget(self, async_client: AsyncSupermemory) -> None: async with async_client.memories.with_streaming_response.forget( @@ -165,7 +165,7 @@ async def test_streaming_response_forget(self, async_client: AsyncSupermemory) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_update_memory(self, async_client: AsyncSupermemory) -> None: memory = await async_client.memories.update_memory( @@ -174,7 +174,7 @@ async def test_method_update_memory(self, async_client: AsyncSupermemory) -> Non ) assert_matches_type(MemoryUpdateMemoryResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_update_memory_with_all_params(self, async_client: AsyncSupermemory) -> None: memory = await async_client.memories.update_memory( @@ -186,7 +186,7 @@ async def test_method_update_memory_with_all_params(self, async_client: AsyncSup ) assert_matches_type(MemoryUpdateMemoryResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_update_memory(self, async_client: AsyncSupermemory) -> None: response = await async_client.memories.with_raw_response.update_memory( @@ -199,7 +199,7 @@ async def test_raw_response_update_memory(self, async_client: AsyncSupermemory) memory = await response.parse() assert_matches_type(MemoryUpdateMemoryResponse, memory, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_update_memory(self, async_client: AsyncSupermemory) -> None: async with async_client.memories.with_streaming_response.update_memory( diff --git a/tests/api_resources/test_search.py b/tests/api_resources/test_search.py index 79fb14b..fcbea88 100644 --- a/tests/api_resources/test_search.py +++ b/tests/api_resources/test_search.py @@ -21,7 +21,7 @@ class TestSearch: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_documents(self, client: Supermemory) -> None: search = client.search.documents( @@ -29,7 +29,7 @@ def test_method_documents(self, client: Supermemory) -> None: ) assert_matches_type(SearchDocumentsResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_documents_with_all_params(self, client: Supermemory) -> None: search = client.search.documents( @@ -60,7 +60,7 @@ def test_method_documents_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(SearchDocumentsResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_documents(self, client: Supermemory) -> None: response = client.search.with_raw_response.documents( @@ -72,7 +72,7 @@ def test_raw_response_documents(self, client: Supermemory) -> None: search = response.parse() assert_matches_type(SearchDocumentsResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_documents(self, client: Supermemory) -> None: with client.search.with_streaming_response.documents( @@ -86,7 +86,7 @@ def test_streaming_response_documents(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_execute(self, client: Supermemory) -> None: search = client.search.execute( @@ -94,7 +94,7 @@ def test_method_execute(self, client: Supermemory) -> None: ) assert_matches_type(SearchExecuteResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_execute_with_all_params(self, client: Supermemory) -> None: search = client.search.execute( @@ -125,7 +125,7 @@ def test_method_execute_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(SearchExecuteResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_execute(self, client: Supermemory) -> None: response = client.search.with_raw_response.execute( @@ -137,7 +137,7 @@ def test_raw_response_execute(self, client: Supermemory) -> None: search = response.parse() assert_matches_type(SearchExecuteResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_execute(self, client: Supermemory) -> None: with client.search.with_streaming_response.execute( @@ -151,7 +151,7 @@ def test_streaming_response_execute(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_memories(self, client: Supermemory) -> None: search = client.search.memories( @@ -159,7 +159,7 @@ def test_method_memories(self, client: Supermemory) -> None: ) assert_matches_type(SearchMemoriesResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_memories_with_all_params(self, client: Supermemory) -> None: search = client.search.memories( @@ -192,7 +192,7 @@ def test_method_memories_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(SearchMemoriesResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_memories(self, client: Supermemory) -> None: response = client.search.with_raw_response.memories( @@ -204,7 +204,7 @@ def test_raw_response_memories(self, client: Supermemory) -> None: search = response.parse() assert_matches_type(SearchMemoriesResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_memories(self, client: Supermemory) -> None: with client.search.with_streaming_response.memories( @@ -224,7 +224,7 @@ class TestAsyncSearch: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_documents(self, async_client: AsyncSupermemory) -> None: search = await async_client.search.documents( @@ -232,7 +232,7 @@ async def test_method_documents(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(SearchDocumentsResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_documents_with_all_params(self, async_client: AsyncSupermemory) -> None: search = await async_client.search.documents( @@ -263,7 +263,7 @@ async def test_method_documents_with_all_params(self, async_client: AsyncSuperme ) assert_matches_type(SearchDocumentsResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_documents(self, async_client: AsyncSupermemory) -> None: response = await async_client.search.with_raw_response.documents( @@ -275,7 +275,7 @@ async def test_raw_response_documents(self, async_client: AsyncSupermemory) -> N search = await response.parse() assert_matches_type(SearchDocumentsResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_documents(self, async_client: AsyncSupermemory) -> None: async with async_client.search.with_streaming_response.documents( @@ -289,7 +289,7 @@ async def test_streaming_response_documents(self, async_client: AsyncSupermemory assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_execute(self, async_client: AsyncSupermemory) -> None: search = await async_client.search.execute( @@ -297,7 +297,7 @@ async def test_method_execute(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(SearchExecuteResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_execute_with_all_params(self, async_client: AsyncSupermemory) -> None: search = await async_client.search.execute( @@ -328,7 +328,7 @@ async def test_method_execute_with_all_params(self, async_client: AsyncSupermemo ) assert_matches_type(SearchExecuteResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_execute(self, async_client: AsyncSupermemory) -> None: response = await async_client.search.with_raw_response.execute( @@ -340,7 +340,7 @@ async def test_raw_response_execute(self, async_client: AsyncSupermemory) -> Non search = await response.parse() assert_matches_type(SearchExecuteResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_execute(self, async_client: AsyncSupermemory) -> None: async with async_client.search.with_streaming_response.execute( @@ -354,7 +354,7 @@ async def test_streaming_response_execute(self, async_client: AsyncSupermemory) assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_memories(self, async_client: AsyncSupermemory) -> None: search = await async_client.search.memories( @@ -362,7 +362,7 @@ async def test_method_memories(self, async_client: AsyncSupermemory) -> None: ) assert_matches_type(SearchMemoriesResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_memories_with_all_params(self, async_client: AsyncSupermemory) -> None: search = await async_client.search.memories( @@ -395,7 +395,7 @@ async def test_method_memories_with_all_params(self, async_client: AsyncSupermem ) assert_matches_type(SearchMemoriesResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_memories(self, async_client: AsyncSupermemory) -> None: response = await async_client.search.with_raw_response.memories( @@ -407,7 +407,7 @@ async def test_raw_response_memories(self, async_client: AsyncSupermemory) -> No search = await response.parse() assert_matches_type(SearchMemoriesResponse, search, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_memories(self, async_client: AsyncSupermemory) -> None: async with async_client.search.with_streaming_response.memories( diff --git a/tests/api_resources/test_settings.py b/tests/api_resources/test_settings.py index 1ae0ac2..6aa9fde 100644 --- a/tests/api_resources/test_settings.py +++ b/tests/api_resources/test_settings.py @@ -17,13 +17,13 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_update(self, client: Supermemory) -> None: setting = client.settings.update() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_update_with_all_params(self, client: Supermemory) -> None: setting = client.settings.update( @@ -47,7 +47,7 @@ def test_method_update_with_all_params(self, client: Supermemory) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_update(self, client: Supermemory) -> None: response = client.settings.with_raw_response.update() @@ -57,7 +57,7 @@ def test_raw_response_update(self, client: Supermemory) -> None: setting = response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_update(self, client: Supermemory) -> None: with client.settings.with_streaming_response.update() as response: @@ -69,13 +69,13 @@ def test_streaming_response_update(self, client: Supermemory) -> None: assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_method_get(self, client: Supermemory) -> None: setting = client.settings.get() assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_raw_response_get(self, client: Supermemory) -> None: response = client.settings.with_raw_response.get() @@ -85,7 +85,7 @@ def test_raw_response_get(self, client: Supermemory) -> None: setting = response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize def test_streaming_response_get(self, client: Supermemory) -> None: with client.settings.with_streaming_response.get() as response: @@ -103,13 +103,13 @@ class TestAsyncSettings: "async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"] ) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncSupermemory) -> None: setting = await async_client.settings.update() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_update_with_all_params(self, async_client: AsyncSupermemory) -> None: setting = await async_client.settings.update( @@ -133,7 +133,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncSupermemor ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_update(self, async_client: AsyncSupermemory) -> None: response = await async_client.settings.with_raw_response.update() @@ -143,7 +143,7 @@ async def test_raw_response_update(self, async_client: AsyncSupermemory) -> None setting = await response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_update(self, async_client: AsyncSupermemory) -> None: async with async_client.settings.with_streaming_response.update() as response: @@ -155,13 +155,13 @@ async def test_streaming_response_update(self, async_client: AsyncSupermemory) - assert cast(Any, response.is_closed) is True - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_method_get(self, async_client: AsyncSupermemory) -> None: setting = await async_client.settings.get() assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_raw_response_get(self, async_client: AsyncSupermemory) -> None: response = await async_client.settings.with_raw_response.get() @@ -171,7 +171,7 @@ async def test_raw_response_get(self, async_client: AsyncSupermemory) -> None: setting = await response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) - @pytest.mark.skip(reason="Prism tests are disabled") + @pytest.mark.skip(reason="Mock server tests are disabled") @parametrize async def test_streaming_response_get(self, async_client: AsyncSupermemory) -> None: async with async_client.settings.with_streaming_response.get() as response: From 62e9351a1a3de8a78081698198558dbb4119ad2f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 20 Feb 2026 05:15:05 +0000 Subject: [PATCH 5/5] release: 3.26.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 14 ++++++++++++++ pyproject.toml | 2 +- src/supermemory/_version.py | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b0c3aa5..0aeadf3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.25.0" + ".": "3.26.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a35e72..2007485 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 3.26.0 (2026-02-20) + +Full Changelog: [v3.25.0...v3.26.0](https://github.com/supermemoryai/python-sdk/compare/v3.25.0...v3.26.0) + +### Features + +* **api:** api update ([0bfae9d](https://github.com/supermemoryai/python-sdk/commit/0bfae9dce59817f6aa92f79a35f033d5888501af)) + + +### Chores + +* **internal:** remove mock server code ([1135336](https://github.com/supermemoryai/python-sdk/commit/113533627803db42f5b519cc2ba978da81f4c99d)) +* update mock server docs ([b382215](https://github.com/supermemoryai/python-sdk/commit/b382215ce4f4062f43fa4b0ef686e90bf461c651)) + ## 3.25.0 (2026-02-18) Full Changelog: [v3.24.0...v3.25.0](https://github.com/supermemoryai/python-sdk/compare/v3.24.0...v3.25.0) diff --git a/pyproject.toml b/pyproject.toml index 014607d..586c8b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "supermemory" -version = "3.25.0" +version = "3.26.0" description = "The official Python library for the supermemory API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/supermemory/_version.py b/src/supermemory/_version.py index 902065f..0186a4b 100644 --- a/src/supermemory/_version.py +++ b/src/supermemory/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "supermemory" -__version__ = "3.25.0" # x-release-please-version +__version__ = "3.26.0" # x-release-please-version