MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

eos/saveddata/user.py:28–32  ·  view source on GitHub ↗
(self, username, password=None, admin=False)

Source from the content-addressed store, hash-verified

26
27class User:
28 def __init__(self, username, password=None, admin=False):
29 self.username = username
30 if password is not None:
31 self.encodeAndSetPassword(password)
32 self.admin = admin
33
34 def encodeAndSetPassword(self, pw):
35 h = hashlib.new("sha256")

Callers

nothing calls this directly

Calls 1

encodeAndSetPasswordMethod · 0.95

Tested by

no test coverage detected