-
Notifications
You must be signed in to change notification settings - Fork 23
chore/Document breaking changes in js client #73
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
f2ec350
to
1d3a576
Compare
1d3a576
to
4a0f4c8
Compare
Co-authored-by: John <[email protected]>
@@ -73,35 +83,46 @@ deployment of Unstructured API, you can access the API using the Python or JavaS | |||
# Handle the response | |||
pass |
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.
unrelated to this PR, but I'm noticing now that the response is handled differently in the two python examples. This first example should probably do the same as the Python (SDK <=v0.22.0)
tab
pass | |
try: | |
res = client.general.partition(request=req) | |
print(res.elements[0]) | |
except SDKError as e: | |
print(e) |
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.
Added comments, but approving in advance
* Use data as variable in all samples * Keep the example params consistent
Changes: