star-whale / starwhale

an MLOps/LLMOps platform
https://starwhale.ai
Apache License 2.0
208 stars 35 forks source link

enhance(client): support gradio components in api decorator #2991

Closed jialeicui closed 11 months ago

jialeicui commented 11 months ago

Description

Modules

Checklist

codecov[bot] commented 11 months ago

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (62d41f7) 82.45% compared to head (7f24932) 92.04%. Report is 4 commits behind head on main.

Files Patch % Lines
client/starwhale/api/_impl/service/service.py 79.16% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2991 +/- ## ============================================ + Coverage 82.45% 92.04% +9.58% ============================================ Files 563 124 -439 Lines 30336 14952 -15384 Branches 1825 0 -1825 ============================================ - Hits 25013 13762 -11251 + Misses 4520 1190 -3330 + Partials 803 0 -803 ``` | [Flag](https://app.codecov.io/gh/star-whale/starwhale/pull/2991/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | Coverage Δ | | |---|---|---| | [console](https://app.codecov.io/gh/star-whale/starwhale/pull/2991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [controller](https://app.codecov.io/gh/star-whale/starwhale/pull/2991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [standalone](https://app.codecov.io/gh/star-whale/starwhale/pull/2991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `92.04% <82.14%> (+0.09%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/star-whale/starwhale/pull/2991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `92.04% <82.14%> (+0.37%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tianweidut commented 11 months ago

Others LGTM