Skip to content

Possible "Types" for API Return Values #1068

Answered by parano
jiyer2016 asked this question in General
Discussion options

You must be logged in to vote

Hi @jiyer2016 - you are absolutely right on this. The example @yubozhao provided will not work with the current version of BentoML. It should be returning a list as you pointed out.

Btw, with the revamped adapters implementation coming out next release #1056, the possible return value of API function is more clearly defined and gives users more flexibility to customize the HTTP response, while working with micro-batching mechanism in BentoML.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jiyer2016
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants