MCPcopy Index your code
hub / github.com/realpython/discover-flask / __init__

Method __init__

project/models.py:36–39  ·  view source on GitHub ↗
(self, name, email, password)

Source from the content-addressed store, hash-verified

34 posts = relationship("BlogPost", backref="author")
35
36 def __init__(self, name, email, password):
37 self.name = name
38 self.email = email
39 self.password = bcrypt.generate_password_hash(password)
40
41 def is_authenticated(self):
42 return True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected