MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / __init__

Method __init__

src/astroprint/users.py:324–335  ·  view source on GitHub ↗
(self, username, passwordHash, active, roles, publicKey=None, privateKey=None, apikey=None, orgId = None, groupId = None, pinHash= None)

Source from the content-addressed store, hash-verified

322
323class User(UserMixin):
324 def __init__(self, username, passwordHash, active, roles, publicKey=None, privateKey=None, apikey=None, orgId = None, groupId = None, pinHash= None):
325 self._username = username
326 self._passwordHash = passwordHash
327 self._active = active
328 self._roles = roles
329 self._apikey = apikey
330 self._pinHash = pinHash
331
332 self.publicKey = publicKey
333 self.privateKey = privateKey
334 self.orgId = orgId
335 self.groupId = groupId
336
337 def asDict(self):
338 return {

Callers 8

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
_init_Method · 0.45
_init_Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected