We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57edf6a commit 71ca4c1Copy full SHA for 71ca4c1
README.md
@@ -14,13 +14,12 @@ Each namespace has its own authentication requirements and access patterns. Whil
14
15
```python
16
# Example of accessing Client namespace
17
-from glean import Glean, models
+from glean import Glean
18
import os
19
20
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
- )
+ search_response = glean.client.search.query(query="search term")
+
24
print(search_response)
25
26
# Example of accessing Indexing namespace
0 commit comments