towhee-io / towhee

Towhee is a framework that is dedicated to making neural data processing pipelines simple and fast.
https://towhee.io
Apache License 2.0
3.22k stars 248 forks source link

Serve add ndarray and bytes io #2598

Closed junjiejiangjjj closed 1 year ago

sre-ci-robot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: junjiejiangjjj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/towhee-io/towhee/blob/main/OWNERS)~~ [junjiejiangjjj] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 86.02% and project coverage change: +0.04 :tada:

Comparison is base (8ac4c23) 75.75% compared to head (78affd2) 75.80%.

:exclamation: Current head 78affd2 differs from pull request most recent head 37d324f. Consider uploading reports for the commit 37d324f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2598 +/- ## ========================================== + Coverage 75.75% 75.80% +0.04% ========================================== Files 384 386 +2 Lines 20418 20492 +74 Branches 2731 2743 +12 ========================================== + Hits 15468 15534 +66 - Misses 4064 4070 +6 - Partials 886 888 +2 ``` | [Impacted Files](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io) | Coverage Δ | | |---|---|---| | [towhee/serve/triton/pipeline\_client.py](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io#diff-dG93aGVlL3NlcnZlL3RyaXRvbi9waXBlbGluZV9jbGllbnQucHk=) | `100.00% <ø> (ø)` | | | [towhee/serve/http/server.py](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io#diff-dG93aGVlL3NlcnZlL2h0dHAvc2VydmVyLnB5) | `91.89% <33.33%> (-5.26%)` | :arrow_down: | | [towhee/serve/grpc/server.py](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io#diff-dG93aGVlL3NlcnZlL2dycGMvc2VydmVyLnB5) | `84.61% <69.23%> (-1.83%)` | :arrow_down: | | [towhee/serve/io/ndarray\_io.py](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io#diff-dG93aGVlL3NlcnZlL2lvL25kYXJyYXlfaW8ucHk=) | `80.55% <80.55%> (ø)` | | | [towhee/serve/grpc/client.py](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io#diff-dG93aGVlL3NlcnZlL2dycGMvY2xpZW50LnB5) | `100.00% <100.00%> (+8.10%)` | :arrow_up: | | [towhee/serve/io/\_\_init\_\_.py](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io#diff-dG93aGVlL3NlcnZlL2lvL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [towhee/serve/io/base.py](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io#diff-dG93aGVlL3NlcnZlL2lvL2Jhc2UucHk=) | `81.48% <100.00%> (-1.86%)` | :arrow_down: | | [towhee/serve/io/bytes\_io.py](https://app.codecov.io/gh/towhee-io/towhee/pull/2598?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io#diff-dG93aGVlL3NlcnZlL2lvL2J5dGVzX2lvLnB5) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/towhee-io/towhee/pull/2598/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=towhee-io)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Chiiizzzy commented 1 year ago

/lgtm