Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AstroPrint/AstroBox
/ __init__
Method
__init__
src/astroprint/users.py:310–311 ·
view source on GitHub ↗
(self, username)
Source
from the content-addressed store, hash-verified
308
309
class
UnknownUser(Exception):
310
def
__init__(self, username):
311
Exception.__init__(self,
"Unknown user: %s"
% username)
312
313
class
UnknownRole(Exception):
314
def
_init_(self, role):
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected