Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alephdata/aleph
/ load_cli_user
Method
load_cli_user
aleph/model/role.py:251–254 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
249
250
@classmethod
251
def
load_cli_user(cls):
252
return
cls.load_or_create(
253
SETTINGS.SYSTEM_USER, cls.USER,
"Aleph"
, is_admin=True
254
)
255
256
@classmethod
257
def
load_id(cls, foreign_id):
Callers
7
ensure_collection
Function · 0.80
load_entities
Function · 0.80
groups
Function · 0.80
publish
Function · 0.80
metadata
Function · 0.80
create_system_roles
Function · 0.80
delete_role
Function · 0.80
Calls
1
load_or_create
Method · 0.80
Tested by
no test coverage detected