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

load_and_raise change #233

Closed
wants to merge 2 commits into from
Closed

Conversation

Aceer121
Copy link

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Fixes # (issue).

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

I improved the error handling a bit, take a look

@aniketmaurya
Copy link
Collaborator

Hi @Aceer121, thanks for the PR! please add a proper PR description. LitServe needs to follow Lightning AI's guidelines for production-ready OSS software.

  • clear PR descriptions
  • tests
  • documentation

thanks!

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

Project coverage is 82%. Comparing base (6c49137) to head (325d759).
Report is 66 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #233   +/-   ##
===================================
  Coverage    81%    82%           
===================================
  Files        13     13           
  Lines      1036   1055   +19     
===================================
+ Hits        842    862   +20     
+ Misses      194    193    -1     

@@ -87,10 +96,15 @@ async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:

async def rcv() -> Message:
nonlocal total_size
message = await receive()
try:
message = await receive()
Copy link
Collaborator

Choose a reason for hiding this comment

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

could you please mention if we really need try...except here?

@aniketmaurya
Copy link
Collaborator

hi @Aceer121, please let me know if you need any help?

@aniketmaurya
Copy link
Collaborator

closing this PR due to no response from the author! Please feel free to reopen.

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