-
Notifications
You must be signed in to change notification settings - Fork 181
feat: python multipart #943
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
data['responseStatusCode'] = int(data.get('responseStatusCode', 0)) | ||
data['duration'] = float(data.get('duration', 0)) | ||
data['responseBody'] = cls.from_string(data.get('responseBody', '')) | ||
return data |
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.
@loks0n are people able to then do response.responseBody.toJSON()
or response.responseBody.toBinary()
for example ?
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.
to_json()
and to_binary()
but yeah
@@ -0,0 +1,96 @@ | |||
import os |
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.
@loks0n I'm pretty sure we need changes in the service.py especially in the functions for createFile, createDeployment and createExecution to use the new payload class.
Please test these and let me know.
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
…to feat-python-multipart
tests/languages/ruby/plan.ts
Outdated
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.
@loks0n I think we can remove this?
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.
done
No description provided.