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

Port 'HTTP Image' demo to Python #62

Merged
merged 4 commits into from
Feb 8, 2024

Conversation

rolandlo
Copy link
Contributor

I'm not sure whether that's the way you want to do async stuff in Python, but it works.

I wasn't happy with the hardcoded "200" in place of Soup.Status.OK, so I used the latter one. Let me know if there is a reason to prefer the hardcoded value.

@sonnyp
Copy link
Contributor

sonnyp commented Jan 25, 2024

I wasn't happy with the hardcoded "200" in place of Soup.Status.OK, so I used the latter one. Let me know if there is a reason to prefer the hardcoded value.

I didn't know of Soup.Status :) please update the other impl too.
We try to keep the different languages as close as possible to each others. The JavaScript is the source of truth.

@sonnyp
Copy link
Contributor

sonnyp commented Jan 25, 2024

Workbench Library is our own rosetta stone :)

@rolandlo
Copy link
Contributor Author

rolandlo commented Feb 3, 2024

For the record, I updated the other implementations as well. Also I made use of GLib default priority flag in the Python and Javascript implementations consistently with the other two implementations.

Copy link
Contributor

@theCapypara theCapypara left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@rolandlo
Copy link
Contributor Author

rolandlo commented Feb 4, 2024

4 approvals. I guess it's time to merge. :-)

@sonnyp sonnyp merged commit d4be697 into workbenchdev:main Feb 8, 2024
1 check passed
@rolandlo rolandlo deleted the python-http-image branch February 8, 2024 20:59
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.

5 participants