Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diffgram/diffgram
/ get_by_user_id
Method
get_by_user_id
shared/database/auth/member.py:38–42 ·
view source on GitHub ↗
( session, user_id)
Source
from the content-addressed store, hash-verified
36
37
@staticmethod
38
def
get_by_user_id(
39
session,
40
user_id):
41
return
session.query(Member).filter(
42
Member.user_id == user_id).first()
Callers
3
user_has_credentials_core
Function · 0.45
credential_limits
Function · 0.45
migrate_existing_time_tracking
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected