Skip to content

Commit 71ca4c1

Browse files
fix: Fixes code sample in README.md to confirm to fixed /search example
1 parent 57edf6a commit 71ca4c1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ Each namespace has its own authentication requirements and access patterns. Whil
1414

1515
```python
1616
# Example of accessing Client namespace
17-
from glean import Glean, models
17+
from glean import Glean
1818
import os
1919

2020
with Glean(api_token="client-token", instance="instance-name") as glean:
21-
search_response = glean.client.search.query(
22-
request=models.SearchRequest(query="search term")
23-
)
21+
search_response = glean.client.search.query(query="search term")
22+
2423
print(search_response)
2524

2625
# Example of accessing Indexing namespace

0 commit comments

Comments
 (0)