Skip to content

Commit add1d76

Browse files
feat(api): api update
1 parent 802a6ee commit add1d76

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-f6ce5154226fb08b6df06b813c46950bf10835af91a7e7b64dd54fc077e35dcc.yml
3-
openapi_spec_hash: f63ed123d263784f1e9971061494f730
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-4f19d2194ceebd4e2f52fefc09e7936f3ce417a943a0709623c5de1edc9bfc78.yml
3+
openapi_spec_hash: 536a71de5eb401a09790bec0d26a32a0
44
config_hash: ca45358b5407440488ec988e3ee21412

src/hyperspell/types/memory_search_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ class OptionsWebCrawler(TypedDict, total=False):
279279
max_depth: int
280280
"""Maximum depth to crawl from the starting URL"""
281281

282-
url: Union[str, object]
282+
url: Optional[str]
283283
"""The URL to crawl"""
284284

285285
weight: float

tests/api_resources/test_memories.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def test_method_search_with_all_params(self, client: Hyperspell) -> None:
259259
"after": parse_datetime("2019-12-27T18:11:19.117Z"),
260260
"before": parse_datetime("2019-12-27T18:11:19.117Z"),
261261
"max_depth": 0,
262-
"url": "string",
262+
"url": "url",
263263
"weight": 0,
264264
},
265265
},
@@ -595,7 +595,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncHyperspell
595595
"after": parse_datetime("2019-12-27T18:11:19.117Z"),
596596
"before": parse_datetime("2019-12-27T18:11:19.117Z"),
597597
"max_depth": 0,
598-
"url": "string",
598+
"url": "url",
599599
"weight": 0,
600600
},
601601
},

0 commit comments

Comments
 (0)