Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diffgram/diffgram
/ serialize_with_permission_only
Method
serialize_with_permission_only
shared/database/user.py:263–264 ·
view source on GitHub ↗
(self, project_string_id)
Source
from the content-addressed store, hash-verified
261
return
user
262
263
def
serialize_with_permission_only(self, project_string_id):
264
return
self.permissions_projects.get(project_string_id, None)
265
266
def
serialize_username_only(self):
267
return
{
Callers
1
project_view
Function · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected