Skip to content

Commit 1f7b46f

Browse files
docs: improve examples
1 parent 74a69dd commit 1f7b46f

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

tests/api_resources/test_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def test_method_profile_with_all_params(self, client: Supermemory) -> None:
8383
"key": "key",
8484
"value": "value",
8585
"filter_type": "metadata",
86-
"ignore_case": True,
87-
"negate": True,
86+
"ignore_case": "true",
87+
"negate": "true",
8888
"numeric_operator": ">",
8989
}
9090
]
@@ -192,8 +192,8 @@ async def test_method_profile_with_all_params(self, async_client: AsyncSupermemo
192192
"key": "key",
193193
"value": "value",
194194
"filter_type": "metadata",
195-
"ignore_case": True,
196-
"negate": True,
195+
"ignore_case": "true",
196+
"negate": "true",
197197
"numeric_operator": ">",
198198
}
199199
]

tests/api_resources/test_documents.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ def test_method_list_with_all_params(self, client: Supermemory) -> None:
105105
"key": "group",
106106
"value": "jira_users",
107107
"filter_type": "metadata",
108-
"ignore_case": True,
108+
"ignore_case": "true",
109109
"negate": False,
110110
"numeric_operator": ">",
111111
},
112112
{
113113
"key": "timestamp",
114114
"value": "1742745777",
115115
"filter_type": "numeric",
116-
"ignore_case": True,
116+
"ignore_case": "true",
117117
"negate": False,
118118
"numeric_operator": ">",
119119
},
@@ -546,15 +546,15 @@ async def test_method_list_with_all_params(self, async_client: AsyncSupermemory)
546546
"key": "group",
547547
"value": "jira_users",
548548
"filter_type": "metadata",
549-
"ignore_case": True,
549+
"ignore_case": "true",
550550
"negate": False,
551551
"numeric_operator": ">",
552552
},
553553
{
554554
"key": "timestamp",
555555
"value": "1742745777",
556556
"filter_type": "numeric",
557-
"ignore_case": True,
557+
"ignore_case": "true",
558558
"negate": False,
559559
"numeric_operator": ">",
560560
},

tests/api_resources/test_search.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def test_method_documents_with_all_params(self, client: Supermemory) -> None:
4646
"key": "key",
4747
"value": "value",
4848
"filter_type": "metadata",
49-
"ignore_case": True,
50-
"negate": True,
49+
"ignore_case": "true",
50+
"negate": "true",
5151
"numeric_operator": ">",
5252
}
5353
]
@@ -112,8 +112,8 @@ def test_method_execute_with_all_params(self, client: Supermemory) -> None:
112112
"key": "key",
113113
"value": "value",
114114
"filter_type": "metadata",
115-
"ignore_case": True,
116-
"negate": True,
115+
"ignore_case": "true",
116+
"negate": "true",
117117
"numeric_operator": ">",
118118
}
119119
]
@@ -174,8 +174,8 @@ def test_method_memories_with_all_params(self, client: Supermemory) -> None:
174174
"key": "key",
175175
"value": "value",
176176
"filter_type": "metadata",
177-
"ignore_case": True,
178-
"negate": True,
177+
"ignore_case": "true",
178+
"negate": "true",
179179
"numeric_operator": ">",
180180
}
181181
]
@@ -252,8 +252,8 @@ async def test_method_documents_with_all_params(self, async_client: AsyncSuperme
252252
"key": "key",
253253
"value": "value",
254254
"filter_type": "metadata",
255-
"ignore_case": True,
256-
"negate": True,
255+
"ignore_case": "true",
256+
"negate": "true",
257257
"numeric_operator": ">",
258258
}
259259
]
@@ -318,8 +318,8 @@ async def test_method_execute_with_all_params(self, async_client: AsyncSupermemo
318318
"key": "key",
319319
"value": "value",
320320
"filter_type": "metadata",
321-
"ignore_case": True,
322-
"negate": True,
321+
"ignore_case": "true",
322+
"negate": "true",
323323
"numeric_operator": ">",
324324
}
325325
]
@@ -380,8 +380,8 @@ async def test_method_memories_with_all_params(self, async_client: AsyncSupermem
380380
"key": "key",
381381
"value": "value",
382382
"filter_type": "metadata",
383-
"ignore_case": True,
384-
"negate": True,
383+
"ignore_case": "true",
384+
"negate": "true",
385385
"numeric_operator": ">",
386386
}
387387
]

0 commit comments

Comments
 (0)