Fix JsonInput usage in e2e test example BentoService code
@@ -11,11 +11,11 @@ class SampleBentoService(BentoService):
@api(input=JsonInput())
def predict(self, data):
logger.info(f"SampleBentoService predict API received data {data}")
- return 'cat'
+ return ['cat']
class UpdatedSampleBentoService(BentoService):
@api(input=JsonInput())
def predict(self, data):
logger.info(f"UpdatedSampleBentoService predict API received data {data}")
- return 'dog'
+ return ['dog']
