Skip to content

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

Merged
merged 24 commits into from
Aug 30, 2024
Merged

feat: python multipart #943

merged 24 commits into from
Aug 30, 2024

Conversation

loks0n
Copy link
Member

@loks0n loks0n commented Aug 16, 2024

No description provided.

Comment on lines 33 to 36
data['responseStatusCode'] = int(data.get('responseStatusCode', 0))
data['duration'] = float(data.get('duration', 0))
data['responseBody'] = cls.from_string(data.get('responseBody', ''))
return data
Copy link
Member

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 ?

Copy link
Member Author

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
Copy link
Member

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.

@loks0n loks0n requested a review from christyjacob4 August 28, 2024 11:49
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@loks0n loks0n changed the base branch from master to feat-multipart August 30, 2024 14:22
@christyjacob4 christyjacob4 merged commit e00a93a into feat-multipart Aug 30, 2024
5 of 34 checks passed
@christyjacob4 christyjacob4 deleted the feat-python-multipart branch August 30, 2024 14:24
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

Successfully merging this pull request may close these issues.

2 participants