Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/internetarchive/openlibrary
/ _get_user_root
Function
_get_user_root
openlibrary/plugins/openlibrary/code.py:835–837 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
833
834
835
def
_get_user_root():
836
user_root = infogami.config.get(
"infobase"
, {}).get(
"user_root"
,
"/user"
)
837
return
user_root.removesuffix(
"/"
)
838
839
840
def
_get_bots():
Callers
1
_get_bots
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected