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

fix: update formparser for new starlette #3569

Merged
merged 5 commits into from
Feb 15, 2023

Conversation

sauyon
Copy link
Contributor

@sauyon sauyon commented Feb 15, 2023

Should fix the formparser for starlette==0.25.

@ssheng I've only done basic testing with a simple test, and there's one minor issue below, this may need polishing or we may want to just quickly replace it.

@sauyon sauyon requested a review from a team as a code owner February 15, 2023 06:51
@sauyon sauyon requested review from ssheng and removed request for a team February 15, 2023 06:51
@codecov
Copy link

codecov bot commented Feb 15, 2023

Codecov Report

Merging #3569 (f1b93b1) into main (ed1a7b9) will increase coverage by 31.29%.
The diff coverage is 22.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##            main    #3569       +/-   ##
==========================================
+ Coverage   0.00%   31.29%   +31.29%     
==========================================
  Files        139      140        +1     
  Lines      11369    11483      +114     
  Branches       0     1897     +1897     
==========================================
+ Hits           0     3594     +3594     
+ Misses     11369     7642     -3727     
- Partials       0      247      +247     
Impacted Files Coverage Δ
src/bentoml/_internal/utils/formparser.py 24.26% <22.92%> (+24.26%) ⬆️
src/bentoml/triton.py 0.00% <0.00%> (ø)
src/bentoml/_internal/runner/utils.py 0.00% <0.00%> (ø)
src/bentoml/_internal/server/server.py 0.00% <0.00%> (ø)
src/bentoml/_internal/monitoring/otlp.py 0.00% <0.00%> (ø)
src/bentoml/_internal/server/grpc_app.py 0.00% <0.00%> (ø)
src/bentoml/_internal/utils/benchmark.py 0.00% <0.00%> (ø)
src/bentoml/_internal/utils/telemetry.py 0.00% <0.00%> (ø)
src/bentoml/_internal/marshal/dispatcher.py 0.00% <0.00%> (ø)
src/bentoml/_internal/monitoring/default.py 0.00% <0.00%> (ø)
... and 70 more

Copy link
Contributor

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

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

there are some typing needs to get updated.

src/bentoml/_internal/utils/formparser.py Outdated Show resolved Hide resolved
src/bentoml/_internal/utils/formparser.py Outdated Show resolved Hide resolved
ssheng
ssheng previously approved these changes Feb 15, 2023
@ssheng
Copy link
Collaborator

ssheng commented Feb 15, 2023

I'm merging this because it is blocking other PRs. @aarnphm, please still give it a review.

src/bentoml/_internal/utils/formparser.py Outdated Show resolved Hide resolved
src/bentoml/_internal/utils/formparser.py Outdated Show resolved Hide resolved
src/bentoml/_internal/utils/formparser.py Outdated Show resolved Hide resolved
src/bentoml/_internal/utils/formparser.py Outdated Show resolved Hide resolved
src/bentoml/_internal/utils/formparser.py Outdated Show resolved Hide resolved
src/bentoml/_internal/utils/formparser.py Outdated Show resolved Hide resolved
sauyon and others added 5 commits February 15, 2023 10:42
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
@aarnphm aarnphm merged commit a61379a into bentoml:main Feb 15, 2023
@aarnphm aarnphm deleted the aiohttp-multipart branch February 15, 2023 19: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.

3 participants