8000 Update api-ref.md · SnarkyPapi/server-client-python@8b6747e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b6747e

Browse files
authored
Update api-ref.md
Fix site.get() code sample - remove extraneous ")" ```for site in all_sites):``` to ```for site in all_sites:```
1 parent 0d55570 commit 8b6747e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-ref.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2187,7 +2187,7 @@ Returns a list of all `SiteItem` objects and a `PaginationItem`. Use these value
21872187
all_sites, pagination_item = server.sites.get()
21882188

21892189
# print all the site names and ids
2190-
for site in all_sites):
2190+
for site in all_sites:
21912191
print(site.id, site.name, site.content_url, site.state)
21922192

21932193

0 commit comments

Comments
 (0)
0