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

[serve] improve router resolve request arg func #48658

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

zcin
Copy link
Contributor

@zcin zcin commented Nov 8, 2024

Why are these changes needed?

Refactor resolve request arg func.

Separate into:

  1. actual type checking + argument resolution (injected into the Router as a function)
  2. the logic for executing that resolution and replacing args/kwargs (kept as part of Router)

Signed-off-by: Cindy Zhang <[email protected]>
Signed-off-by: Cindy Zhang <[email protected]>
@zcin zcin requested a review from edoakes November 8, 2024 18:56
@zcin zcin changed the title refactor [serve] improve router resolve request arg func Nov 8, 2024
Signed-off-by: Cindy Zhang <[email protected]>
@zcin zcin added the go add ONLY when ready to merge, run all tests label Nov 8, 2024
@zcin zcin enabled auto-merge (squash) November 8, 2024 19:28
Signed-off-by: Cindy Zhang <[email protected]>
@zcin zcin merged commit cc0b7aa into ray-project:master Nov 8, 2024
5 checks passed
JP-sDEV pushed a commit to JP-sDEV/ray that referenced this pull request Nov 14, 2024
## Why are these changes needed?

Refactor resolve request arg func.

Separate into:
1. actual type checking + argument resolution (injected into the Router
as a function)
2. the logic for executing that resolution and replacing args/kwargs
(kept as part of Router)

---------

Signed-off-by: Cindy Zhang <[email protected]>
mohitjain2504 pushed a commit to mohitjain2504/ray that referenced this pull request Nov 15, 2024
## Why are these changes needed?

Refactor resolve request arg func.

Separate into:
1. actual type checking + argument resolution (injected into the Router
as a function)
2. the logic for executing that resolution and replacing args/kwargs
(kept as part of Router)

---------

Signed-off-by: Cindy Zhang <[email protected]>
Signed-off-by: mohitjain2504 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants