@@ -40,12 +40,12 @@ def test_method_update_with_all_params(self, client: Supermemory) -> None:
4040 container_tags = ["user_123" , "project_123" ],
4141 custom_id = "mem_abc123" ,
4242 metadata = {
43- "source" : "web" ,
4443 "category" : "technology" ,
44+ "isPublic" : True ,
45+ "readingTime" : 5 ,
46+ "source" : "web" ,
4547 "tag_1" : "ai" ,
4648 "tag_2" : "machine-learning" ,
47- "readingTime" : 5 ,
48- "isPublic" : True ,
4949 },
5050 )
5151 assert_matches_type (MemoryUpdateResponse , memory , path = ["response" ])
@@ -98,7 +98,7 @@ def test_method_list(self, client: Supermemory) -> None:
9898 def test_method_list_with_all_params (self , client : Supermemory ) -> None :
9999 memory = client .memories .list (
100100 container_tags = ["user_123" , "project_123" ],
101- filters = '{"AND":[{"key":"group","value":"jira_users","negate":false },{"filterType":"numeric","key":"timestamp","value":"1742745777"," negate":false,"numericOperator":">"}]}' ,
101+ filters = '{"AND":[{"key":"group","negate":false,"value":"jira_users" },{"filterType":"numeric","key":"timestamp","negate":false,"numericOperator":">","value":"1742745777 "}]}' ,
102102 limit = 10 ,
103103 order = "desc" ,
104104 page = 1 ,
@@ -186,12 +186,12 @@ def test_method_add_with_all_params(self, client: Supermemory) -> None:
186186 container_tags = ["user_123" , "project_123" ],
187187 custom_id = "mem_abc123" ,
188188 metadata = {
189- "source" : "web" ,
190189 "category" : "technology" ,
190+ "isPublic" : True ,
191+ "readingTime" : 5 ,
192+ "source" : "web" ,
191193 "tag_1" : "ai" ,
192194 "tag_2" : "machine-learning" ,
193- "readingTime" : 5 ,
194- "isPublic" : True ,
195195 },
196196 )
197197 assert_matches_type (MemoryAddResponse , memory , path = ["response" ])
@@ -288,12 +288,12 @@ async def test_method_update_with_all_params(self, async_client: AsyncSupermemor
288288 container_tags = ["user_123" , "project_123" ],
289289 custom_id = "mem_abc123" ,
290290 metadata = {
291- "source" : "web" ,
292291 "category" : "technology" ,
292+ "isPublic" : True ,
293+ "readingTime" : 5 ,
294+ "source" : "web" ,
293295 "tag_1" : "ai" ,
294296 "tag_2" : "machine-learning" ,
295- "readingTime" : 5 ,
296- "isPublic" : True ,
297297 },
298298 )
299299 assert_matches_type (MemoryUpdateResponse , memory , path = ["response" ])
@@ -346,7 +346,7 @@ async def test_method_list(self, async_client: AsyncSupermemory) -> None:
346346 async def test_method_list_with_all_params (self , async_client : AsyncSupermemory ) -> None :
347347 memory = await async_client .memories .list (
348348 container_tags = ["user_123" , "project_123" ],
349- filters = '{"AND":[{"key":"group","value":"jira_users","negate":false },{"filterType":"numeric","key":"timestamp","value":"1742745777"," negate":false,"numericOperator":">"}]}' ,
349+ filters = '{"AND":[{"key":"group","negate":false,"value":"jira_users" },{"filterType":"numeric","key":"timestamp","negate":false,"numericOperator":">","value":"1742745777 "}]}' ,
350350 limit = 10 ,
351351 order = "desc" ,
352352 page = 1 ,
@@ -434,12 +434,12 @@ async def test_method_add_with_all_params(self, async_client: AsyncSupermemory)
434434 container_tags = ["user_123" , "project_123" ],
435435 custom_id = "mem_abc123" ,
436436 metadata = {
437- "source" : "web" ,
438437 "category" : "technology" ,
438+ "isPublic" : True ,
439+ "readingTime" : 5 ,
440+ "source" : "web" ,
439441 "tag_1" : "ai" ,
440442 "tag_2" : "machine-learning" ,
441- "readingTime" : 5 ,
442- "isPublic" : True ,
443443 },
444444 )
445445 assert_matches_type (MemoryAddResponse , memory , path = ["response" ])
0 commit comments