Skip to content
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

Docs issue ... #70

Open
justin-echternach opened this issue Aug 15, 2023 · 0 comments
Open

Docs issue ... #70

justin-echternach opened this issue Aug 15, 2023 · 0 comments

Comments

@justin-echternach
Copy link

Works great so far, but there is one issue in the docs ... if you try to iterate or access the result from psychic_docs = psychic.get_documents(account_id="account_id", chunked=True) ... you will get this error (in Python SDK at least) ... TypeError: 'GetDocumentsResponse' object is not iterable. The solution is to access the "documents" property on the response instead. psychic_response = psychic.get_documents(account_id="account_id", chunked=True), psychic_docs = psychic_reponse.documents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant