Skip to content

Commit 0f00366

Browse files
feat(api): manual updates
1 parent 8ddfb41 commit 0f00366

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+972
-1276
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ first_page = await client.environments.automations.services.list()
122122
if first_page.has_next_page():
123123
print(f"will fetch next page using these details: {first_page.next_page_info()}")
124124
next_page = await first_page.get_next_page()
125-
print(f"number of items we just fetched: {len(next_page.pagination.personal_access_tokens)}")
125+
print(f"number of items we just fetched: {len(next_page.services)}")
126126

127127
# Remove `await` for non-async usage.
128128
```
@@ -133,8 +133,8 @@ Or just work directly with the returned data:
133133
first_page = await client.environments.automations.services.list()
134134

135135
print(f"next page cursor: {first_page.pagination.next_token}") # => "next page cursor: ..."
136-
for service in first_page.pagination.personal_access_tokens:
137-
print(service.pagination)
136+
for service in first_page.services:
137+
print(service.id)
138138

139139
# Remove `await` for non-async usage.
140140
```

Diff for: api.md

+21-21
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)