Skip to content

Commit

Permalink
fix new-style property
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Feb 25, 2021
1 parent 0033d0e commit 2643868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bentoml/adapters/base_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def request_schema(self):
return {"application/json": {"schema": {"type": "object"}}}

@request_schema.setter
def _set_request_schema(self, schema):
def request_schema(self, schema):
self.__dict__['request_schema'] = schema

@property
Expand Down

0 comments on commit 2643868

Please sign in to comment.