Skip to content

Commit d176f19

Browse files
authored
Small correction: class User() is NOT a resource
class User() not being a resource is the basis to the code refactoring in Section 6 of the series. Added in a small change so as to ascertain that the code in the repository reflects the content of the video.
1 parent 8e73277 commit d176f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

section5/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from flask_restful import Resource, reqparse
33

44

5-
class User(Resource):
5+
class User():
66
TABLE_NAME = 'users'
77

88
def __init__(self, _id, username, password):

0 commit comments

Comments
 (0)