MCPcopy Create free account
hub / github.com/Loping151/RoverSign / mark_cookie_invalid

Method mark_cookie_invalid

RoverSign/utils/database/models.py:65–75  ·  view source on GitHub ↗
(
        cls: Type[T_WavesUser], session: AsyncSession, uid: str, cookie: str, mark: str
    )

Source from the content-addressed store, hash-verified

63 @with_lock
64 @with_session
65 async def mark_cookie_invalid(
66 cls: Type[T_WavesUser], session: AsyncSession, uid: str, cookie: str, mark: str
67 ):
68 sql = (
69 update(cls)
70 .where(col(cls.uid) == uid)
71 .where(col(cls.cookie) == cookie)
72 .values(status=mark)
73 )
74 await session.execute(sql)
75 return True
76
77 @classmethod
78 @with_session

Callers 1

_process_user_innerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected