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

feat: return Response from routes #346

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

AntoineRR
Copy link
Collaborator

Description

This PR makes Response a pyclass.
There is no more need to convert a Pydict to a Response in the execute_http_function method, as the result will already be a Response.
Can you tell me what you think of it @sansyrox ? 🙂

@netlify
Copy link

netlify bot commented Jan 2, 2023

Deploy Preview for robyn canceled.

Name Link
🔨 Latest commit 168a48b
🔍 Latest deploy log https://app.netlify.com/sites/robyn/deploys/63b2f8cc7d4b790007cb68b4

@sansyrox
Copy link
Member

sansyrox commented Jan 2, 2023

@AntoineRR , this looks great :D

I will try running it locally before a final merge.

Before that, I have one question - Is there any change in how the files are rendered in the output?

@sansyrox
Copy link
Member

sansyrox commented Jan 3, 2023

@AntoineRR , I just had a look. This looks great!

Copy link
Member

@sansyrox sansyrox left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@sansyrox sansyrox merged commit c744396 into sparckles:main Jan 3, 2023
@AntoineRR
Copy link
Collaborator Author

Thanks for reviewing and merging it!
Sorry I didn't see your question earlier, but I think I didn't change the way static files are handled anyway

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