forked from orbit-oss/flask
Fix missing assignment in MethodView example (#4815)
This commit is contained in:
parent
c34c84b690
commit
2c78771238
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ provide get (list) and post (create) methods.
|
|||
init_every_request = False
|
||||
|
||||
def __init__(self, model):
|
||||
self.model
|
||||
self.model = model
|
||||
self.validator = generate_validator(model)
|
||||
|
||||
def _get_item(self, id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue