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

Method removeUser

src/astroprint/users.py:275–281  ·  view source on GitHub ↗
(self, username)

Source from the content-addressed store, hash-verified

273 self._save()
274
275 def removeUser(self, username):
276 if not username in self._users.keys():
277 raise UnknownUser(username)
278
279 del self._users[username]
280 self._dirty = True
281 self._save()
282
283 def findUser(self, username=None, apikey=None):
284 if username is not None:

Callers

nothing calls this directly

Calls 2

_saveMethod · 0.95
UnknownUserClass · 0.85

Tested by

no test coverage detected