Skip to content

Commit 83e50f3

Browse files
fix: pluralize list response variables (#18)
1 parent 374f1e4 commit 83e50f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ client = Oxp(
3131
bearer_token=os.environ.get("OXP_API_KEY"), # This is the default and can be omitted
3232
)
3333

34-
tool = client.tools.list()
35-
print(tool.items)
34+
tools = client.tools.list()
35+
print(tools.items)
3636
```
3737

3838
While you can provide a `bearer_token` keyword argument,
@@ -55,8 +55,8 @@ client = AsyncOxp(
5555

5656

5757
async def main() -> None:
58-
tool = await client.tools.list()
59-
print(tool.items)
58+
tools = await client.tools.list()
59+
print(tools.items)
6060

6161

6262
asyncio.run(main())

0 commit comments

Comments
 (0)