Skip to content

Commit 19f7bd9

Browse files
fix: pluralize list response variables (#26)
1 parent 9a71c71 commit 19f7bd9

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
@@ -33,8 +33,8 @@ client = ReplicateClient(
3333
), # This is the default and can be omitted
3434
)
3535

36-
account = client.accounts.list()
37-
print(account.type)
36+
accounts = client.accounts.list()
37+
print(accounts.type)
3838
```
3939

4040
While you can provide a `bearer_token` keyword argument,
@@ -59,8 +59,8 @@ client = AsyncReplicateClient(
5959

6060

6161
async def main() -> None:
62-
account = await client.accounts.list()
63-
print(account.type)
62+
accounts = await client.accounts.list()
63+
print(accounts.type)
6464

6565

6666
asyncio.run(main())

0 commit comments

Comments
 (0)