Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/learnhouse/learnhouse
/ PublicUser
Class
PublicUser
apps/api/src/db/users.py:69–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
68
69
class
PublicUser(UserRead):
70
pass
71
72
73
class
UserRoleWithOrg(BaseModel):
Callers
15
get_current_user
Function · 0.90
admin_user
Function · 0.90
regular_user
Function · 0.90
mock_public_user
Method · 0.90
mock_public_user
Method · 0.90
test_non_superadmin_raises_403
Method · 0.90
test_superadmin_returns_current_user
Method · 0.90
test_delegates_to_get_current_user
Method · 0.90
_public_user
Function · 0.90
test_allows_public_user
Method · 0.90
test_get_current_user_lazy_delegates
Method · 0.90
test_require_superadmin_requires_superadmin_flag
Method · 0.90
Calls
no outgoing calls
Tested by
15
admin_user
Function · 0.72
regular_user
Function · 0.72
mock_public_user
Method · 0.72
mock_public_user
Method · 0.72
test_non_superadmin_raises_403
Method · 0.72
test_superadmin_returns_current_user
Method · 0.72
test_delegates_to_get_current_user
Method · 0.72
_public_user
Function · 0.72
test_allows_public_user
Method · 0.72
test_get_current_user_lazy_delegates
Method · 0.72
test_require_superadmin_requires_superadmin_flag
Method · 0.72
test_require_superadmin_allows_superadmin
Method · 0.72