bentoml / BentoML

The easiest way to serve AI apps and models - Build Model Inference APIs, Job queues, LLM apps, Multi-model pipelines, and more!
https://bentoml.com
Apache License 2.0
7.17k stars 792 forks source link

fix(decorator): reject wrapper as dunder methods #5030

Closed aarnphm closed 1 month ago

aarnphm commented 1 month ago

Reject wrapper for @api and @task to wrap dunder methods

github-actions[bot] commented 1 month ago

Code Coverage

Package Statements
bentoml 55.47% (9808 / 17681)
Summary 55.47% (9808 / 17681)