-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fixit: Update to Gen App Builder Tests #10092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- `ListDocumentsPager` the return type for `client.list_documents` is not exposed as a type from the client library
@@ -44,5 +42,7 @@ def list_documents_sample( | |||
for result in response: | |||
print(result) | |||
|
|||
return response |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider returning a relevant object within the response that matches the name of the method. Is there a list that comes back as part of the response you can return?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's hard to get the results this way because it returns a Pager object.
I don't know if it's possible to put a type annotation for because it's not exposed as a type in the client library (but I could be wrong)
Fixes #10066
v1
GA endpoint