File tree Expand file tree Collapse file tree 7 files changed +17
-12
lines changed Expand file tree Collapse file tree 7 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 11{
2- "." : " 0.20 .0"
2+ "." : " 0.21 .0"
33}
Original file line number Diff line number Diff line change 11configured_endpoints : 13
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-e8dc461bfd68745a68eddc289ac15c0c5d222f20e81a5c61b11ee3807a75d839 .yml
3- openapi_spec_hash : 24eece3c79152b96c2cc0f398cf9d6af
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-14d23949fc9a5cf375c542a7a2bda08334079fab55f43b80a3d94ede34244da3 .yml
3+ openapi_spec_hash : b80c4f0e0311ff9125dfe27a5a405395
44config_hash : bf6196b98ec72829d458bc45ccd5a5f9
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.21.0 (2025-08-05)
4+
5+ Full Changelog: [ v0.20.0...v0.21.0] ( https://github.com/hyperspell/python-sdk/compare/v0.20.0...v0.21.0 )
6+
7+ ### Features
8+
9+ * ** api:** api update ([ ec5f973] ( https://github.com/hyperspell/python-sdk/commit/ec5f97338107ae64be0e174dda3ec4dda5903918 ) )
10+
311## 0.20.0 (2025-08-01)
412
513Full Changelog: [ v0.19.0...v0.20.0] ( https://github.com/hyperspell/python-sdk/compare/v0.19.0...v0.20.0 )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ client = Hyperspell(
3535memory_status = client.memories.add(
3636 text = " text" ,
3737)
38- print (memory_status.id )
38+ print (memory_status.resource_id )
3939```
4040
4141While you can provide an ` api_key ` keyword argument,
@@ -61,7 +61,7 @@ async def main() -> None:
6161 memory_status = await client.memories.add(
6262 text = " text" ,
6363 )
64- print (memory_status.id )
64+ print (memory_status.resource_id )
6565
6666
6767asyncio.run(main())
@@ -96,7 +96,7 @@ async def main() -> None:
9696 memory_status = await client.memories.add(
9797 text = " text" ,
9898 )
99- print (memory_status.id )
99+ print (memory_status.resource_id )
100100
101101
102102asyncio.run(main())
@@ -350,7 +350,7 @@ response = client.memories.with_raw_response.add(
350350print (response.headers.get(' X-My-Header' ))
351351
352352memory = response.parse() # get the object that `memories.add()` would have returned
353- print (memory.id )
353+ print (memory.resource_id )
354354```
355355
356356These methods return an [ ` APIResponse ` ] ( https://github.com/hyperspell/python-sdk/tree/main/src/hyperspell/_response.py ) object.
Original file line number Diff line number Diff line change 11[project ]
22name = " hyperspell"
3- version = " 0.20 .0"
3+ version = " 0.21 .0"
44description = " The official Python library for the hyperspell API"
55dynamic = [" readme" ]
66license = " MIT"
Original file line number Diff line number Diff line change 11# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
33__title__ = "hyperspell"
4- __version__ = "0.20 .0" # x-release-please-version
4+ __version__ = "0.21 .0" # x-release-please-version
Original file line number Diff line number Diff line change 88
99
1010class MemoryStatus (BaseModel ):
11- id : int
12- """Deprecated: refer to documents by source and resource_id instead"""
13-
1411 resource_id : str
1512
1613 source : Literal [
You can’t perform that action at this time.
0 commit comments