MCPcopy Create free account
hub / github.com/GerevAI/gerev / get_user

Method get_user

app/data_source/sources/bookstack/bookstack.py:95–100  ·  view source on GitHub ↗
(self, user_id: int)

Source from the content-addressed store, hash-verified

93 return r.json()
94
95 def get_user(self, user_id: int):
96 try:
97 return self.get(f"/api/users/{user_id}", headers={"Content-Type": "application/json"}).json()
98 # If the user lack the privileges to make this call, return None
99 except HTTPError:
100 return None
101
102
103class BookStackConfig(BaseDataSourceConfig):

Callers 2

_feed_pageMethod · 0.80
_get_mattermost_userMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected